Hanzo
API Reference

Hanzo KB API

Knowledge Base retrieval + ingestion control-plane — the `/v1/kb/*` surface

Knowledge Base retrieval + ingestion control-plane — the /v1/kb/* surface

Hanzo KB API · All API references →

Base URLhttps://api.hanzo.ai
Version1.0.0
Operations7

Authentication

  • 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://api.hanzo.ai

Endpoints

Connectors

MethodEndpointDescription
GET/v1/kb/connectorsList this org's connectors and connection state
GET/v1/kb/connectors/catalogList every connectable source (native + long-tail pieces)
GET/v1/kb/connectors/{provider}/connectBegin an OAuth connection (returns the provider authorize URL)
GET/v1/kb/connectors/{provider}/callbackOAuth callback (provider redirect — org recovered from signed state)
POST/v1/kb/connectors/{provider}/syncSync the provider's documents into this org's knowledge store
DELETE/v1/kb/connectors/{provider}Disconnect a connector (tombstone token, purge its vector points)
MethodEndpointDescription
POST/v1/kb/searchSemantic search over the org's knowledge

All Hanzo APIs · OpenAPI spec

How is this guide?

On this page