---
title: "Archive an eval run"
method: DELETE
path: "/api/v1/ai/eval/runs/{runId}"
tags: ["AI Eval"]
---

# Archive an eval run

`DELETE /api/v1/ai/eval/runs/{runId}`

Archive (soft-delete) an eval run. Any non-terminal per-prompt agentic jobs are cancelled as part of the archive (best-effort), and a still-RUNNING run is flipped to CANCELLED before archival. The call is idempotent; archiving an already-terminal or already-archived run is a no-op.

## Path parameters

- `runId` string, uuid, required — The unique identifier of the eval run.

## Response `200`

Run archived successfully.

- EvalRunsDeleteResponse
  - `is_archived` true, required — Always `true` on success — the run has been archived.

## Other responses

- `401` — Missing or invalid API key.
- `403` — Insufficient permissions.
- `404` — Run not found.
- `500` — A still-running run may already be flipped to CANCELLED and archived even though the rest of the cascade failed — safe to retry.

---

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