---
title: "Create Agent Version"
method: PUT
path: "/api/v1/agents/{agent_name}/agent-versions"
---

# Create Agent Version

`PUT /api/v1/agents/{agent_name}/agent-versions`

Create an agent version for a given agent.

See [Creating an Agent Version](https://app.voker.ai/docs/concepts/agents#creating-agent-version) for more information.

## Path parameters

- `agent_name` string, required

## Headers

- `Authorization` string, required

## Request body

- CreateAgentVersionPayload — Create an agent version. See [Creating an Agent Version](https://app.voker.ai/docs/concepts/agents#creating-agent-version) for more information.
  - `agent_version_name` string, required — Unique identifier for the agent version within its agent.
  - `description` string, nullable

## Response `200`

Successful Response

- AgentVersion — Represents an agent version. See [Agent Versions](https://app.voker.ai/docs/concepts/agents#agent-versions) for more information.
  - `agent_version_name` string, required — Unique identifier for the agent version within its agent.
  - `description` string, nullable
  - `agent_version_number` integer, required — Unique number assigned to the agent version within its agent.
  - `created_at` string, date-time, required
  - `deprecated_at` string, date-time, nullable

## Other responses

- `404` — Not Found
- `422` — Validation Error

---

[API](https://skmtc.net/voker/apis/fastapi.md) · [All operations](https://skmtc.net/voker/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voker/fastapi/versions/d237dc301251/schema)
