---
title: "Ask a question"
method: GET
path: "/ask"
---

# Ask a question

`GET /ask`

Ask a question to your notes in natural language.
The scope of the notes used to answer the question is restricted to the authenticated user.
Various optional filters are available to restrict the scope of the notes even more.

## Query parameters

- `question` string, required
- `parentNoteId` string
- `assistantId` string
- `wait` boolean

## Response `200`

Ok

- AnswerAndSources
  - `sources` Source[], required — Array of sources that were used to answer the question
    - `explanation` string — For super, gives explanation about the source
    - `updatedAt` union, required — Date of the last update of the note
      - string, date-time
      - string
    - `url` string, required — Url of the note
    - `title` string, required — Title of the note
    - `id` string, required — Id of the note
  - `answer` string, required — Answer to the question

## Other responses

- `202` — The answer needs longer than the synchronous deadline (~50s) and is still being prepared — it keeps running server-side. Poll the URL in the `Location` header (`GET /threads/{threadId}`), respecting `retryAfterSeconds` / the `Retry-After` header, to collect it.
- `401` — Invalid authentication
- `422` — Ask feature is disabled
- `429` — Ask rate limit exceeded
- `default` — Unexpected error

## Changes

- **2026-07-31** `7cee1a5a5128` — 2 info
  - added the new optional `query` request parameter `wait`
  - added the success response with the status `202`
- **2026-07-26** `bf91106381fd` — 1 info
  - the security scope `read` was added to the endpoint's security scheme `bearer`

[Change history](https://skmtc.dev/slite/apis/public-slite-api/changes/ask/get.md)

---

[API](https://skmtc.dev/slite/apis/public-slite-api.md) · [All operations](https://skmtc.dev/slite/apis/public-slite-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/slite/public-slite-api/revisions/9a534f303bbb/schema)
