Get an agent version
agents:readAuthenticationReturns an exact draft or immutable snapshot together with the parent agent aggregate revision. The ETag versions the complete agent aggregate, not only this version row; use it on a subsequent agent mutation. It is not interchangeable with an after-call configuration ETag.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
vid*stringuuidSuccess
application/json- response
agent_id*stringuuidrevision*integerParent aggregate revision corresponding to the response ETag.
int641 <= valueversion*|Full draft or immutable snapshot. Drafts have is_draft=true and omit version; immutable snapshots have is_draft=false and require their positive version number. prompt and workflow are mutually exclusive. Modern runnable rows have exactly one of them; neither is allowed only so a versionless or migrated legacy empty row remains readable and can be repaired through draft authoring.
curl -X GET 'https://api.kejue.co/v1/agent-versions/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "agent_id": "11111111-1111-4111-8111-111111111111", "revision": 5, "version": { "id": "33333333-3333-4333-8333-333333333333", "version": 1, "is_draft": false, "name": "Initial production candidate", "prompt": "Help {{lead_name}} resolve their billing question. Call {{system.call_id}} is handled in {{system.timezone.asia-dubai}}.", "pipeline_topology": "two_stage_speechlm", "pipeline_mode": "speech_model", "endpointing_mode": "auto", "created_by": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaaa", "created_at": "2026-07-20T09:15:00Z" }}