Skip to main content
PATCH
Update brain generation settings

Authorizations

Authorization
string
header
required

API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.

Headers

X-As-User
string | null

Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token

Body

application/json

Customer-editable generation settings. Only supplied fields are updated.

structure
BrainConfigStructure · object | null

Per-tier document definitions for custom generation.

company_prompts
Company Prompts · object | null
workstream_prompts
Workstream Prompts · object | null
personal_prompt
string | null
detection_prompt
string | null
source_weights
Source Weights · object | null
domain
string | null

Response

Successful Response

Brain-generation settings that customers can view and edit.

structure
Structure · object
required
prompts
Prompts · object
required
source_weights
Source Weights · object
required
domain
string | null
detected_domain
string | null