Diska
Calls

Get a call

Returns a call with every field of the list plus the transcript (messages), the executed actions (tool_calls), the post-call result (post_call) and the recording state.
GET https://api.diska.ai/v1/calls/{call_id}

Scope: calls:read

The recording audio is not returned: listen to it in History.

Parameters

Path

NameTypeRequiredDescription
call_idstringYesThe call's ID (the webhooks' call_id).

Examples

curl "https://api.diska.ai/v1/calls/<call_id>" \
  -H "Authorization: Bearer $DISKA_API_KEY"

Try it

Send the request from this page, with your key. The key stays on this page: it is not stored and is only sent to api.diska.ai. Use a test key with the fewest scopes you need.

GEThttps://api.diska.ai/v1/calls/{call_id}
Starts with dsk_. It stays in this browser tab only.
path
Enter an API key (dsk_…).

Response 200

FieldTypeDescription
idstringCall ID (the webhooks' call_id).
external_refstring | nullVoice session ID (the webhooks' session_id).
agent_idstring | nullAgent that answered.
agent_namestring | nullName of the agent that answered.
channelstringbrowser_demo (web call), phone, whatsapp or web_chat. Default: browser_demo.
directionstring | nullinbound, outbound, or null for web calls.
statusstringCall state. One of: created, active, completed, failed, cancelled, abandoned. Default: created.
caller_namestring | nullCaller name, when known.
caller_contactstring | nullCaller contact, when known.
started_atstring | nullCall start.
ended_atstring | nullCall end.
duration_secondsinteger | nullDuration in seconds.
end_reasonstring | nullWhy the call ended.
summarystring | nullCall summary, when generated.
is_simulationbooleantrue for web test calls (browser_demo). Default: true.
labelsarrayCall labels.
has_post_callbooleantrue when there is a post-call result. Default: false.
executed_actions_countintegerNumber of executed actions. Default: 0.
organization_idstringThe call's organization.
metadataobjectTechnical metadata. Its content is not stable: do not rely on it.
messagesarrayTranscript, in order.
messages[].idstringTurn ID.
messages[].sequenceintegerOrder of the turn in the conversation. Default: 0.
messages[].rolestringuser (the caller) or assistant (the agent). Default: user.
messages[].contentstringWhat was said.
messages[].created_atstring | nullWhen the turn was recorded.
tool_callsarrayActions executed during the call.
tool_calls[].idstringExecution ID.
tool_calls[].tool_namestringExecuted action.
tool_calls[].statusstringExecution state. Default: pending.
tool_calls[].inputobjectData sent to the action.
tool_calls[].outputobject | array | nullAction result, or null.
tool_calls[].error_messagestring | nullError, when it failed.
tool_calls[].latency_msinteger | nullExecution time in milliseconds.
tool_calls[].called_atstring | nullExecution start.
tool_calls[].completed_atstring | nullExecution end.
post_callobject | nullPost-call result (the call.completed webhook content, without call_id), or null.
has_recordingbooleantrue when a recording is available. Default: false.
recording_statestringRecording state. One of: disabled, recording, uploading, available, failed, expired, deleted. Default: disabled.
{
  "id": "8d0c6a3e-2f14-4b7a-9c55-1e3f0a6d2b81",
  "external_ref": "sess_7f3a9c1e",
  "agent_id": "3f1c2a7e-5b9d-4c1e-8f3a-2d6b7e9c1a40",
  "agent_name": "Recepção",
  "channel": "phone",
  "direction": "inbound",
  "status": "completed",
  "caller_name": "Ana Silva",
  "caller_contact": "+244900000000",
  "started_at": "2026-10-25T18:40:00Z",
  "ended_at": "2026-10-25T18:41:35Z",
  "duration_seconds": 95,
  "end_reason": "caller_hangup",
  "summary": "O cliente pediu o horário de abertura e marcou uma visita para sexta-feira.",
  "is_simulation": false,
  "labels": [
    "urgente"
  ],
  "has_post_call": true,
  "executed_actions_count": 2,
  "organization_id": "5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93",
  "metadata": {},
  "messages": [
    {
      "id": "5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93",
      "sequence": 1,
      "role": "user",
      "content": "Bom dia, queria marcar uma consulta.",
      "created_at": "2026-10-25T18:40:00Z"
    }
  ],
  "tool_calls": [
    {
      "id": "5c2e8a14-7d3b-4f9e-a1c6-0b8d2f4e6a93",
      "tool_name": "transfer_call",
      "status": "completed",
      "input": {},
      "output": {},
      "error_message": null,
      "latency_ms": 820,
      "called_at": "2026-10-25T18:40:00Z",
      "completed_at": "2026-10-25T18:40:01Z"
    }
  ],
  "post_call": {},
  "has_recording": true,
  "recording_state": "available"
}

Errors

CodeWhen
404Chamada não encontrada. (call not found).

Errors common to every endpoint (401, 403, 422, 429 and 5xx) are in Errors.

Copyright © 2026