---
title: "Get Benchmark Diagnostics"
method: GET
path: "/api/v1/diagnostics/{benchmark_diagnostic_id}"
tags: ["diagnostics"]
---

# Get Benchmark Diagnostics

`GET /api/v1/diagnostics/{benchmark_diagnostic_id}`

## Request

- Base URL: `https://api.trajectory.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.trajectory.ai/api/v1/diagnostics/{benchmark_diagnostic_id}`
- Auth: none declared

Get task outcomes and failure reasons after a benchmark diagnostic finishes.

## Path parameters

- `benchmark_diagnostic_id` string, required

## Response `200`

Successful Response

- BenchmarkDiagnosticsResponse
  - `benchmark_diagnostic_id` string, required
  - `bench_id` string, required
  - `eval_run_id` string, required
  - `base_model_slug` string, required: Model used for the diagnostic run.
  - `status` 'completed' | 'failed' | 'cancelled', required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `started_at` string, date-time, nullable, required
  - `completed_at` string, date-time, nullable, required
  - `failure` object, nullable, required: Run-wide failure summary; task errors appear on tasks.
  - `task_counts` BenchmarkDiagnosticTaskCounts, required
    - `completed` integer, required
    - `failed` integer, required
    - `cancelled` integer, required
  - `tasks` BenchmarkDiagnosticTask[], required
    - `task_id` string, required
    - `runtime_id` string, nullable, required
    - `status` 'pending' | 'running' | 'completed' | 'failed' | 'cancelled', required
    - `failure` object, nullable, required: Failure for this task, including rollout details when available.
    - `trajectory_id` string, nullable: Trajectory of the task's rollout; null before one was created.
    - `termination_reason` string, nullable: Recorded reason the trajectory ended; null when not recorded.
    - `reward` number, nullable: Reward recorded for the trajectory; null when none was recorded.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `started_at` string, date-time, nullable, required
    - `completed_at` string, date-time, nullable, required

## Changes

- **2026-10-31** `7b218d495d5c`: 3 info
  - added the optional property `tasks/items/reward` to the response with the `200` status
  - added the optional property `tasks/items/termination_reason` to the response with the `200` status
  - added the optional property `tasks/items/trajectory_id` to the response with the `200` status
- **2026-10-04** `4dcc08e0c2e6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trajectory/apis/trajectory-api/changes/api/v1/diagnostics/:benchmark_diagnostic_id/get.md)

---

[API](https://skmtc.dev/trajectory/apis/trajectory-api.md) - [All operations](https://skmtc.dev/trajectory/apis/trajectory-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trajectory/apis/trajectory-api/revisions/5b5a8ae4b4a4?raw)
