---
title: "Update Brain Configuration"
method: PATCH
path: "/api/v1/campaigns/{campaign_id}/brain-configuration"
tags: ["campaign"]
---

# Update Brain Configuration

`PATCH /api/v1/campaigns/{campaign_id}/brain-configuration`

## Request

- Base URL: `https://api.outrival.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outrival.com/api/v1/campaigns/{campaign_id}/brain-configuration`
- Auth: HTTP bearer

Save only the customer-editable Brain campaign configuration fields.

## Path parameters

- `campaign_id` string, required

## Request body

- BrainConfigurationUpdateRequest
  - `configuration` BrainConfigurationPatch, required: The customer-editable Brain fields. ``extra="forbid"``. ``brain_live`` was the other field here. It is removed: the flag no longer exists anywhere downstream (pips always sets ``hints.decision_owner`` to ``brain`` on triggers it sends; some interactions stay on pips with no trigger), and the UI that toggled it is gone. Because this model forbids extras, a client that still sends ``brain_live`` now gets a 422 rather than a silent no-op. That is the intended direction -- a save that cannot take effect should say so -- but it is why the UI had to stop sending it first.
    - `insights` BrainInsightsConfigurationPatch
      - `custom_insights` unknown[], nullable
        - unknown
  - `base_updated_at` string, date-time, nullable

## Response `200`

Successful Response

- object

## Other responses

- `404`: Campaign not found
- `409`: Campaign configuration version conflict
- `422`: Invalid Brain configuration

## Changes

- **2026-09-15** `3daa85a5f78f`: 1 warning
  - removed the request property `configuration/brain_live`

[Operation history](https://skmtc.dev/outrival/apis/outrival-api/changes/api/v1/campaigns/:campaign_id/brain-configuration/patch.md)

---

[API](https://skmtc.dev/outrival/apis/outrival-api.md) - [All operations](https://skmtc.dev/outrival/apis/outrival-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outrival/apis/outrival-api/revisions/f27d90300b5e?raw)
