Create input request

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

Create an input request.

Parameters

NameInRequiredDescription
run_idpathYesRun 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-KeyheaderYes

Request body

FieldTypeRequiredDescription
kindstringHow the request is presented. form collects fields.
responder_rulesobjectWho may answer. Requires a human responder; the server resolves the run starters.
tool_call
deliverystringtool_result hands the answer to the waiting tool call. none leaves the runtime to read the request.
titlestringYes
fieldsarrayYes
tool_call_idstringTool invocation to request input for. Defaults to the run’s current waiting invocation.
requested_responder_typestring
descriptionstring
expires_atstring
metadataobject

Responses

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