SDKs
FreshHindsight provides official SDKs for Python and TypeScript, plus full cURL/REST API support.
Installation
bash
pip install hindsight-clientbash
npm install @vectorize-io/hindsight-clientQuick Comparison
| Feature | Python | TypeScript | cURL |
|---|---|---|---|
| Client init | Hindsight(base_url, api_key) | new HindsightClient({baseUrl, apiKey}) | Authorization: Bearer header |
| Retain | client.retain(bank_id, content) | client.retain(bankId, content) | POST /v1/default/banks/{id}/memories |
| Recall | client.recall(bank_id, query) | client.recall(bankId, query) | POST /v1/default/banks/{id}/memories/recall |
| Reflect | client.reflect(bank_id, query) | client.reflect(bankId, query) | POST /v1/default/banks/{id}/reflect |
| Async support | aretain, arecall, areflect | Native async/await | N/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