---
title: "Abandon Stale Capture Workers"
method: POST
path: "/api/admin/sql-traces/{trace_id}/abandon-stale-workers"
tags: ["admin", "sql-traces"]
---

# Abandon Stale Capture Workers

`POST /api/admin/sql-traces/{trace_id}/abandon-stale-workers`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/admin/sql-traces/{trace_id}/abandon-stale-workers`
- Auth: none declared

Quarantine crash-orphaned workers without calling the trace complete.

Recovery is explicit, delayed, and audited. The workers stay distinct from
successful drain acknowledgements, and the production walk rejects any trace
carrying an abandonment marker.

## Path parameters

- `trace_id` string, uuid, required

## Request body

- AbandonCaptureWorkersBody
  - `reason` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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