Calls
Get Call
One call and everything it learned: status, timings, how it ended, the summary, the collected fields, the transcript, a signed recording link and the call's quality figures (reply times, silences, interruptions, model errors). It is exactly the object call.analysed delivers, so a missed delivery can be read back here; analysedAt null means the summary and fields are not final yet. Any id List Calls hands out works — out_… and sch_… for calls you placed, the call reference for any other.
GET/calls/{id}
Path parameters
- idstringrequired
- The call's
idas Place Call or List Calls gave it:out_…orsch_…for a call you placed, the call reference for any other.
Headers
- Katexs-Workspacestring
- Developers only: the customer workspace this request acts in — its
org_…id fromPOST /customers. Leave it out to act in your own workspace. Refused with404(Workspace not found.) when the id is unknown, is not one of your customers, or is not anorg_…id;410when that customer was deleted (restore it withPOST /customers/{id}/restoreuntil it is erased);403when the key belongs to one customer workspace (it cannot act as another);400when your workspace is not a developer workspace./customers/*andGET /customers/usageare your own workspace's and refuse the header with400: call them without it.
Example request
bash
curl "https://app.katexs.com/api/v1/calls/{id}" \
-H "Authorization: Bearer $KATEXS_API_KEY"Responses
| Status | Description |
|---|---|
200 | The call. |
400 | Katexs-Workspace was sent from a workspace that is not a developer workspace. |
401 | The key is missing, wrong or revoked. The answer is always the same, whichever it is. |
403 | The key's access level (read-only or build) does not allow this request, the plan does not include it, or a customer's key named another workspace in Katexs-Workspace. code says which: key_scope_read, key_scope_build, workspace_header_forbidden, or forbidden. |
404 | No call with that id in this workspace. |
410 | The customer named in Katexs-Workspace was deleted. POST /customers/{id}/restore brings it back until its erase date. |
429 | Over a per-minute limit. Wait for Retry-After seconds. code and limit say which limit: rate_limit_resources (240 requests a minute for the workspace), rate_limit_family (2,400 across a developer's customers), rate_limit_calls, rate_limit_messages, rate_limit_codes, rate_limit_code_recipient, concurrent_calls or number_daily_limit. |
Response fields
- billingobject | nullrequired
- What the call was billed as. Null for a booked call that has not rung. Carrier-only calls. A call that ended before the agent spoke runs no agent (no recogniser, model or voice), so it is charged the phone carrier's fee only, in whole minutes.
billedSecondsis the length rounded up to the minute. For these callsvoicePlanandratePerMinuteMicrostill show the plan and rate the call was set up on, which is not what was charged: reconcile such a call bycostMicro. A call that ends at 0 seconds is not charged at all:billedSecondsstays null. One that lasts a second is one minute. Forwarded calls are not carrier-only. A call forwarded to a phone (forwardedTo) on a number rented here is billed for every second the caller was connected, at the rate it was admitted at: the voice plan of the agent attached to the number, or the Premium plan when no agent is. When your own keys apply (the agent's, or the workspace's when no agent is attached), that is the flat own-key price of the set instead (voicePlanis null), even though the forward uses none of your keys. On a number you brought nothing is charged:ratePerMinuteMicrostill shows the rate the call was admitted at, andbilledSecondsis null. Free trial calls.voicePlan,ratePerMinuteMicroandbilledSecondsare null for a call paid from a free-plan workspace's trial minutes. A call in a workspace on a paid plan, a developer's own test calls included, is billed from its balance and carries them. - idstringrequired
- The id to open it by:
out_…/sch_…for a call you placed, the call reference otherwise. - callRefstring | nullrequired
- The reference of the attempt that actually rang. Null on a call that has not rung.
- referencestring | nullrequired
- Your
referencefrom Place Call. - metadataobject | nullrequired
- Your
metadatafrom Place Call, untouched. - attemptintegerrequired
- 1 for the first try, 2 for the first retry. Range: 1–.
- statusstringrequired
- Where the call is.
scheduledandcancelledonly appear on calls you placed for later. One of:scheduled,ringing,connected,completed,missed,failed,cancelled. - directionstringrequired
- Who rang whom. One of:
inbound,outbound. - phonestring | nullrequired
- The customer's number.
- fromstring | nullrequired
- Your number the call rang from. Null until it rings, unless the request chose one, and always null on a call that came in.
- tostring | nullrequired
- Your number a call that came in was dialled on, in international format (
+14155550134), so a workspace with several numbers can tell which line the caller rang. Null on a call you placed (phoneis who you rang,fromthe number it rang from) and on a call that came in before this was kept. - agentobject | nullrequired
- The agent on the call. Null on a call forwarded to a phone when no agent answered the number (
forwardedTois set). - scheduledForstring (date-time) | nullrequired
- When a booked call will ring. Null once it has.
- startedAtstring (date-time) | nullrequired
- When it started ringing.
- answeredAtstring (date-time) | nullrequired
- When it was picked up.
- endedAtstring (date-time) | nullrequired
- When it ended.
- secondsintegerrequired
- How long it lasted. On a call forwarded to a phone (
forwardedTo) this is how long the caller was connected - answer to hang-up - even when nothing was billed (a number you brought bills nothing for a forward). 0 for a forward nobody picked up (statusmissed). Range: 0–. - hangupstring | nullrequired
- Why it ended. Null while live;
not_placedfor a booked call that never rang. One of:answered,no_answer,busy,rejected,unreachable,cancelled,voicemail,before_agent,failed,not_placed. - variablesobjectrequired
- The
{{name}}values the call used. - summarystring | nullrequired
- Two or three sentences about the call, when summarised.
- fieldsobjectrequired
- The collected details, keyed by field name. Empty when nothing was said.
- analysedAtstring (date-time) | nullrequired
- When the summary and fields were written. Null means they may still arrive.
- handedToobject[]required
- Every agent the call was handed to mid-call, oldest first (set on the agent's Actions page, under Hand calls to another agent). Empty when it stayed with
agent, which is always the agent the call was placed or answered as. A hand-off to another agent is not a hand-over to a person: it sends noconversation.escalated. - forwardedTostring | nullrequired
- The phone this call was forwarded to, when the number forwards every call (
forwardToon the phone number) and no agent answered it. Null on every other call. A forwarded call has no transcript, summary or fields. - contentDeletedbooleanrequired
- True once the call's recording and transcript were deleted — by Delete Call Content, or by the workspace's
callRetentionDays. The summary, fields, transcript and recording are then empty; when it happened, how long it lasted and what it cost stay. - contentDeletedAtstring (date-time) | nullrequired
- When its content was deleted; null while it is kept.
- errorstring | nullrequired
- Why a booked call could not be placed, in words. Null otherwise.
- insightsobject | nullrequired
- What the call came to: how it ended, the customer's objections, why a no was a no, problems on the customer's side, and the next step agreed. Written once the call is read, before
call.analysedis sent. Null when the agent's Call insights is off (Agents → the agent → Voice), for a web call, a call nobody spoke on, or a call whose content was deleted. Only what the customer actually said is noted. - transcriptobject[]required
- This call's spoken turns, oldest first.
- recordingobject | nullrequired
- A signed link to the audio that needs no key — Get Recording By Signed Link. Null when the call was not recorded.
- retryScheduledForstring (date-time) | nullrequired
- When the next try will ring, if this one did not reach them and another is queued.
- costMicrointeger | nullrequired
- What this call cost the workspace, in millionths of
currency(6370000 is 6.37) — the figureGET /usage/callsgives, at a white-label reseller's price for its clients. Null until the call is settled. Settlement runs beforecall.analysedis sent, so the webhook normally carries it, but it is null there too when the call has not settled; read Get Call later for the figure. - currencystring | nullrequired
- The currency
costMicrois in — the workspace's. Null only for a booked call that has not rung. AlwaysUSD. - qualityobject | nullrequired
- How the call went, in numbers, written once when it ends. Null for a call that was not measured — a call from before call quality was recorded, a call that never connected, or one whose voice connection never reported. A figure inside is null when the part of the call that measures it did not report.
- usageobjectrequired
- What the call used: the language-model tokens its replies used, whether the model is ours or your own key's (BYOK), and the characters sent to the voice. Each is null when it was not recorded: a call that never reached the model (a missed call, a forward, a booked call that has not rung). The input count is what the provider reported; where a provider reports none it is estimated from the prompt's length, and
inputTokensEstimatedsays so. The call's summary and field extraction after it ends are not counted.
200 response
{
"id": "out_9f2c1a44-6b0e-4c1d-8a7f-2e5b3c9d1f60",
"callRef": "out_9f2c1a44-6b0e-4c1d-8a7f-2e5b3c9d1f60",
"reference": "LSQ-42",
"metadata": {
"deal_id": "D-19",
"owner": "Ravi"
},
"attempt": 1,
"status": "completed",
"direction": "outbound",
"phone": "919876543210",
"from": "918045678901",
"to": null,
"agent": {
"id": "ag_5c4a5f93-2b1e-4d7a-9f60-8e2d1c3b4a71",
"name": "Skyline Sales"
},
"scheduledFor": null,
"startedAt": "2026-10-06T04:30:02.118Z",
"answeredAt": "2026-10-06T04:30:09.540Z",
"endedAt": "2026-10-06T04:33:11.902Z",
"seconds": 182,
"hangup": "answered",
"variables": {
"lead_name": "Asha",
"project": "Sky Towers"
},
"summary": "Asha is keen on a 2 BHK at Sky Towers with a budget around 80 lakh. She asked to visit the site on Saturday.",
"fields": {
"budget": 8000000,
"interest": "Hot",
"site_visit": true
},
"transcript": [
{
"speaker": "agent",
"text": "Hello Asha, I'm calling from Skyline Homes about your enquiry for Sky Towers.",
"at": "2026-10-06T04:30:10.204Z"
},
{
"speaker": "customer",
"text": "Haan, boliye. I wanted a 2 BHK.",
"at": "2026-10-06T04:30:16.880Z"
}
],
"recording": {
"url": "https://app.katexs.com/api/v1/recordings/3b7e1c90-5a2d-4e8f-9c61-0d4b7a2e8f13?expires=1762403402&sig=8c1f0e7a92b4d3c6e5f1a0b9c8d7e6f5a4b3c2d1",
"expiresAt": "2026-11-05T04:30:02.118Z",
"ready": true
},
"analysedAt": "2026-10-06T04:33:20.311Z",
"retryScheduledFor": null,
"costMicro": 6370000,
"currency": "USD",
"quality": {
"turns": 14,
"responseMs": {
"median": 1180,
"p90": 1920,
"max": 3410
},
"answerMs": {
"median": 1650,
"p90": 2840,
"max": 4120
},
"firstTokenMs": {
"median": 610,
"p90": 940,
"max": 1730
},
"longSilences": 1,
"longSilenceSeconds": 10,
"longestSilenceSeconds": 12.4,
"interruptions": 2,
"knowledgeTurns": 3,
"modelErrors": 0,
"rescues": 1
},
"usage": {
"inputTokens": 5120,
"outputTokens": 410,
"cachedInputTokens": 3584,
"inputTokensEstimated": false,
"ttsCharacters": 1840
},
"billing": {
"billedOn": "plan",
"chargedMicro": null,
"keys": "off",
"voicePlan": "premium",
"ratePerMinuteMicro": 2000000,
"billedSeconds": 210,
"currency": "USD"
},
"forwardedTo": null,
"error": null
}Last updated November 2026 · Found a problem? Email support@katexs.com
