---
title: "Archive Run Route"
method: POST
path: "/api/domains/{domain_id}/winrate/runs/{run_id}/archive"
tags: ["winrate"]
---

# Archive Run Route

`POST /api/domains/{domain_id}/winrate/runs/{run_id}/archive`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/winrate/runs/{run_id}/archive`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Soft-archive (plan review N3): hides the run from product lists (they
filter archived unless ?include_archived=true). No hard-delete endpoint —
that stays a staff/MCP janitorial op. Reversible with {"archived": false}.

## Path parameters

- `run_id` string, required
- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Request body

- ArchiveRequest
  - `archived` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
