Typesense · Schema

SearchResult

Full-Text SearchOpen-SourceSearch EnginesTypo ToleranceVector Search

Properties

Name Type Description
facet_counts array Facet value counts for the search results.
found integer Total number of documents matching the query.
found_docs integer Total number of documents found before grouping.
search_time_ms integer Time taken for the search in milliseconds.
out_of integer Total number of documents in the collection.
search_cutoff boolean Whether the search was cut off due to time limits.
page integer Current page number.
hits array Array of search result hits.
grouped_hits array Array of grouped search result hits when group_by is used.
request_params object Parameters used for the search request.
conversation object Conversational search response when conversation mode is enabled.
View JSON Schema on GitHub

JSON Schema

typesense-searchresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SearchResult",
  "title": "SearchResult",
  "type": "object",
  "properties": {
    "facet_counts": {
      "type": "array",
      "description": "Facet value counts for the search results.",
      "items": {
        "$ref": "#/components/schemas/FacetCounts"
      }
    },
    "found": {
      "type": "integer",
      "description": "Total number of documents matching the query."
    },
    "found_docs": {
      "type": "integer",
      "description": "Total number of documents found before grouping."
    },
    "search_time_ms": {
      "type": "integer",
      "description": "Time taken for the search in milliseconds."
    },
    "out_of": {
      "type": "integer",
      "description": "Total number of documents in the collection."
    },
    "search_cutoff": {
      "type": "boolean",
      "description": "Whether the search was cut off due to time limits."
    },
    "page": {
      "type": "integer",
      "description": "Current page number."
    },
    "hits": {
      "type": "array",
      "description": "Array of search result hits.",
      "items": {
        "$ref": "#/components/schemas/SearchResultHit"
      }
    },
    "grouped_hits": {
      "type": "array",
      "description": "Array of grouped search result hits when group_by is used.",
      "items": {
        "$ref": "#/components/schemas/SearchGroupedHit"
      }
    },
    "request_params": {
      "type": "object",
      "description": "Parameters used for the search request."
    },
    "conversation": {
      "type": "object",
      "description": "Conversational search response when conversation mode is enabled.",
      "properties": {
        "answer": {
          "type": "string",
          "description": "Generated answer from the conversation model."
        },
        "conversation_history": {
          "type": "array",
          "description": "History of the conversation.",
          "items": {
            "type": "object"
          }
        },
        "conversation_id": {
          "type": "string",
          "description": "ID of the conversation for follow-up queries."
        }
      }
    }
  }
}

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/typesense-searchresult"
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 email required.

A second provider on the same verified email joins the account you already have.