Skip to main content
PUT
Update an agent
Updates an existing agent. This is a full replacement of the Agent object. The name must match the URL identifier: renames are not supported. Returns the updated Agent object.

Path parameters

string
required
The agent’s name (e.g. my-research-bot or myorg/web-helper). Slash-containing names are supported.

Request body

A full replacement of the Agent object. The name in the body must equal the URL identifier. Any field you omit is reset to its default, not preserved: leaving out instructions, model, skills, or answer_format clears them. To change individual fields without resending the rest, use Patch instead.

Examples

Response

Errors