---
title: "Poll run status"
method: GET
path: "/api/v1/run/{run_id}"
tags: ["assessment"]
---

# Poll run status

`GET /api/v1/run/{run_id}`

## Request

- Base URL: `https://api.enokilabs.ai`
- URL: `https://api.enokilabs.ai/api/v1/run/{run_id}`
- Auth: none declared

Fetch a run's status. Optionally compute a pass/fail verdict by supplying min_severity.

## Path parameters

- `run_id` string, required

## Query parameters

- `min_severity` string, nullable: Severity threshold for verdict: critical, high, medium, low.

## Headers

- `Authorization` string, nullable: Bearer token with API key

## Response `200`

Successful Response

- ApiRunStatusResponse: Response for GET /api/v1/run/{run_id}.
  - `run_id` string, required
  - `model_id` string, required
  - `status` string, required
  - `verdict` 'pass' | 'fail', nullable
  - `started_at` string, required
  - `completed_at` string, nullable
  - `findings_count` integer, required
  - `ingest_incomplete` boolean, required: True when part of this run's results is missing, because it could not be read or a safety test never ran, so `findings_count` may be lower than it should be and a release gated on it should not trust it.
  - `findings_above_threshold` integer, nullable
  - `categories_planned` string[], required: The categories the run was asked to cover. Empty where the workspace's plan withholds a run's breakdown; read `status` to tell a cancelled run from one that finished.
  - `categories_completed` string[], required: The categories the run finished. Empty where the workspace's plan withholds a run's breakdown; read `status` to tell a cancelled run from one that finished.

## Other responses

- `400`: Invalid min_severity value
- `404`: Run not found
- `422`: Validation Error

---

[API](https://skmtc.dev/enokilabs/apis/enoki-external-api.md) · [All operations](https://skmtc.dev/enokilabs/apis/enoki-external-api/llms.txt) · [OpenAPI document](https://skmtc.dev/enokilabs/apis/enoki-external-api/revisions/9b13fb6ab124?raw)
