Skip to main content
GET
/
unit-tests
/
runs
/
{runId}
Get unit-test run
curl --request GET \
  --url https://app.freyavoice.ai/api/v2/unit-tests/runs/{runId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "unitTestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "entityVersionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "unitTestJobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "verdictReason": "<string>",
      "agentResponse": "<string>",
      "agentResponseMessageId": "<string>",
      "latencyMs": 123,
      "judgeLatencyMs": 123,
      "judgeModel": "<string>",
      "messages": [
        {}
      ],
      "metadata": {},
      "isStale": true,
      "startedAt": "<string>",
      "completedAt": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

runId
string<uuid>
required

Response

Unit-test run details

success
enum<boolean>
required
Available options:
true
data
object
required