API Reference
Hanzo Vector API
Hanzo Vector provides a high-performance vector database for embeddings,
Hanzo Vector provides a high-performance vector database for embeddings,
Hanzo Vector API · Guide & examples → · All API references →
| Base URL | https://vector.hanzo.ai |
| Version | 1.0.0 |
| Operations | 17 |
| Guide | Hanzo Vector API guide |
Authentication
bearerAuth— HTTP bearerapiKey— API key in header (api-key)BearerAuth— HTTP bearer
All Hanzo APIs share one bearer credential and common error and pagination conventions. See API conventions.
curl -H "Authorization: Bearer $HANZO_API_KEY" https://vector.hanzo.aiEndpoints
Collections
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/vector/collections | List collections |
GET | /v1/vector/collections/{collection_name} | Get collection info |
PUT | /v1/vector/collections/{collection_name} | Create collection |
DELETE | /v1/vector/collections/{collection_name} | Delete collection |
Points
| Method | Endpoint | Description |
|---|---|---|
PUT | /v1/vector/collections/{collection_name}/points | Upsert points |
GET | /v1/vector/collections/{collection_name}/points/{id} | Get point |
POST | /v1/vector/collections/{collection_name}/points/delete | Delete points |
Search
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/vector/collections/{collection_name}/points/search | Search points |
POST | /v1/vector/collections/{collection_name}/points/search/batch | Batch search |
POST | /v1/vector/collections/{collection_name}/points/recommend | Recommend points |
Service
| Method | Endpoint | Description |
|---|---|---|
GET | /healthz | Health check |
GET | /v1/vector/readyz | Readiness check |
GET | /v1/vector/telemetry | Get telemetry |
Snapshots
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/vector/collections/{collection_name}/snapshots | List snapshots |
POST | /v1/vector/collections/{collection_name}/snapshots | Create snapshot |
GET | /v1/vector/collections/{collection_name}/snapshots/{snapshot_name} | Download snapshot |
DELETE | /v1/vector/collections/{collection_name}/snapshots/{snapshot_name} | Delete snapshot |
How is this guide?