Mediflo
REST APIBot sessions

Get the conversation transcript

Separate from `/telemetry` on purpose. `available: false` means the session has no stored transcript. Contains what the caller and the bot said — personal data, including sensitive data. Required scope: `bot-calls.read`.

GET/bot-sessions/{dispatchId}/transcript

Authorization

ApiKeyAuth
AuthorizationBearer <token>

An external API key, sent as Authorization: Bearer mflo_…. Scopes are checked per route; see each operation’s description.

In: header

Path Parameters

dispatchId*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/bot-sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08/transcript"
{  "data": {    "dispatchId": "a1a7028f-f483-4bbb-b8e5-fe878bddb1ae",    "available": true,    "message": "string",    "rawFormat": true,    "items": [      null    ],    "segments": [      {        "id": "string",        "speakerId": "assistant",        "text": "string",        "startTime": 0,        "endTime": 0,        "interrupted": true,        "confidence": 0,        "createdAt": 0,        "metrics": {          "property1": null,          "property2": null        },        "toolName": "string",        "toolArguments": "string",        "toolResult": "string",        "toolIsError": true,        "toolErrorKind": "tool_error"      }    ],    "metadata": {      "property1": null,      "property2": null    }  }}