---
title: "Request Run Input For Worker"
method: POST
path: "/api/internal/agent-runs/request-input"
tags: ["internal-agent-runs"]
---

# Request Run Input For Worker

`POST /api/internal/agent-runs/request-input`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/internal/agent-runs/request-input`
- Auth: none declared

Pause a currently-executing run so its caller can be asked a question (TOS-5382).

This is the reachable end of ``agent_triggers.request_run_input`` in
production: awen-worker's execution loop (where a run's own turn actually
runs, per this module's module docstring) is the one place that knows a
run is ``running`` and mid-turn, so it is the caller of this endpoint, not
awen-api. Locked to the same worker service-account trust boundary as
``/execute`` above; there is no user-facing surface for this because a
caller never sets run status directly - it only ever supplies the answer,
through the A2A ``message/send`` resume path in ``a2a_task_service.py``.

## Headers

- `authorization` string, nullable

## Request body

- RequestRunInputRequest
  - `run_id` string, uuid, required
  - `question` string, required

## Response `200`

Successful Response

- RequestRunInputResponse
  - `run_id` string, uuid, required
  - `status` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/5387b4ded614?raw)
