Skip to content
dimmiDocs

AI agent

Edit an AI conversation attribute

PATCH/api/v1/ai/conversation-attributes/{attribute}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the ai:write ability

Path parameters

attributestringrequired

Id of the custom attribute, starting with atd_, such as atd_01jx2m8k4t. Find it with GET /attribute-definitions.

Body

application/json
descriptionstring

What to look for, for the AI, up to 500 characters.

Maximum length: 500

labelstring

What the team calls it, up to 80 characters, such as Order number.

Maximum length: 80

optionsstring[]

With choice, the values it may take, at most 30, such as ["billing", "bug"].

Maximum items: 30

statusstring

active to keep reading it, archived to stop.

Available options:activearchived

Response 200

OK
dataobjectrequired
Show child attributes
created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

data_typestringrequired

What the value is: text, number, date, boolean or choice.

descriptionstringrequired

What the AI looks for. Empty when not set.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

keystringrequired

The attribute's key, as conditions and variables name it: conversation.ai.<key>.

labelstringrequired

What the team calls the attribute.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

optionsstring[] | nullrequired

With choice, the values it may take. Empty otherwise.

statusstringrequired

active while the AI reads it, archived once it stopped.

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.