Calls
Get call timeline
Permission
calls:readAuthenticationGET
Returns the call's event timeline on one clock — milliseconds since anchor — for debugging latency and failures.
It merges the agent's recorded events with the gateway's:
- speech detection, transcription, endpointing and turn decisions
- model and synthesis spans
- tool calls, degraded modes and errors
- gateway model requests and tool invocations
- per-turn latency, the redacted transcript, and transfer events
Calls handled before the agent recorded timelines return the gateway, tool, turn and transcript evidence only.
Missing, cross-organization and eval-backed calls all return the same call_not_found response.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidThe call timeline.
application/json- response
call_id*stringFormat
uuidversion*integeranchor*stringTime zero of the timeline; every event's t is milliseconds since this instant.
Format
date-timeduration_ms*integerRange
0 <= valuesources*array<string>Producers that contributed events (agent, usage_events, tool_invocations, turn_metrics, transcript, transfers).
truncated*booleanTrue when an event cap was reached and some events were dropped.
recording*|nullevents*array<>turns*array<>transcript*array<>models*array<>curl -X GET 'https://api.kejue.co/v1/calls/497f6eca-6276-4993-bfeb-53cbbbba6f08/timeline'Example Response
{ "call_id": "0d0a16ab-a508-4d58-bf24-5dc3cb248f3e", "version": 1, "anchor": "2019-08-24T14:15:22Z", "duration_ms": 0, "sources": [ "string" ], "truncated": true, "recording": { "recording_id": "9992db36-e21b-4b1d-9899-c31897d2e6b9", "offset_ms": 0, "duration_ms": 0, "channels": 0, "has_peaks": true }, "events": [ { "id": "string", "t": 0, "d": 0, "track": "string", "kind": "string", "turn": 0, "speech_id": "string", "level": "info", "label": "string", "source": "agent", "attrs": {} } ], "turns": [ { "index": 0, "speech_id": "string", "t": 0, "response_ms": 0, "endpoint_ms": 0, "transcription_ms": 0, "model_ttft_ms": 0, "model_duration_ms": 0, "tts_ttfb_ms": 0, "tts_duration_ms": 0, "tool_ms": 0, "outcome": "string", "model_role": "string", "response_measurement": "string" } ], "transcript": [ { "t": 0, "speaker": "string", "text": "string", "speech_id": "string", "kind": "string", "is_error": true, "leg": "string" } ], "models": [ { "kind": "string", "provider": "string", "requests": 0, "errors": 0, "avg_ttft_ms": 0 } ]}