# Create input request

```http
POST /runs/{run_id}/input-requests
```

Create an input request.

## Parameters

| Name              | In     | Required | Description                                                                                                                                                                                                                                                                          |
| ----------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `run_id`          | path   | Yes      | Run that owns the input request. A fresh creation request without a recorded waiting tool call or tool\_call\_id, or with a duplicate open run/tool-call request, returns 409. 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                                                                                             |
| -------------------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------- |
| `kind`                     | string |          | How the request is presented. `form` collects `fields`.                                                 |
| `responder_rules`          | object |          | Who may answer. Requires a human responder; the server resolves the run starters.                       |
| `tool_call`                |        |          |                                                                                                         |
| `delivery`                 | string |          | `tool_result` hands the answer to the waiting tool call. `none` leaves the runtime to read the request. |
| `title`                    | string | Yes      |                                                                                                         |
| `fields`                   | array  | Yes      |                                                                                                         |
| `tool_call_id`             | string |          | Tool invocation to request input for. Defaults to the run’s current waiting invocation.                 |
| `requested_responder_type` | string |          |                                                                                                         |
| `description`              | string |          |                                                                                                         |
| `expires_at`               | string |          |                                                                                                         |
| `metadata`                 | object |          |                                                                                                         |

## Responses

| Status | Description                                    |
| ------ | ---------------------------------------------- |
| 201    | Input request created or idempotently replayed |
| 400    | Bad request                                    |
| 401    | Unauthorized                                   |
| 403    | Forbidden                                      |
| 404    | Not found                                      |
| 409    | Conflict                                       |
| 413    | Payload too large                              |
| 429    | Rate limit exceeded                            |
