---
title: "Search Omni documentation"
method: POST
path: "/api/v1/ai/search-omni-docs"
tags: ["AI"]
---

# Search Omni documentation

`POST /api/v1/ai/search-omni-docs`

Search the Omni documentation using AI to answer questions about Omni features, configuration, modeling, dashboards, and more. Sends a natural language question and returns a synthesized answer with source links to the relevant documentation pages.

## Request body

- AiSearchOmniDocsBody
  - `question` string, required — A natural language question about Omni features, configuration, modeling, dashboards, or other topics covered in the Omni documentation.

## Response `200`

Documentation search completed successfully. Returns a synthesized answer with source links.

- AiSearchOmniDocsResponse
  - `answer` string, required — A synthesized answer to the question, based on the Omni documentation.
  - `sources` object[], required — List of documentation pages that were used to synthesize the answer.
    - `title` string, required — The title of the source documentation page.
    - `url` string, uri, required — URL of the source documentation page.

## Other responses

- `400` — Invalid request. The question may be missing or exceed the 2000 character limit.
- `401` — Missing or invalid API key.
- `403` — Omni Agent is not enabled for this organization.
- `500` — AI service error.

---

[API](https://skmtc.net/omniapp/apis/omni-api.md) · [All operations](https://skmtc.net/omniapp/apis/omni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/omniapp/omni-api/versions/de7cac8b5983/schema)
