Fumadocs Search Result
The schema for a single search result returned by the Fumadocs search API endpoint. Each result represents a matched documentation segment at page, heading, or text granularity. Results include the page URL, matched content with optional highlight markers, and breadcrumbs for navigation context.
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for this search result within the index. Used by the client for result deduplication and React key assignment. |
| url | string | Relative URL path of the documentation page containing this result. May include a fragment identifier pointing to a specific heading anchor. |
| type | string | Granularity level of the matched content. 'page' indicates the page title matched; 'heading' indicates a section heading matched; 'text' indicates body paragraph text matched. |
| content | string | The matched text content. May contain inline Markdown highlight annotations using tags wrapping the matched query terms to enable client-side highlight rendering. |
| breadcrumbs | array | Ordered list of ancestor section and page titles forming the breadcrumb trail to this result. Displayed in the search results UI to give users navigation context for where the result lives within the |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://fumadocs.dev/schemas/search-result.json",
"title": "Fumadocs Search Result",
"description": "The schema for a single search result returned by the Fumadocs search API endpoint. Each result represents a matched documentation segment at page, heading, or text granularity. Results include the page URL, matched content with optional highlight markers, and breadcrumbs for navigation context.",
"type": "object",
"required": ["id", "url", "type", "content"],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for this search result within the index. Used by the client for result deduplication and React key assignment.",
"example": "docs/getting-started#installation"
},
"url": {
"type": "string",
"description": "Relative URL path of the documentation page containing this result. May include a fragment identifier pointing to a specific heading anchor.",
"example": "/docs/getting-started#installation"
},
"type": {
"type": "string",
"description": "Granularity level of the matched content. 'page' indicates the page title matched; 'heading' indicates a section heading matched; 'text' indicates body paragraph text matched.",
"enum": ["page", "heading", "text"]
},
"content": {
"type": "string",
"description": "The matched text content. May contain inline Markdown highlight annotations using <mark> tags wrapping the matched query terms to enable client-side highlight rendering.",
"example": "Install Fumadocs using your preferred package manager"
},
"breadcrumbs": {
"type": "array",
"description": "Ordered list of ancestor section and page titles forming the breadcrumb trail to this result. Displayed in the search results UI to give users navigation context for where the result lives within the documentation.",
"items": {
"type": "string",
"description": "A breadcrumb label for an ancestor page or section."
},
"example": ["Documentation", "Getting Started"]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/fumadocs-search-result"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.