Skip to main content
GET
/
eval_runs
/
{id}
/
results
List Eval Run Results
curl --request GET \
  --url https://api.vogent.ai/api/eval_runs/{id}/results \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "evalRunId": "<string>",
      "record": {
        "id": "<string>",
        "recordType": "DIAL",
        "dialId": "<string>",
        "prompt": {
          "id": "<string>",
          "systemPrompt": "<string>",
          "maxTurns": 123,
          "createdAt": "2023-11-07T05:31:56Z",
          "name": "<string>",
          "description": "<string>",
          "agentInputs": "<string>"
        }
      },
      "numAlerts": 123,
      "results": [
        {
          "index": 123,
          "accurate": true,
          "modelOutput": "<string>",
          "reason": "<string>"
        }
      ],
      "transcript": [
        {
          "text": "<string>",
          "speaker": "<string>",
          "detailType": "<string>",
          "functionCallId": "<string>",
          "startTimeMs": 123,
          "endTimeMs": 123,
          "functionCalls": [
            {
              "name": "<string>",
              "args": "<string>",
              "functionCallId": "<string>"
            }
          ],
          "nodeTransition": {
            "toNodeId": "<string>",
            "transitionData": {}
          }
        }
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "simulationMetadata": {
        "totalTurns": 123,
        "endReason": "<string>",
        "simulationDurationMs": 123,
        "numInputTokens": 123,
        "numCachedInputTokens": 123,
        "numOutputTokens": 123
      }
    }
  ],
  "cursor": "<string>"
}

Authorizations

Authorization
string
header
required

In the form Bearer <api_key_here>. You can find your api key in your dashboard.

Path Parameters

id
string
required

ID of the eval run.

Query Parameters

limit
integer
default:100

The maximum number of results to fetch.

cursor
string

The pagination cursor returned by the previous request.

Response

Successful operation

data
object[]
required
cursor
string | null
required

A cursor you can pass to fetch the next page. If no next page exists, the cursor will be null.