Hindsight icon

Hindsight

Interact with the Hindsight AI memory API

Memory → Retain

AI-generated

Summary

Store new textual content as a memory unit in a specified Hindsight bank for AI memory processing.

Inputs

  • Bank ID (required) — Identifier of the bank where the memory will be stored.
  • Content (required) — Text content to analyze and store as a memory.
  • Additional Fields — Optional fields to customize the memory retention, including async processing, context label, document ID for idempotency, associated entities, metadata key-value pairs, observation scoping, strategy override, visibility tags, and a timestamp indicating when the content occurred.

Output shape

API response object indicating success and details of the retained memory entry.

The output includes an array of retained memory items with their properties. Optional fields can affect processing such as asynchronous storage. Errors during the API request will produce failure output.

Examples

Example 1: Store a new memory with basic content and bank ID.

Set 'Bank ID' and 'Content' to required values; optionally adjust additional fields for metadata or tagging.

Links

Discussion