# Succeed run

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

Succeed a run.

## Parameters

| Name                             | In     | Required | Description                                                                                                                                                                                                                                                    |
| -------------------------------- | ------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `X-Veryfront-Run-Terminal-Token` | header |          | Required for execution credentials.                                                                                                                                                                                                                            |
| `run_id`                         | path   | Yes      | Run for a terminal action. A fresh or different terminal request against an already-terminal run or stale execution generation returns 409. Retrying the identical request with the same idempotency key returns its stored result after replay authorization. |
| `Idempotency-Key`                | header | Yes      |                                                                                                                                                                                                                                                                |

## Request body

| Field    | Type | Required | Description                                                  |
| -------- | ---- | -------- | ------------------------------------------------------------ |
| `output` |      | Yes      | Final JSON output. Use explicit null when there is no value. |

## Responses

| Status | Description         |
| ------ | ------------------- |
| 200    | Terminal run        |
| 400    | Bad request         |
| 401    | Unauthorized        |
| 403    | Forbidden           |
| 404    | Not found           |
| 409    | Conflict            |
| 413    | Payload too large   |
| 429    | Rate limit exceeded |
