Skip to content
dimmiDocs

AI agent

Publish an AI action

POST/api/v1/ai/actions/{action}/publications

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the ai:actions ability

Path parameters

actionstringrequired

Id of the AI agent action, starting with aac_, such as aac_01jx2m8k4t. Find it with GET /ai/actions.

Body

application/json
acknowledge_warningsstring[] | null

A list of text values that is accepted but not used: publishing an action reads only its note. Leave it out.

notestring

What changed, for the version history, up to 500 characters.

Maximum length: 500

Response 201

Created
dataobjectrequired
Show child attributes
action_idstringrequired

Id of the action this version belongs to, such as aac_...

created_atstringrequired

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

Format: date-time

idstringrequired

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

notestring | nullrequired

What the publisher wrote about this version. Null when they left no note.

numberintegerrequired

The version's number within its action, starting at 1.

Format: int32

objectstringrequired

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

published_byobjectrequired
Show child attributes
idstringrequired

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

namestringrequired

Display name of the teammate who approved or declined the action call.

specanyrequired

The action's full definition as it was frozen when published: name, request, input schema, response fields and who must agree.

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.