AI agent
Change shared AI settings
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the ai:write ability
Body
application/jsonanswer_key_idstringProvider key every agent answers with until it picks its own, starting with aik_, such as aik_01jx2m8k4t. Find it with GET /ai/keys. Send null to clear it.
Maximum length: 64
answer_modelstringModel every agent answers with until it picks its own, one of the models the answer key lists, at most 120 characters, such as "claude-haiku-5-5". Send null to clear it.
Maximum length: 120
classifier_key_idstringProvider key that sorts each customer message before an agent answers, starting with aik_, such as aik_01jx2m8k4t. Find it with GET /ai/keys. Send null to clear it.
Maximum length: 64
classifier_modelstringModel that sorts each customer message, one of the models the classifier key lists, at most 120 characters, such as "claude-haiku-5-5". Send null to clear it.
Maximum length: 120
fallback_key_idstringProvider key used when an agent's answer key fails, starting with aik_, such as aik_01jx2m8k4t. Find it with GET /ai/keys. Send null to clear it.
Maximum length: 64
fallback_modelstringModel used when an agent's answer model fails, one of the models the fallback key lists, at most 120 characters, such as "claude-haiku-5-5". Send null to clear it.
Maximum length: 120
monthly_cap_usdnumberMost the workspace may spend on dimmi in a month, in US dollars, 0 to 100000, such as 250. 0 or null means no cap. Raising it lifts a pause the old cap caused.
Format: double · Minimum: 0 · Maximum: 100000
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
answer_key_idstring | nullrequiredId of the provider key every agent answers with until it picks its own (starts with aik_). Null when none is set.
answer_modelstring | nullrequiredThe model every agent answers with until it picks its own. Null when none is set.
classifier_key_idstring | nullrequiredId of the provider key that sorts each customer message before an agent answers (starts with aik_). Null when none is set.
classifier_modelstring | nullrequiredThe model that sorts each customer message. Null when none is set.
fallback_key_idstring | nullrequiredId of the provider key used when an agent's answer key fails (starts with aik_). Null when there is none.
fallback_modelstring | nullrequiredThe model used when an agent's answer model fails. Null when there is none.
monthly_spend_cap_microsinteger | nullrequiredMost the workspace may spend on dimmi in a month, in millionths of a US dollar. Null when there is no cap.
Format: int64
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.