Update agent metadata
Update agent fields. Behavior depends on whether the agent has versioning enabled:
Versioned agents (have an active published version): only metadata fields are accepted — name, description, avatarUrl, telephonyProductId, allowInboundCall, visibleToEveryone. Submitting any config-level field returns 400 with "Agent has versioning enabled. Config changes must be made through drafts.". Use PATCH /agent/{id}/drafts/{draftId}/config instead.
Non-versioned agents (no active version): all configuration fields are accepted, the same full set as POST /agent.
400 is also returned when a cross-field constraint is violated (for example, north_indic language requires transcriberType: pulse).
403 is returned when selecting a gated model (gpt-5.2, electron-kogta, electron-kogta-v2) without org-level access.
Path parameters
Request body
Response
Agent updated successfully
Example response
{
"status": true,
"data": "60d0fe4f5311236168a109ca"
}