Skip to Content
Agents

Get an agent's after-call configuration

Permissionagents:readAuthentication
GET
/agents/{id}/after-call

Resolves the draft first, then staging, then production. Use the version route when an exact version is required. The response ETag versions only this after-call configuration and is not interchangeable with the parent agent aggregate ETag.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string
Formatuuid

Response Body

Effective after-call configuration.

application/json
  1. 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*string
Formatuuid
summary_enabled*boolean
summary_prompt*|

Custom summary prompt, or null to use the system default.

extraction_object_ids*array<>
webhook_config_ids*array<>
version*integer

Strong resource version. Zero is reserved for a virtual default; persisted configurations start at one.

Formatint64
Range0 <= value
created_at*|null
updated_at*|null
Example Request
curl -X GET 'https://api.kejue.co/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/after-call'
Example Response
{  "id": "66666666-6666-4666-8666-666666666666",  "agent_version_id": "22222222-2222-4222-8222-222222222222",  "summary_enabled": true,  "summary_prompt": null,  "extraction_object_ids": [],  "webhook_config_ids": [],  "version": 1,  "created_at": "2026-07-20T09:10:00Z",  "updated_at": "2026-07-20T09:10:00Z"}