remember_many
Store 1–100 facts in one call. Prefer this over looping remember.
POST/v1/remember_many
Also an MCP tool named remember_many.
| Field | Type | Required | Description |
|---|---|---|---|
facts | Fact[] | yes | Array of facts. Min 1, max 100. Each fact uses the same fields as remember ( |
source | string | no | Label for the batch (onboarding, import, …). Max 255. Applied to every stored fact. |
collection | string | no | Collection for the whole batch. Omit for the connection default. |
Every fact in the batch must resolve to the same collection. A per-fact collection that disagrees returns 400. Unknown codes return 404.
Request
{
"facts": [
{ "subject": "user:maya", "predicate": "display_name", "object": "Maya" },
{ "subject": "user:maya", "predicate": "works_at", "object": "company:acme" },
{ "subject": "user:maya", "predicate": "has_skill", "object": "TypeScript" }
],
"source": "onboarding"
}
Response
{
"facts_created": 3,
"facts": []
}