Update an agent
Agents
Update an agent
Replace the configuration of an agent in your catalog.
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
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. Thename in the body must equal the URL identifier. Because this replaces the resource, resend a field’s current value to keep it unchanged.
Examples
Response
Errors
| Status | Cause |
|---|---|
400 | The name in the body does not match the URL identifier (renames are not supported). |
403 | The agent is reserved (h/) and you are not an H employee. |
404 | Agent not found or you don’t have access. |
422 | Body fails validation; common cases: environments empty, invalid name shape. |