Update an agent's after-call configuration
agents:updateAuthenticationAlways targets the mutable draft. It never silently changes a staging, production, or historical version. Supply the after-call configuration ETag, not the parent agent aggregate ETag. A changed configuration also advances the parent aggregate revision; Sonus-Agent-ETag returns the tag to use for promotion or any other agent mutation. A semantic no-op preserves both tags.
bearerAuthAuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringuuidIf-Match?stringOptional strong ETag (or *) from a prior response. A stale tag returns 412 without changing the resource.
application/json- body
1 <= propertiessummary_enabled?booleansummary_prompt?|Whitespace is trimmed. Send null or an empty string to restore the system-default summary prompt.
extraction_object_ids?array<>Complete set of active extraction objects to attach. Send [] to clear all.
items <= 100webhook_config_ids?array<>Complete set of non-archived webhook configurations to attach. Send [] to clear all.
items <= 100Updated configuration. A semantic no-op returns the unchanged representation.
application/json- response
Complete after-call behavior for one agent version. Nullable fields are always present. A virtual default has id, summary_prompt, created_at, and updated_at set to null and version 0.
id*|Persisted configuration ID, or null when the response is a virtual default.
agent_version_id*stringuuidsummary_enabled*booleansummary_prompt*|Custom summary prompt, or null to use the system default.
extraction_object_ids*array<>webhook_config_ids*array<>version*integerStrong resource version. Zero is reserved for a virtual default; persisted configurations start at one.
int640 <= valuecreated_at*|nullupdated_at*|nullcurl -X PATCH 'https://api.kejue.co/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/after-call' \ -H 'Content-Type: application/json' \ -d '{ "summary_enabled": true, "extraction_object_ids": [ "44444444-4444-4444-8444-444444444444" ], "webhook_config_ids": [ "55555555-5555-4555-8555-555555555555" ]}'{ "id": "66666666-6666-4666-8666-666666666666", "agent_version_id": "22222222-2222-4222-8222-222222222222", "summary_enabled": true, "summary_prompt": null, "extraction_object_ids": [ "44444444-4444-4444-8444-444444444444" ], "webhook_config_ids": [ "55555555-5555-4555-8555-555555555555" ], "version": 2, "created_at": "2026-07-20T09:10:00Z", "updated_at": "2026-07-20T09:12:00Z"}