---
title: "Search documentation"
method: POST
path: "/v1/search/{domain}"
---

# Search documentation

`POST /v1/search/{domain}`

Perform semantic and keyword searches across your documentation with configurable filtering and pagination.

Authenticate with an assistant API key. Search requests do not consume credits.

## Path parameters

- `domain` string, required

## Request body

- object
  - `query` string, required — The search query to execute against your documentation content.
  - `pageSize` integer — Number of search results to return. Must be between 1 and 50. Defaults to 10 if not specified.
  - `scoreThreshold` number — Minimum relevance score for results. Only results with a score at or above this threshold are returned. Must be between 0 and 1.
  - `filter` object — Optional filtering parameters to narrow search results.
    - `version` string — Filter results by documentation version.
    - `language` string — Filter results by content language.
    - `tag` string — Filter results by tag.
    - `groups` string[] — Optional documentation groups the caller is authorized to access. When the deployment uses `auth` or `userAuth`, results are limited to pages the specified groups can view. If omitted or empty on a protected deployment, results are limited to public pages.

## Response `200`

Search results

- object[]
  - `content` string — The matching content from your documentation.
  - `path` string — The path or URL to the source document.
  - `metadata` object — Additional metadata about the search result.

---

[API](https://skmtc.dev/mcp-b/apis/mintlify-admin-api.md) · [All operations](https://skmtc.dev/mcp-b/apis/mintlify-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mcp-b/mintlify-admin-api/revisions/6165028f8792/schema)
