Get an agent version
⚠️
Preview — this feature is being built; the design below is the spec.
GET https://app.syntic.ai/v1/agents/{agent_id}/versions/{version}Return one version of an agent exactly as it was saved. Use it to compare versions or to inspect what a past session ran with.
For how this fits into a full workflow, see Agent definitions.
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer <key>: a private inference key (sk_live_...). See Authentication. |
syntic-beta | Yes, while in preview | agents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning. |
Path parameters
| Parameter | Type | Description |
|---|---|---|
agent_id | string | The agent id, starting with agt_. |
version | integer | The version number. |
Response
200 OK, Content-Type: application/json
{
"id": "agt_01JC4R8W6Q2N9X3T5V7Y",
"type": "agent",
"name": "refund-desk",
"description": "Handles refund requests from the support inbox.",
"version": 3,
"status": "active",
"model": "Amara S1.2",
"instructions": "You handle refund requests for Acme Store. Look the order up before answering.",
"tools": [
{
"type": "function",
"function": {
"name": "lookup_order",
"description": "Fetch an order by its id.",
"parameters": {
"type": "object",
"properties": {
"order_id": {
"type": "string"
}
},
"required": [
"order_id"
]
}
}
}
],
"tool_policy": {
"default": "allow",
"require_approval": [
"issue_refund"
]
},
"mcp_servers": [],
"skills": [],
"environment_id": null,
"memory_store_ids": [],
"vault_ids": [],
"limits": {
"max_turns": 30,
"max_output_tokens_per_turn": 4096,
"session_token_budget": 400000,
"session_cost_budget_usd": 2.0
},
"metadata": {
"team": "support"
},
"created_at": "2026-11-03T09:14:22Z",
"updated_at": "2026-11-05T16:02:10Z"
}Examples
curl -sS https://app.syntic.ai/v1/agents/agt_01JC4R8W6Q2N9X3T5V7Y/versions/3 \
-H "Authorization: Bearer $SYNTIC_API_KEY" \
-H "syntic-beta: agents-2026-11-01"Errors
Errors use the error envelope and carry a request_id. Codes specific to this operation:
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request_error | beta_required | The syntic-beta header is missing. |
| 404 | not_found_error | agent_not_found | No agent with that id in this workspace. |
| 404 | not_found_error | version_not_found | The agent has no such version. |
| 401 | authentication_error | invalid_api_key | The key is missing, unknown, revoked or expired. |
| 429 | rate_limit_error | rate_limited | Too many requests; wait for Retry-After. See Rate-limit headers. |
Related
Was this page helpful?