Namespaces are isolation boundaries. They scope buckets, objects, collections, documents, and searches so organizations can separate environments and tenants. Most API calls accept the
X-Namespace
header to operate within a namespace.Overview
- Isolation: Buckets, Objects, Collections, Documents, Tasks live within a namespace.
- Required header: Pass
X-Namespace
on most resource calls (see API reference pages for specifics). - Indexes: Selected feature extractors add required vector/payload index definitions; you may also add custom payload indexes.
- Immutability: Feature extractor choices set capabilities; payload indexes are mutable.
Namespace model
Minimum fields when creating a namespace. See Create Namespace.feature_extractors
(required): Enables associated features; required indexes are added automatically.payload_indexes
(optional): Additional payload indexes for common filters/sorts.
Create a namespace
- API: Create Namespace
- Method: POST
- Path:
/v1/namespaces
- Reference: API Reference
Manage namespaces
Behavior & validation
- Header usage: Pass
X-Namespace
on most routes after creation to scope reads/writes. - Feature availability: Selected
feature_extractors
constrain what can be used in collections within this namespace. - Payload indexes: Mutable; tune over time as query patterns evolve.
- Tenant filter: All writes/read filters include tenant scoping automatically.