# Retry a run from retained inputs
POST /api/runs/{runId}/retry
Creates a new run using the prior run's retained OpenAPI/config inputs. Returns 422 when Sourced no longer has the raw inputs needed to retry safely.
## Request
```bash
curl -X POST 'https://sourced.sh/api/runs/{runId}/retry' \
  -H 'Authorization: Bearer $SOURCED_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{}'
```
## Parameters

- runId (path, required): Run identifier.

## Request body

type: object
properties:
  reason: string

## Responses

### 202

Retry run accepted.
### 401


### 402


### 403


### 404


### 422

The run cannot be retried because raw inputs were not retained.
