Retain
AI-generatedSummary
Store a piece of text content into a specified Hindsight memory bank, optionally applying comma-separated tags to categorize the stored memory. If the memory bank does not already exist, it is created automatically upon first use.
Inputs
- Bank ID (required) — The identifier of the Hindsight memory bank to operate on. The bank is created if it does not yet exist.
- Content (required) — The textual content to store in memory; Hindsight will asynchronously extract facts from this content after retention.
- Tags — Optional comma-separated tags (e.g., "user:alex,scope:profile") applied to the stored memory to enable later filtering or categorization.
Output shape
a single JSON object containing the response from the Hindsight API confirming storage of the memory item(s).
The response JSON structure corresponds to the Hindsight API response for memory retention. The node returns one item per input with this JSON; error details are included in the JSON if the operation fails and 'continue on fail' is enabled.
Examples
Example 1: Store a note about a user profile with tags for easier recall later.
Set 'Bank ID' to the desired memory bank (e.g. 'user-123'), provide the textual 'Content' to retain, and optionally supply tags such as 'user:alex,scope:profile' to label this memory entry.