Agent Versions

Get Agent Version By Id

get/v1/agents/{agent_id}/versions/{prompt_id}

Path parameters

agent_idinteger required
prompt_idstring uuid required

Headers

X-Organization-Idstring
X-API-Keystring required

API key required to authenticate requests.

Response

Successful Response

idstring uuid nullable

the id of the prompt

prompt_textstring required

the prompt content

commit_messagestring nullable
labelsstring[] nullable

labels associated with the prompt

metadataobject nullable

arbitrary JSON metadata

versioninteger required

the version number of the prompt

agent_idinteger required

id of the agent that owns this prompt

Changes

Changed in 1 of the 38 revisions of this API.1