Voice agentsAgent tests
Get a test run
The run with every case result recorded so far. A case appears in results once it finishes; run.counts.done counts them.
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.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/agent-media/agents/string/test-runs/string"{ "run": { "runId": "string", "agentId": "string", "version": "string", "configHash": "string", "testIds": [ "string" ], "repeats": { "property1": 0, "property2": 0 }, "status": "queued", "counts": { "total": 0, "done": 0, "pass": 0, "fail": 0, "error": 0, "invalid": 0 }, "usage": { "inputTokens": 0, "outputTokens": 0 }, "simulatorModelId": "string", "judgeModelId": "string", "agentTemperature": 0, "triggeredBy": { "kind": "user", "userId": "string" }, "createdAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z", "ttl": 0 }, "results": [ { "runId": "string", "testId": "string", "attempt": 1, "outcome": "pass", "endReason": "script_done", "checks": [ { "index": 0, "pass": true, "detail": "string" } ], "criteria": [ { "index": 0, "pass": true, "reason": "string", "turnIndex": 0 } ], "transcriptKey": "string", "error": "string", "usage": { "inputTokens": 0, "outputTokens": 0 }, "createdAt": "2019-08-24T14:15:22Z", "ttl": 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"}