Search across documentation and the web
Runs a single query against Mintlify-hosted documentation and web search providers, merges the results, and returns them ranked by relevance. Optionally returns the full stitched page content for each result.
Authenticate with a universal search API key.
Authentication
Authenticate with a universal search API key. Generate one on the API keys page in your dashboard. Universal search API keys are separate from admin and assistant API keys and are only accepted at/universal-search/v1 endpoints.Authorizations
The Authorization header expects a Bearer token. Use a universal search API key. Generate one on the API keys page in your dashboard.
Body
The search query to run. Must be a non-empty string.
The maximum number of results to return. Must be between 1 and 20.
1 <= x <= 20Controls whether page content is returned with each result. Omit or set to false to return only metadata. Set to true to return the full stitched page content. Pass an object with maxCharacters to return content truncated to a character limit. Truncation preserves valid Markdown by closing open code fences.
Restrict web results to these domains. Mintlify-hosted results are unaffected.
1Exclude web results from these domains. Mintlify-hosted results are unaffected.
1Response
Search results.