---
title: "End Run Pair"
method: DELETE
path: "/api/v1/runs/{id}/pair/{pair_id}"
tags: ["Human-in-the-Loop"]
---

# End Run Pair

`DELETE /api/v1/runs/{id}/pair/{pair_id}`

## Path parameters

- `id` string, required
- `pair_id` string, required — Durable run pair identifier.

## Response `200`

Pair ended

- PairRecord
  - `pair_id` string, required — Durable run pair identifier.
  - `run_id` string, required
  - `status` 'active' | 'ended' | 'failed', required
  - `started_at` string, date-time, required
  - `ended_at` string, date-time, nullable
  - `failure_reason` string, nullable
  - `target` PairTarget, required
    - `stage_id` string, required
    - `node_label` string, required

## Other responses

- `404` — Run or pair not found
- `409` — Pair is not current or active
- `503` — Worker control channel unavailable

---

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