---
title: "Ask a question across every note you own"
method: POST
path: "/v1/ask"
tags: ["ask"]
---

# Ask a question across every note you own

`POST /v1/ask`

## Request

- Base URL: `https://api.audiomap.ai`
- URL: `https://api.audiomap.ai/v1/ask`
- Auth: HTTP bearer

Answers cite [Note title | mm:ss]. Pass the returned `sessionId` back to continue the same conversation.

## Request body

- object
  - `question` string, required
  - `sessionId` string, uuid

## Response `200`

The answer with the notes it came from

- GlobalAnswer
  - `question` string
  - `answer` string: Quotes as [Note title | mm:ss]
  - `citedSegments` string[]
  - `citedNotes` object[]
    - `noteId` string, uuid
    - `title` string
  - `sessionId` string, uuid

## Other responses

- `401`: Missing or invalid API key
- `402`: Not enough credits
- `403`: Your plan does not include the REST API
- `404`: No note with that id belongs to you
- `429`: Too many requests for this API key
- `502`: The model did not answer; credits were refunded

---

[API](https://skmtc.dev/audiomap/apis/audiomap-api.md) · [All operations](https://skmtc.dev/audiomap/apis/audiomap-api/llms.txt) · [OpenAPI document](https://skmtc.dev/audiomap/apis/audiomap-api/revisions/0bc0c0fc6cbb?raw)
