Agents
Update agent metadata
Permission
agents:updateAuthenticationPATCH
Renames the agent. Same-value patches are successful semantic no-ops and retain the current revision and ETag.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidIf-Match?stringOptional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.
application/json- body
name*stringLength
1 <= length <= 200Success
application/json- response
id*stringFormat
uuidname*stringupdated*booleanFalse when the trimmed name already matched.
revision*integerFormat
int64Range
1 <= valueupdated_at*stringFormat
date-timecurl -X PATCH 'https://api.kejue.co/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{ "name": "Billing and Payments Assistant"}'Example Response
{ "id": "11111111-1111-4111-8111-111111111111", "name": "Billing and Payments Assistant", "updated": true, "revision": 2, "updated_at": "2026-07-20T09:05:00Z"}