---
title: "Answer Agent Run Input"
method: POST
path: "/api/agent-runs/{run_id}/answer"
tags: ["agent-tasks"]
---

# Answer Agent Run Input

`POST /api/agent-runs/{run_id}/answer`

## Request

- Base URL: `https://platform.verbiflow.com/api/bridge`
- URL: `https://platform.verbiflow.com/api/bridge/api/agent-runs/{run_id}/answer`
- 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

## Request body

- AgentRunAnswerRequest
  - `input_id` string, required
  - `response` union, required
    - AgentInputChoiceResponse
      - `choice_id` string, required
    - AgentInputTextResponse
      - `answer` string
      - `attachment_ids` string[]
    - AgentInputFormResponse
      - `values` object, required

## Response `200`

Successful Response

- AgentRunAnswerResponse
  - `input_id` string, required
  - `run_id` string, required
  - `status` 'responded', 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)
