QANATIX
API Reference

API Reference

QANATIX REST API — all endpoints.

API Reference

Base URL: https://api.qanatix.com/api/v1

All requests require Authorization: Bearer sk_live_... header.

Endpoints

MethodPathDescription
POST/search/\{vertical\}Hybrid search within a vertical
GET/search/\{vertical\}?q=...Search via query parameters

Entities

MethodPathDescription
POST/entitiesCreate an entity
GET/entitiesList entities (cursor-based pagination, FTS query)
GET/entities/\{id\}Get entity by ID
PATCH/entities/\{id\}Update an entity
DELETE/entities/\{id\}Soft-delete (archive) an entity
PATCH/entities/bulkBulk update entities
POST/entities/bulk-deleteBulk soft-delete entities
POST/entities/retry-resetReset failed embedding retries

Ingestion

MethodPathDescription
POST/ingest/\{vertical\}/\{entity_type\}/batchBatch ingest JSON records
POST/ingest/\{vertical\}/\{entity_type\}/uploadUpload CSV/JSON/NDJSON/XML file
POST/ingest/\{vertical\}/\{entity_type\}/pdfUpload and extract PDF
POST/ingest/\{vertical\}/\{entity_type\}/streamStream NDJSON data
POST/webhooks/ingest/\{vertical\}/\{entity_type\}Webhook push with HMAC verification
GET/ingestions/\{ingestion_id\}Get ingestion status
GET/ingestions/\{ingestion_id\}/errorsGet dead letter queue entries

Schemas

MethodPathDescription
POST/schemasRegister a JSON Schema for vertical/entity_type
GET/schemasList all schemas (filterable by vertical)
GET/schemas/\{vertical\}/\{entity_type\}Get schema (latest version)

Verticals

MethodPathDescription
GET/verticalsList verticals with entity counts and schema status

Connectors

MethodPathDescription
POST/connectorsCreate a database connector
GET/connectorsList connectors
DELETE/connectors/\{id\}Delete a connector
POST/connectors/\{id\}/pullTrigger a data pull

Authentication

MethodPathDescription
POST/auth/keysGenerate an API key
GET/auth/keysList API keys
DELETE/auth/keys/\{key_id\}Revoke a key
POST/auth/keys/\{key_id\}/rotateRotate a key

Pipeline

MethodPathDescription
GET/pipeline/status/\{ingestion_id\}Get embedding pipeline status
POST/pipeline/trigger/\{ingestion_id\}Re-trigger embedding pipeline

Export

MethodPathDescription
GET/export?vertical=X&format=csvExport entities as CSV
GET/export?vertical=X&format=jsonExport entities as JSON

Usage

MethodPathDescription
GET/usage?month=YYYY-MMGet usage stats for current period

Admin

Requires admin scope on API key.

MethodPathDescription
GET/admin/tenantsList tenants with stats
GET/admin/statsSystem-wide statistics
POST/admin/reindex/\{vertical\}Reindex all entities in a vertical
POST/admin/reindex/entity/\{id\}Reindex single entity

Health & Observability

MethodPathDescription
GET/healthLiveness check
GET/health/readyReadiness (DB + Redis + Qdrant)
GET/health/workerSAQ worker status
GET/health/qdrantQdrant connectivity
GET/health/searchSearch quality metrics
GET/metricsPrometheus-compatible metrics

MCP

PathDescription
/mcp/MCP Streamable HTTP endpoint

Request format

  • Content-Type: application/json for POST/PATCH
  • Content-Type: multipart/form-data for file uploads
  • Content-Type: application/x-ndjson for streaming

Response format

All responses are JSON with consistent structure. Errors include a detail field.

See Errors and Rate Limits.

On this page