Add data to the memory graph
Add arbitrary data (text, JSON, or message) to a knowledge graph.
Target exactly one scope: agent_id writes to the calling user's memory
(shared agents write to the shared graph, agent-scoped agents to their
own); graph_id writes to a shared namespace and requires a service
token. Processing is asynchronous — entity extraction and
relationship building happen in the background. Returns 202 immediately.
POST
https://truememory-api.mvstg.com/memories/graphAuthorization
Header parameters
Request bodyJSONrequired
- typemessageorjsonortextordocumentornoteortranscriberequired
Content shape; selects the extraction rules and nothing else. In a user scope,
messageis one user turn and is stored like a chat exchange (seeassistant_message).documentis a note or document the user brought in whole (noteis accepted as its older name).
Returns
202
Ingestion was queued; poll the job for completion.