Skip to main content
GET
/
api
/
v1
/
calls
/
{call_id}
/
transcripts
/
export
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.burki.dev/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint allows you to export the full transcript of a specific call to a file. You can choose from several formats. The response from this endpoint will be a file download.

Path Parameters

  • call_id (integer, required): The unique identifier for the call whose transcript you want to export.

Query Parameters

  • format (string, optional, default: txt): The desired file format.
    • Allowed values: txt, json, csv.
  • speaker (string, optional): Filter transcripts to include only a specific speaker (user or assistant).

Response Formats

If format=txt: You will receive a plain text file (.txt) with the conversation formatted for readability.
Text Content
[10:00:05] assistant: Hello, how can I help you today?
[10:00:10] user: Yes, I'd like to check the status of my order.
If format=json: You will receive a JSON file (.json) containing call metadata and a transcripts array.
JSON Content
{
  "call_id": 101,
  "call_sid": "CAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "started_at": "2023-10-30T10:00:00Z",
  "transcripts": [
    {
      "speaker": "assistant",
      "content": "Hello, how can I help you today?",
      "timestamp": "2023-10-30T10:00:05Z",
      "confidence": 0.95,
      "segment_start": 0.0,
      "segment_end": 2.5
    },
    {
      "speaker": "user",
      "content": "Yes, I'd like to check the status of my order.",
      "timestamp": "2023-10-30T10:00:10Z",
      "confidence": 0.93,
      "segment_start": 4.1,
      "segment_end": 7.2
    }
  ]
}
If format=csv: You will receive a CSV file (.csv) with the transcript data.
CSV Content
"Timestamp","Speaker","Content","Confidence"
"2023-10-30T10:00:05Z","assistant","Hello, how can I help you today?","0.95"
"2023-10-30T10:00:10Z","user","Yes, I'd like to check the status of my order.","0.93"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

call_id
integer
required

Query Parameters

format
string
default:txt

Export format

Pattern: ^(txt|json|csv)$
speaker
string | null

Filter by speaker

Response

Successful Response