---
title: "Retrieve a test result"
method: GET
path: "/test_framework/v2/results/{id}/"
tags: ["test_framework"]
---

# Retrieve a test result

`GET /test_framework/v2/results/{id}/`

`success` indicates whether the run passed its quality evaluation. A run with `success=false` either failed to connect (check `error_message`) or failed an evaluation check (check `evaluation`). `success_rate` is the percentage of runs with `success=true`.

The `runs` field is a dict keyed by run ID string (e.g. `{"86368": {...}, "86367": {...}}`), not an array — unlike the list endpoint. Each run also has a `call_id` STRING field (the provider's call identifier) — that is a data field, NOT an endpoint ID; do not pass it where `run_id` is expected.

## Path parameters

- `id` integer, required

## Response `200`

- ResultDetailV2
  - `id` integer
  - `name` string — Name of the result Example: `"Test Result 1"`
  - `agent` integer
  - `agent_name` string — Name of the agent associated with this result
  - `agent_version` string — The agent version (history record) this result ran against, or null.
  - `status` 'running' | 'completed' | 'failed' | 'pending' | 'in_progress' | 'evaluating' | 'in_queue' | 'timeout' | 'cancelled' | 'scaling_up' — Current status of the result * `running` - Running * `completed` - Completed * `failed` - Failed * `pending` - Pending * `in_progress` - In Progress * `evaluating` - Evaluating * `in_queue` - In Queue * `timeout` - Timeout * `cancelled` - Cancelled * `scaling_up` - Scaling Up
  - `met_expected_outcome_count` string — Number of runs that fully met their expected outcomes with a score of 100
  - `total_expected_outcome_count` string — Total number of runs that had expected outcomes defined
  - `success_rate` number, double — Success rate of the test runs
  - `run_as_text` boolean — Whether this test was run in text mode instead of voice mode Example: `true` or `false`
  - `is_cronjob` string — Whether this result was created by a scheduled cronjob
  - `runs` object — Run objects keyed by run ID string (e.g. {"12345": {...}}). The list endpoint returns `runs` as an array of summaries instead.
  - `overall_evaluation` unknown

## Other responses

- `404`

---

[API](https://skmtc.net/cekura/apis/cekura-api.md) · [All operations](https://skmtc.net/cekura/apis/cekura-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cekura/cekura-api/versions/d08e85615b58/schema)
