---
title: "Answer Question"
method: POST
path: "/api/context-agent/chats/{chat_id}/answer_question"
tags: ["context-agent"]
---

# Answer Question

`POST /api/context-agent/chats/{chat_id}/answer_question`

## Request

- Base URL: `https://app.getdot.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.getdot.ai/api/context-agent/chats/{chat_id}/answer_question`
- Auth: one of:
  - API key in header `X-API-KEY`
  - API key in cookie `Authorization`
  - OAuth 2 (password, token URL `/api/auth/token`)

Answer a pending AskUserQuestion from the running agent.

The suspended turn resumes from its persisted conversation after this answer
is durably recorded. No worker remains blocked while the user decides.

## Path parameters

- `chat_id` string, required

## Request body

- AnswerQuestionRequest: Body for POST /chats/{chat_id}/answer_question — the user's selections for a pending AskUserQuestion call. `answers` maps question text → selected label (or list of labels for multiSelect); `response` is a freeform reply when the user typed instead of picking an option; `skip` declines to answer and lets the run continue immediately.
  - `tool_use_id` string, required
  - `answers` object
  - `response` string, nullable
  - `skip` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getdot/apis/dot-api-2.md) · [All operations](https://skmtc.dev/getdot/apis/dot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/getdot/apis/dot-api-2/revisions/d26fe7163a7f?raw)
