Skip to content

SDKs

Fresh

Hindsight provides official SDKs for Python and TypeScript, plus full cURL/REST API support.

Installation

bash
pip install hindsight-client
bash
npm install @vectorize-io/hindsight-client

Quick Comparison

FeaturePythonTypeScriptcURL
Client initHindsight(base_url, api_key)new HindsightClient({baseUrl, apiKey})Authorization: Bearer header
Retainclient.retain(bank_id, content)client.retain(bankId, content)POST /v1/default/banks/{id}/memories
Recallclient.recall(bank_id, query)client.recall(bankId, query)POST /v1/default/banks/{id}/memories/recall
Reflectclient.reflect(bank_id, query)client.reflect(bankId, query)POST /v1/default/banks/{id}/reflect
Async supportaretain, arecall, areflectNative async/awaitN/A

SDK Guides

  • Python SDK — Full guide with async support, error handling, complete examples
  • TypeScript SDK — Full guide with framework integrations (Next.js, Express)
  • cURL Examples — Raw HTTP examples for all endpoints