Redocly · Schema

SearchResponse

Artificial IntelligenceAPI CatalogAPI DocumentationArazzoDeveloper PortalGovernanceLintingMCPMonitoringOpenAPIA2A

Properties

Name Type Description
facets object Facet field names to arrays of value and count. Keys may include: `redocly_category`, `redocly_product`, `redocly_version`, `redocly_teams`, `httpMethod`, `httpPath`, `apiTitle`, `apiVersion`, and any
documents object Category names (e.g. Documentation, API Reference) to arrays of search items.
View JSON Schema on GitHub

JSON Schema

redocly-search-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/redocly/main/json-schema/redocly-search-response-schema.json",
  "title": "SearchResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/redocly-search-api-openapi.yml#/components/schemas/SearchResponse",
  "type": "object",
  "properties": {
    "facets": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "$ref": "#/$defs/FacetValueCount"
        }
      },
      "description": "Facet field names to arrays of value and count. Keys may include: `redocly_category`, `redocly_product`, `redocly_version`, `redocly_teams`, `httpMethod`, `httpPath`, `apiTitle`, `apiVersion`, and any custom facet fields.\n"
    },
    "documents": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "$ref": "#/$defs/SearchItem"
        }
      },
      "description": "Category names (e.g. Documentation, API Reference) to arrays of search items."
    }
  },
  "$defs": {
    "FacetValueCount": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string",
          "description": "Facet value (for example: a category or product name).\n"
        },
        "count": {
          "type": "integer",
          "description": "Number of search results that match this facet value."
        }
      }
    },
    "SearchDocument": {
      "description": "Indexed document returned in search results.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of the indexed document."
        },
        "url": {
          "type": "string",
          "description": "URL of the document or API operation."
        },
        "title": {
          "type": "string",
          "description": "Document or page title."
        },
        "text": {
          "type": "string",
          "description": "Indexed text content used for search matching."
        },
        "path": {
          "type": "array",
          "description": "Breadcrumb path (for example: section titles) leading to this document.\n",
          "items": {
            "type": "string"
          }
        },
        "redocly_category": {
          "type": "string",
          "description": "Documentation category (for example: Documentation, API Reference).\n"
        },
        "redocly_product": {
          "type": "string",
          "description": "Product name when content is scoped by product."
        },
        "redocly_teams": {
          "type": "array",
          "description": "Team names when content is scoped by team.",
          "items": {
            "type": "string"
          }
        },
        "redocly_version": {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "isDefault": {
                  "type": "boolean",
                  "description": "Whether this is the default version."
                }
              }
            },
            {
              "type": "string"
            }
          ],
          "description": "Version label or version object for versioned content."
        },
        "httpMethod": {
          "type": "string",
          "description": "HTTP method (for example: GET, POST) for API reference items.\n"
        },
        "httpPath": {
          "type": "string",
          "description": "HTTP path pattern for API reference items."
        },
        "apiTitle": {
          "type": "string",
          "description": "Title of the API for API reference items."
        },
        "apiVersion": {
          "type": "string",
          "description": "API version for API reference items."
        }
      }
    },
    "SearchHighlight": {
      "description": "Highlighted snippets; matched terms are wrapped in `<mark>` tags.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Document ID matching the result document."
        },
        "title": {
          "type": "string",
          "description": "Highlighted title snippet with matched terms in `<mark>` tags."
        },
        "url": {
          "type": "string",
          "description": "URL of the result (no highlighting)."
        },
        "text": {
          "type": "string",
          "description": "Highlighted content snippet with matched terms in `<mark>` tags."
        },
        "redocly_category": {
          "type": "string",
          "description": "Category value for this result (for example: Documentation, API Reference).\n"
        },
        "redocly_product": {
          "type": "string",
          "description": "Product value for this result when applicable."
        },
        "parameters": {
          "type": "array",
          "description": "Present in API reference items."
        }
      }
    },
    "SearchItem": {
      "type": "object",
      "properties": {
        "document": {
          "type": "object",
          "description": "The indexed document (metadata and content fields).",
          "$ref": "#/$defs/SearchDocument"
        },
        "highlight": {
          "type": "object",
          "description": "Highlighted snippets for this result.",
          "$ref": "#/$defs/SearchHighlight"
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/redocly-search-response"
All schemas
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.