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 agentsAgent tests

Get a case transcript

GET
/v1/agent-media/agents/{agentId}/test-runs/{runId}/results/{testId}/{attempt}/transcript

The conversation one case produced, oldest first, including tool calls. An invalid case has no transcript.

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

agentId*string

The agent's unique ID.

runId*string

The test run's unique ID.

testId*string

The test's unique ID.

attempt*integer

The attempt number, from 1.

Range1 <= value <= 5

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agent-media/agents/string/test-runs/string/results/string/1/transcript"
{  "turns": [    {      "role": "user",      "text": "string",      "tool": {        "toolUseId": "string",        "name": "string",        "status": "ok",        "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        }      },      "stubbed": true    }  ],  "lineTurns": [    0  ]}
{  "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"}