Skip to Content
CallMitraDocs
API referenceCalls

Get a call transcript

The conversation as text and as ordered turns, plus the tools the agent called. Empty while nothing has been said; final once the call has ended.

GET
/api/v1/calls/{call_id}/transcript

The conversation as text and as ordered turns, plus the tools the agent called. Empty while nothing has been said; final once the call has ended.

Authorization

headerX-API-Key<token>

Create in the console: Settings → API & webhooks.

Path Parameters

call_id*Call Id

Response Body

OK

application/json
  1. response

The call's conversation as text and as turns.

callId*Callid

Call ID.

status?|

Call status; the transcript is final once the call has ended.

success?Success

Always true on a 2xx response.

Defaulttrue
toolInvocations*array<unknown>

Tools the agent called during the call.

transcript*Transcript

User: / Assistant: lines, empty when nothing was said.

turns*array<>

The same conversation split into turns, in order.

[key: string]?any
Example Request
curl -X GET 'https://api.callmitra.ai/api/v1/calls/string/transcript'
Example Response
{  "callId": "8c1e5b7a-2d4f-4e9a-b6c3-1f0a9d8e7b65",  "status": "completed",  "success": true,  "toolInvocations": [],  "transcript": "Assistant: Hi, this is Asha from Acme.\nUser: Hi, yes.",  "turns": [    {      "role": "assistant",      "text": "Hi, this is Asha from Acme."    },    {      "role": "user",      "text": "Hi, yes."    }  ]}