---
title: "Get Eval Result"
method: GET
path: "/eval_results/{id}"
---

# Get Eval Result

`GET /eval_results/{id}`

## Request

- Base URL: `https://api.vogent.ai/api`
- URL: `https://api.vogent.ai/api/eval_results/{id}`
- Auth: HTTP bearer

Gets an AI evaluation result.

## Path parameters

- `id` string, required

## Response `200`

Successful operation

- AIEvalResult
  - `id` string, required
  - `evalRunId` string, required
  - `record` AIEvalRecord, required
    - `id` string, required
    - `recordType` 'DIAL' | 'PROMPT', required: The type of evaluation record.
    - `dialId` string, nullable
    - `prompt` AIEvalPrompt
      - `id` string, required
      - `name` string, nullable
      - `description` string, nullable
      - `systemPrompt` string, required
      - `maxTurns` integer, required
      - `agentInputs` string, nullable
      - `createdAt` string, date-time, required
  - `numAlerts` integer, required
  - `results` AIEvalResultLine[], required
    - `index` integer, required
    - `accurate` boolean, required
    - `reason` string, nullable
    - `modelOutput` string, required
  - `transcript` CallTranscriptEntry[], required
    - `text` string, required
    - `speaker` string, required: Either `HUMAN` or `AI`, indicating the speaker type. If this is a function call result the speaker will be `AI`, while the `detailType` will be `function`.
    - `detailType` string, nullable: Will be `function` if this is a function result, otherwise `null`.
    - `functionCallId` string: The function call ID if this is a tool call result.
    - `startTimeMs` integer
    - `endTimeMs` integer
    - `functionCalls` CallTranscriptFunctionCall[]
      - `functionCallId` string
      - `name` string, required
      - `args` string, required: The arguments to the function call, JSON encoded if it is an object.
    - `nodeTransition` CallTranscriptNodeTransition
      - `toNodeId` string, required
      - `transitionData` object, nullable, required
  - `simulationMetadata` AIEvalSimulationMetadata
    - `totalTurns` integer, required
    - `endReason` string, required
    - `simulationDurationMs` integer, required
    - `numInputTokens` integer, required
    - `numCachedInputTokens` integer, required
    - `numOutputTokens` integer, required
  - `createdAt` string, date-time, required

## Other responses

- `400`: Invalid input
- `422`: Validation exception

---

[API](https://skmtc.dev/vogent/apis/vogent-openapi-3-0.md) - [All operations](https://skmtc.dev/vogent/apis/vogent-openapi-3-0/llms.txt) - [OpenAPI document](https://skmtc.dev/vogent/apis/vogent-openapi-3-0/revisions/a5966cc364ef?raw)
