List agent versions
⚠️
Preview — this feature is being built; the design below is the spec.
GET https://app.syntic.ai/v1/agents/{agent_id}/versionsReturn every version of an agent, newest first. Versions are immutable, so this is a complete change history; pair it with the audit log to see who made each change.
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_. |
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 20 | 1 to 100. |
after_id | string | Next page: the previous page’s last_id. | |
before_id | string | Previous page. |
Response
200 OK, Content-Type: application/json
{
"data": [
{
"version": 4,
"created_at": "2026-11-05T16:02:10Z",
"changed_fields": [
"model"
]
},
{
"version": 3,
"created_at": "2026-11-04T11:20:00Z",
"changed_fields": [
"instructions",
"tools"
]
}
],
"has_more": true,
"first_id": "4",
"last_id": "3"
}Each item is a short summary. Fetch the full definition of one version with Get an agent version. For this list, after_id and before_id take version numbers.
Examples
curl -sS https://app.syntic.ai/v1/agents/agt_01JC4R8W6Q2N9X3T5V7Y/versions \
-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. |
| 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?