---
title: "Get Agent Run Pending Input"
method: GET
path: "/api/agent-runs/{run_id}/pending-input"
tags: ["agent-tasks"]
---

# Get Agent Run Pending Input

`GET /api/agent-runs/{run_id}/pending-input`

## Request

- Base URL: `https://platform.verbiflow.com/api/bridge`
- URL: `https://platform.verbiflow.com/api/bridge/api/agent-runs/{run_id}/pending-input`
- Auth: one of:
  - HTTP bearer and API key in header `x-flage-org-id`
  - HTTP bearer and API key in header `x-flage-org-slug`

## Path parameters

- `run_id` string, required

## Response `200`

Successful Response

- AgentRunPendingInputResponse
  - `input` AgentPendingInput, required
    - `allow_freeform` boolean, required
    - `choices` AgentInputChoice[], required
      - `description` string, nullable, required
      - `id` string, required
      - `label` string, required
    - `destination` 'current' | 'operator', required
    - `expires_at` string, date-time, nullable, required
    - `form` AgentInputForm, required
      - `fields` AgentInputFormField[], required
        - `description` string, nullable, required
        - `id` string, required
        - `initial_value` string, nullable, required
        - `kind` 'text' | 'textarea' | 'select' | 'external_select' | 'radio', required
        - `label` string, required
        - `optional` boolean, required
        - `options` AgentInputFormOption[], required
          - `description` string, nullable, required
          - `label` string, required
          - `value` string, required
        - `placeholder` string, nullable, required
      - `submit_label` string, nullable, required
      - `title` string, nullable, required
    - `input_id` string, required
    - `prompt` string, required
    - `run_id` string, required
    - `status` 'open' | 'responded', required
    - `thread_id` string, required
  - `run_id` string, required
  - `thread_id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract.md) - [All operations](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/llms.txt) - [OpenAPI document](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/revisions/c80e903ef8f3?raw)
