AI agent
Get a procedure version
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the ai:read ability
Path parameters
procedurestringrequiredId of the AI agent procedure, starting with prc_, such as prc_01jx2m8k4t. Find it with GET /procedures.
versionintegerrequiredId 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
OKdataobjectrequiredShow child attributesHide child attributes
change_notestring | nullrequiredThe publisher's note on what changed in this version. Null when none was given.
conversationsintegerrequiredHow many conversations this version ran in over the last 90 days.
Format: int32
definitionanyrequiredThe procedure's definition exactly as published in this version, as a JSON object.
handed_offintegerrequiredHow many of those conversations were handed to the team over the last 90 days.
Format: int32
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
namestringrequiredThe procedure's name as it was when this version was published.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
procedure_idstringrequiredId of the procedure this is a version of (starts with prc_).
published_atstringrequiredWhen this version was published.
Format: date-time
published_by_member_idstring | nullrequiredId of the teammate who published it (starts with mem_). Null when they are gone.
versionintegerrequiredThe version's number within its procedure, counting up with each publish.
Format: int32
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.