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.

FieldTypeRequiredDescription
factsFact[]yes

Array of facts. Min 1, max 100. Each fact uses the same fields as remember (subject, predicate, object, optional context, optional collection).

sourcestringno

Label for the batch (onboarding, import, …). Max 255. Applied to every stored fact.

collectionstringno

Collection for the whole batch. Omit for the connection default. "" forces the default bucket.

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": []
}