Headband Documentation
Documentation
Everything you need to integrate Headband
Headband is a retrieval control plane: one REST API across Meilisearch, Typesense, Elasticsearch and Visor, with per-index engine routing. Start with Getting Started, or jump to a specific topic below.
Getting Started
What Headband is, core concepts, and how to get your first index searching in minutes.
Integrate Headband
End-to-end paths for Next.js, a plain JS page, Node and Python backends, and Drizzle sync, each with a working example app.
Authentication
API key types, the bearer header, and what admin vs. search keys can do.
Tenant Tokens
Indexes
Create, list, fetch, and delete indexes across Meilisearch, Typesense, Elasticsearch and Visor.
Index Settings
Read and update per-index search settings and see what each engine supports.
Documents
Add, list, fetch, delete, and bulk-import documents into an index.
Search
Search endpoint parameters, filters, facets, sorting, and highlighting.
Multi-Search
Run multiple search queries against one or more indexes in a single request.
Click Feedback
Tasks
Poll asynchronous write tasks by UID until they succeed or fail.
AI Search (RAG)
Retrieval-augmented search: the AI search endpoint and its response format.
Hybrid Search
Combine keyword and vector search in a single hybrid query.
MCP Server
Set up the Headband MCP server and see the tools and resources it exposes.
llms.txt
Serve an llms.txt file describing your indexes for LLM crawlers.
Framework Recipes
Framework recipes, and sync connector scripts for Postgres, MySQL, Shopify, Stripe and BataDB.
A/B Test Engines
Split traffic between two engines or two settings: hosted assignment, tagged searches, outcome events and results.
React SDK
Install the React SDK, use the provider, hooks, and components, and see a full example.
Engine Compatibility
Feature-by-feature compatibility matrix and sizing guidance across engines.
Index Into More Than One Engine
The same data in Meilisearch, Typesense, Elasticsearch and Visor side by side: equivalent settings and what does not carry over.
Visor
ZVN's own engine: instant and retrieval search modes on one index, where it runs, and what it supports.
Dedicated Engines
Private Meilisearch, Typesense, Elasticsearch and Visor servers: create, connect, keys, cold starts and limits.
Branches
Sync
Keep a search index in step with your Postgres tables: sources, setup SQL, definitions, pause, rebuild and delete. Early access.
CLI
Install the headband command, log in with a device code, and manage indexes, engines, Sync and schema from your terminal.
API Reference
The OpenAPI 3.1 spec for every /v1 endpoint, and what stable means: additive changes, deprecations and notice.
Errors
Error response shape, status codes and request ids returned by the API.