---
title: "Update agent"
method: PUT
path: "/api/v1/public/agents/{agent_id}"
tags: ["public"]
---

# Update agent

`PUT /api/v1/public/agents/{agent_id}`

Update the supported configuration fields for a voice agent.

## Path parameters

- `agent_id` string, required

## Headers

- `Idempotency-Key` string, nullable

## Request body

- AgentUpdateRequest
  - `name` string, nullable
  - `gender` string, nullable

## Response `200`

Successful Response

- OutcallerApiApiPublicSchemasAgentResponse
  - `id` string, required
  - `name` string, required
  - `gender` string, required
  - `temperature` number, required
  - `agentTalksFirst` boolean, required
  - `interruptable` boolean, required
  - `vadEnabled` boolean, required
  - `minimumTurnDuration` integer, required
  - `turnEndpointDelay` integer, required
  - `minimumInterruptionDuration` integer, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-04** `f7903dc1bdbb` — 1 info
  - added the new optional `header` request parameter `Idempotency-Key`
- **2026-07-26** `e7248cb2f50b` — 1 breaking, 2 warning, 12 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - removed the request property `voiceId`
  - removed the request property `voiceUrl`
  - added the required property `agentTalksFirst` to the response with the `200` status
  - …11 more

[Change history](https://skmtc.dev/outcallerai/apis/fastapi/changes/api/v1/public/agents/:agent_id/put.md)

---

[API](https://skmtc.dev/outcallerai/apis/fastapi.md) · [All operations](https://skmtc.dev/outcallerai/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/outcallerai/fastapi/revisions/6155db644bab/schema)
