Skip to content
dimmiDocs

AI agent

Get a procedure version

GET/api/v1/procedures/{procedure}/versions/{version}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the ai:read ability

Path parameters

procedurestringrequired

Id of the AI agent procedure, starting with prc_, such as prc_01jx2m8k4t. Find it with GET /procedures.

versionintegerrequired

Id of the saved version, starting with prcv or srsv_, such as prcv_01jx2m8k4t. Find it with the matching versions list.

Format: int32 · Minimum: 1

Response 200

OK
dataobjectrequired
Show child attributes
change_notestring | nullrequired

The publisher's note on what changed in this version. Null when none was given.

conversationsintegerrequired

How many conversations this version ran in over the last 90 days.

Format: int32

definitionanyrequired

The procedure's definition exactly as published in this version, as a JSON object.

handed_offintegerrequired

How many of those conversations were handed to the team over the last 90 days.

Format: int32

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

The procedure's name as it was when this version was published.

objectstringrequired

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

procedure_idstringrequired

Id of the procedure this is a version of (starts with prc_).

published_atstringrequired

When this version was published.

Format: date-time

published_by_member_idstring | nullrequired

Id of the teammate who published it (starts with mem_). Null when they are gone.

versionintegerrequired

The version's number within its procedure, counting up with each publish.

Format: int32

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.