For the complete documentation index, see llms.txt. Any page on this site can be fetched as Markdown by appending .md to its URL.

Voice agentsCalls

Get a call's transcript

GET
/v1/agent-media/calls/{conversationId}/transcript

The call's turns, oldest first. Returns 404 once the transcript has expired or been erased, even while the call record itself is still readable.

Authorization

bearerAuth
AuthorizationBearer <token>

A Tandem bearer token. Requests are scoped to the organization the token belongs to; no organization header is required.

In: header

Path Parameters

conversationId*string

The call's conversation ID.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agent-media/calls/string/transcript"
{  "transcript": [    {      "role": "user",      "text": "string",      "tool": {        "toolUseId": "string",        "name": "string",        "kind": "string",        "status": "ok",        "durationMs": 0,        "args": null,        "errorText": "string",        "httpStatus": 0,        "detail": {          "request": {            "method": "string",            "path": "string",            "baseUrl": "string",            "headers": {              "property1": "string",              "property2": "string"            },            "body": null,            "truncated": true          },          "response": {            "status": 0,            "statusText": "string",            "headers": {              "property1": "string",              "property2": "string"            },            "body": null,            "truncated": true          },          "agentSaw": null        }      },      "at": "2019-08-24T14:15:22Z"    }  ],  "truncated": true,  "supervised": [    {      "id": "string",      "speaker": "caller",      "text": "string",      "at": "2019-08-24T14:15:22Z"    }  ]}
{  "error": "string",  "message": "string",  "limit": 0,  "length": 0,  "reason": "string"}
{  "error": "string",  "message": "string",  "limit": 0,  "length": 0,  "reason": "string"}
{  "error": "string",  "message": "string",  "limit": 0,  "length": 0,  "reason": "string"}