Supermemory icon

Supermemory

Interact with the Supermemory API

Memory → Create

AI-generated

Summary

Create a memory entry in a specified container.

Inputs

  • containerTag (required) — The space/container identifier (e.g., user ID, project ID) where the memory will be stored.
  • content (required) — The memory text (1‑10,000 characters). Should be entity‑centric.
  • additionalFields.isStatic — Whether this memory is a permanent trait that should not be overwritten.
  • additionalFields.forgetAfter — ISO 8601 datetime after which this memory will be auto‑forgotten.
  • additionalFields.forgetReason — Reason for scheduling the memory to be forgotten.
  • additionalFields.metadata — Additional metadata as JSON key‑value pairs.
  • additionalFields.temporalContext — Temporal metadata as JSON (e.g., {'documentDate': '2024-01-01', 'eventDate': '2024-06-15'}).

Output shape

object

The created memory entry as returned by the Supermemory API (typically includes memory ID, content, container tag, and any supplied metadata).

Examples

Example 1: Store a user preference as a static memory.

Set containerTag to the user ID, content to the preference text, and enable isStatic.

Links

Discussion