## cohort-queries/delete

`GET /v1/cohort-queries/delete`

Delete one of your cohort sweeps and its results. A sweep still queued is cancelled and refunded; one already running is cancelled and its charge stands.

*Delete a cohort query*

| Parameter | Required | Description |
| --- | --- | --- |
| `query_id` | yes | Cohort query id (the {queryId} path segment) — e.g. `cq_0f2c8b1d4e6a7c9b0d1e2f3a` |
| `dry_run` | no | Read a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. Accepted values: 1, 0, true, false. Case, spaces, hyphens and underscores are interchangeable. — e.g. `1` |

### Useful optional inputs

- `dry_run`: Read a free estimate before fetching sources or scheduling paid work. Zero credits; cache status and availability are snapshots rather than guarantees.

**Cost:** free — 0 credits.

```bash
curl "https://www.monocrawl.com/v1/cohort-queries/delete?query_id=cq_0f2c8b1d4e6a7c9b0d1e2f3a" \
  -H "x-api-key: mn_your_key_here"
```

### Response data

Illustrative abbreviated data; documented core fields are optional and may be null. Additional source fields are allowed.

```json
{
  "id": null,
  "deleted": false,
  "cancelled": {
    "credits_refunded": 0,
    "refund_status": null
  }
}
```

[Field reference](https://www.monocrawl.com/docs/endpoints/cohort-queries/delete#response) · [JSON Schema for response.data](https://www.monocrawl.com/schemas/cohort-queries/delete.json)
