Typesense · JSON Structure

Typesense Collection Structure

Structural definition of a Typesense collection

Type: object Properties: 7
Full-Text SearchOpen-SourceSearch EnginesTypo ToleranceVector Search

Typesense Collection Structure is a JSON Structure definition published by Typesense, describing 7 properties. It conforms to the https://json-schema.org/draft/2020-12/schema meta-schema.

Properties

name num_documents fields default_sorting_field token_separators symbols_to_index enable_nested_fields

Meta-schema: https://json-schema.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Typesense Collection Structure",
  "description": "Structural definition of a Typesense collection",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Unique collection name"
    },
    "num_documents": {
      "type": "integer",
      "description": "Number of documents currently in the collection"
    },
    "fields": {
      "type": "array",
      "description": "Schema field definitions",
      "items": {
        "type": "object",
        "properties": {
          "name": {"type": "string", "description": "Field name"},
          "type": {
            "type": "string",
            "enum": ["string", "string[]", "int32", "int32[]", "int64", "int64[]", "float", "float[]", "bool", "bool[]", "geopoint", "geopoint[]", "object", "object[]", "auto", "string*"],
            "description": "Field type"
          },
          "facet": {"type": "boolean", "description": "Enable faceting on this field"},
          "optional": {"type": "boolean", "description": "Allow documents without this field"},
          "index": {"type": "boolean", "description": "Index this field for search"},
          "sort": {"type": "boolean", "description": "Enable sorting on this field"},
          "infix": {"type": "boolean", "description": "Enable infix search on this field"},
          "locale": {"type": "string", "description": "Locale for field tokenization"},
          "embed": {
            "type": "object",
            "description": "Embedding configuration for vector fields",
            "properties": {
              "from": {"type": "array", "items": {"type": "string"}},
              "model_config": {"type": "object"}
            }
          }
        }
      }
    },
    "default_sorting_field": {
      "type": "string",
      "description": "Default field used for sorting results when no sort_by is specified"
    },
    "token_separators": {
      "type": "array",
      "items": {"type": "string"},
      "description": "Characters to use as token separators"
    },
    "symbols_to_index": {
      "type": "array",
      "items": {"type": "string"},
      "description": "Special symbols to include in the search index"
    },
    "enable_nested_fields": {
      "type": "boolean",
      "description": "Enable nested object indexing"
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/typesense-collection-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.