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

# POST /simulate/agent-definitions/{agent_id}/versions/{version_id}/activate/

`POST /simulate/agent-definitions/{agent_id}/versions/{version_id}/activate/`

## Request

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

Activate a specific agent version.

## Request body

- EmptyRequest

## Response `200`

OK

- AgentVersionActivateResponse
  - `message` string
  - `version` AgentVersionResponse
    - `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
    - `release_notes` string, nullable: Detailed release notes for this version
    - `agent_definition` string, uuid: Parent agent definition
    - `organization` string, uuid: Organization this version belongs to
    - `configuration_snapshot` object: Snapshot of agent configuration at this version
    - `is_active` string
    - `is_latest` string
    - `created_at` string, date-time
    - `updated_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)
