---
title: "Get agent version history (Enterprise)"
method: GET
path: "/api/v1/agents/{id}/versions"
tags: ["Agents"]
---

# Get agent version history (Enterprise)

`GET /api/v1/agents/{id}/versions`

## Request

- Base URL: `https://orchestrator.getaxonflow.com`
- URL: `https://orchestrator.getaxonflow.com/api/v1/agents/{id}/versions`
- Auth: none declared
- TypeScript: <https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/docs/api/v1/agents/:id/versions/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the version history for an agent.
**Enterprise only** - requires database-backed storage.

Includes all changes: create, update, delete, activate, deactivate.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `limit` integer

## Response `200`

Version history

- AgentVersionsResponse
  - `versions` object[]
    - `version` integer
    - `change_type` 'create' | 'update' | 'delete' | 'activate' | 'deactivate'
    - `changed_at` string, date-time
    - `changed_by` string, uuid
    - `change_summary` string

## Other responses

- `404`: Agent not found

---

[API](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api.md) - [All operations](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/revisions/f408ef3ec9dd?raw)
