---
title: "GET /simulate/agent-definitions/{agent_id}/versions/"
method: GET
path: "/simulate/agent-definitions/{agent_id}/versions/"
tags: ["simulate"]
---

# GET /simulate/agent-definitions/{agent_id}/versions/

`GET /simulate/agent-definitions/{agent_id}/versions/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/simulate/agent-definitions/{agent_id}/versions/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

Get all versions of a specific agent definition.

## Response `200`

OK

- AgentVersionListResponse[]
  - `id` string, uuid
  - `version_number` integer: Version number of the agent
  - `version_name` string, nullable: Human-readable version name (e.g., 'v1.2.3')
  - `version_name_display` string
  - `status` 'draft' | 'active' | 'archived' | 'deprecated': Current status of this version
  - `status_display` string
  - `score` string, decimal, nullable: Performance score (0.0 to 10.0)
  - `test_count` integer: Number of tests run for this version
  - `pass_rate` string, decimal, nullable: Test pass rate percentage
  - `description` string: Description of changes in this version
  - `commit_message` string, nullable: Commit message for the agent version
  - `is_active` string
  - `is_latest` string
  - `created_at` string, date-time

## Other responses

- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
