Skip to content

Hindsight Cloud API

The Hindsight Cloud API is the HTTP interface for working with memory banks, operations, documents, mental models, and the full set of Vectorize Hindsight features.

  • Base URL: https://api.hindsight.vectorize.io
  • OpenAPI version: 3.1.0
  • API version: 0.5.6
  • Total endpoints: 66 across 12 resource groups
  • Spec: openapi.json

See the API Reference index for the full endpoint list.

Authentication

The API uses Bearer token authentication with Hindsight API keys.

  • API keys are prefixed with hsk_
  • Include the key in the Authorization header on every request
bash
curl -X GET 'https://api.hindsight.vectorize.io/v1/banks' \
  -H 'Authorization: Bearer hsk_your_api_key'

Keys can be created in the Hindsight dashboard (account-scoped) or programmatically via the Scoped API Keys endpoints — bank-scoped keys with cascade revocation.

See API Keys for full key management.

Resource Groups

GroupEndpointsPurpose
Memory10Retain, recall, reflect, list, get, clear memories
Banks15Create, update, delete memory banks; config; profile
Entities4List entities, entity graphs, observation regeneration
Mental Models7Pre-computed reflections with auto-refresh
Directives5Recall and retain directives
Documents7Upload, reprocess, chunk-level retrieval
Operations4Async operation tracking, retry, cancel
Bank Templates3Export, import, schema
Webhooks5Event delivery
Files1File-based memory retain
Audit2Audit log listing and stats
Scoped API Keys3Programmatic key management

Browse the full endpoint list for direct links to each operation.

Error Format

Hindsight uses standard HTTP status codes. Errors are returned as JSON with a detail field describing the failure. Common codes:

CodeMeaning
400Bad request — invalid payload or query
401Unauthorized — missing or invalid API key
403Forbidden — key lacks the required scope
404Not found — bank, memory, document, or operation does not exist
409Conflict — concurrent modification or duplicate resource
422Unprocessable entity — schema validation failed
429Rate limit exceeded
5xxServer error

See Error Codes for the full table.

Versioning

The current API version is 0.5.6. Paths are prefixed with /v1. Breaking changes are announced on What's New. The OpenAPI specification is the authoritative source.

SDKs

LanguagePackageDocs
Pythonhindsight-clientPython SDK
TypeScript / JavaScript@vectorize-io/hindsight-clientTypeScript SDK
cURLcURL Examples

Source: docs.hindsight.vectorize.io/api-reference/hindsight-cloud-api