# Respond to input request

```http
POST /input-requests/{input_request_id}/responses
```

Respond to input request.

## Parameters

| Name               | In     | Required | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------ | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `input_request_id` | path   | Yes      | Input request to answer. Every caller must match the requested responder role. Unbound callers need editor access to the run owner and project.runs.write. A bound runtime credential instead must match the exact run and needs conversations:write, viewer access to the run owner, and project.runs.read. A linked conversation also requires editor access. A fresh response to an already-resolved request returns 409 (submission, cancellation and expiry compete atomically). An authorized retry of the identical request with the same idempotency key returns its stored result. |
| `Idempotency-Key`  | header | Yes      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |

## Request body

| Field    | Type   | Required | Description                                                                   |
| -------- | ------ | -------- | ----------------------------------------------------------------------------- |
| `values` | object | Yes      | Submitted values keyed by field name; password values are omitted from reads. |

## Responses

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