Skip to main content
GET
/
eval_results
/
{id}
Get Eval Result
curl --request GET \
  --url https://api.vogent.ai/api/eval_results/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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
  }
}

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 result.

Response

Successful operation

id
string
required
evalRunId
string
required
record
object
required
numAlerts
integer
required
results
object[]
required
transcript
object[]
required
createdAt
string<date-time>
required
simulationMetadata
object