Skip to main content

Create a memory

POST 

/v1/projects/:project_id/memories

Writes a fact to the specified memory store through the standard write algorithm: the content is embedded (or matched to text the store already holds), compared against the most similar currently-valid memory, and resolved to exactly one of three outcomes — skipped at or above duplicate_threshold, superseded at or above supersede_threshold, created below it. supersedes overrides that comparison entirely, retiring the memory it names. Every call records one assertion, whatever the outcome.

Request​

Responses​

The write resolved against an existing memory — action is skipped (the fact was already known) or superseded (the fact had changed, and the returned memory is the replacement).