---
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

## 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

- `401` — Invalid authentication
- `422` — Ask feature is disabled
- `429` — Ask rate limit exceeded
- `default` — Unexpected error

## Changes

- **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/bf91106381fd/schema)
