---
title: "POST /publish-agent-version/{agent_id}"
method: POST
path: "/publish-agent-version/{agent_id}"
---

# POST /publish-agent-version/{agent_id}

`POST /publish-agent-version/{agent_id}`

Publish an existing draft version in place.

## Path parameters

- `agent_id` string, required

## Request body

- PublishAgentVersionRequest
  - `version` integer, required
  - `version_description` string

## Response `200`

Agent version published successfully.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `422` — Unprocessable Content
- `500` — Internal Server Error

---

[API](https://skmtc.net/retellai/apis/retell-sdk.md) · [All operations](https://skmtc.net/retellai/apis/retell-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/retellai/retell-sdk/revisions/2a182bedbfc5/schema)
