Skip to main content

Endpoint groups

End-to-end lifecycle

SDKs

HydraDB publishes official SDKs for Python and TypeScript/Node. They wrap every endpoint in this reference with typed methods and IDE autocomplete. Quick init:
SDK methods mirror the API: client.<group>.<method>() maps to the corresponding endpoint. Every per-endpoint page below includes Python and TypeScript tabs alongside the cURL example. See the full reference at SDKs.

Full endpoint inventory

Tenants

Ingestion

Memories

Recall

List

Fetch

Knowledge Deletion

Conventions

Authentication. Every endpoint requires Authorization: Bearer $HYDRA_DB_API_KEY in the request header (substitute the actual key value). Get your key at app.hydradb.com. Tenant scoping. Every endpoint requires a tenant_id. Most endpoints also accept an optional sub_tenant_id for finer-grained scoping. If omitted, the default sub-tenant is used. Async operations. Tenant creation, deletion, and content ingestion are asynchronous. They return immediately after queuing. Use the relevant status endpoint to confirm completion before downstream operations. Pagination. Listing endpoints (/list/data) return a pagination object with page, page_size, total, total_pages, has_next, and has_previous. Parameter casing. The REST API uses snake_case (tenant_id). The TypeScript SDK accepts the same snake_case keys; method names are camelCase (fullRecall, addMemory). The Python SDK uses snake_case throughout. Status codes. Successful responses return 200 (or 202 for async accepts). Errors follow standard HTTP semantics: See Error Responses for response shapes and error codes.

Rate limits

Rate limits apply per API key. For production deployments, build retry logic with exponential backoff against the 429 response. Contact [email protected] for current limit values.

Next steps

  • Build something: Quickstart walks through your first integration in five minutes
  • Understand the model: Core Concepts explains tenants, memories, recall, and metadata
  • Go deeper: Essentials covers each primitive in depth
  • Install an SDK: Python · TypeScript