---
title: "Update Agent"
method: PUT
path: "/api/admin/agents/{agent_id}"
tags: ["admin-agents"]
---

# Update Agent

`PUT /api/admin/agents/{agent_id}`

## Request

- Base URL: `https://api.outcallerai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outcallerai.com/api/admin/agents/{agent_id}`
- Auth: none declared

## Path parameters

- `agent_id` string, required

## Request body

- UpdateAgentRequest
  - `use_case_id` string, nullable
  - `name` string, nullable
  - `gender` string, nullable
  - `voice_id` string[], nullable
  - `voice_url` string, nullable
  - `temperature` number, nullable
  - `agent_talks_first` boolean, nullable
  - `interruptable` boolean, nullable
  - `vad_enabled` boolean, nullable
  - `minimum_turn_duration` integer, nullable
  - `turn_endpoint_delay` integer, nullable
  - `minimum_interruption_duration` integer, nullable

## Response `200`

Successful Response

- AgentDetail
  - `id` string, required
  - `name` string, required
  - `workspace_id` string, required
  - `workspace_name` string, required
  - `use_case_id` string, nullable
  - `use_case_name` string, nullable
  - `gender` string, required
  - `voice_id` string[]
  - `voice_url` string, nullable
  - `status` 'ready' | 'paused' | 'incomplete', required
  - `temperature` number
  - `agent_talks_first` boolean
  - `interruptable` boolean
  - `vad_enabled` boolean
  - `minimum_turn_duration` integer
  - `turn_endpoint_delay` integer
  - `minimum_interruption_duration` integer
  - `calls_today` integer, nullable
  - `avg_call_duration` integer, nullable
  - `conversion_rate` number, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-13** `f294c8668fb3`: 3 info
  - added the optional property `avg_call_duration` to the response with the `200` status
  - added the optional property `calls_today` to the response with the `200` status
  - added the optional property `conversion_rate` to the response with the `200` status
- **2026-10-10** `fb3d95779e2d`: 1 info
  - added the required property `status` to the response with the `200` status
- **2026-07-31** `7c9aff2501f3`: 3 warning, 3 info
  - removed the request property `campaign_id`
  - removed the optional property `campaign_id` from the response with the `200` status
  - removed the optional property `campaign_name` from the response with the `200` status
  - added the new optional request property `use_case_id`
  - …2 more

[Operation history](https://skmtc.dev/outcallerai/apis/outcallerai-api/changes/api/admin/agents/:agent_id/put.md)

---

[API](https://skmtc.dev/outcallerai/apis/outcallerai-api.md) - [All operations](https://skmtc.dev/outcallerai/apis/outcallerai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outcallerai/apis/outcallerai-api/revisions/40736cf433b4?raw)
