# Pause run

```http
POST /runs/{run_id}/pause
```

Pause a run. Requires project.runs.write.

## Parameters

| Name              | In     | Required | Description                                                                                                                                                                                                                                                                                                                                         |
| ----------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `run_id`          | path   | Yes      | Run to pause. Conversation-owned runs also require editor access on the conversation. Requests a safe-boundary pause. A fresh pause request for a running agent without project-bound dispatch stop authority returns 409 RUN\_NOT\_PAUSABLE. An authorized retry of the identical request with the same idempotency key returns its stored result. |
| `Idempotency-Key` | header | Yes      |                                                                                                                                                                                                                                                                                                                                                     |

## Responses

| Status | Description                                                               |
| ------ | ------------------------------------------------------------------------- |
| 202    | Requests a safe-boundary pause; the run pauses at its next safe boundary. |
| 400    | Bad request                                                               |
| 401    | Unauthorized                                                              |
| 403    | Forbidden                                                                 |
| 404    | Not found                                                                 |
| 409    | Conflict                                                                  |
| 413    | Payload too large                                                         |
| 429    | Rate limit exceeded                                                       |
