---
title: "Ask a question (non-streaming)"
method: POST
path: "/question"
---

# Ask a question (non-streaming)

`POST /question`

## Request body

- QuestionRequest
  - `question` string, required
  - `resources` string[]
  - `quiet` boolean

## Response `200`

Answer and metadata

- QuestionResponse
  - `answer` string, required
  - `model` ModelInfo, required
    - `provider` string, required
    - `model` string, required
    - `providerOptions` object — Per-provider options (e.g., baseURL and name for openai-compat)
  - `resources` string[], required
  - `collection` CollectionInfo, required
    - `key` string, required
    - `path` string, required

## Other responses

- `400` — Validation error

## Changes

- **2026-02-03** `7d015a5b9460` — 1 info
  - added the optional property `model/providerOptions` to the response with the `200` status

[Change history](https://skmtc.dev/davis7dotsh/apis/btca-local-server-api/changes/question/post.md)

---

[API](https://skmtc.dev/davis7dotsh/apis/btca-local-server-api.md) · [All operations](https://skmtc.dev/davis7dotsh/apis/btca-local-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/davis7dotsh/btca-local-server-api/revisions/0d00ac63b7d8/schema)
