List agent versions

⚠️
Preview — this feature is being built; the design below is the spec.
GET https://app.syntic.ai/v1/agents/{agent_id}/versions

Return 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

HeaderRequiredValue
AuthorizationYesBearer <key>: a private inference key (sk_live_...). See Authentication.
syntic-betaYes, while in previewagents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning.

Path parameters

ParameterTypeDescription
agent_idstringThe agent id, starting with agt_.

Query parameters

ParameterTypeDefaultDescription
limitinteger201 to 100.
after_idstringNext page: the previous page’s last_id.
before_idstringPrevious 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:

StatustypecodeWhen
400invalid_request_errorbeta_requiredThe syntic-beta header is missing.
404not_found_erroragent_not_foundNo agent with that id in this workspace.
401authentication_errorinvalid_api_keyThe key is missing, unknown, revoked or expired.
429rate_limit_errorrate_limitedToo many requests; wait for Retry-After. See Rate-limit headers.
Was this page helpful?