Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws-fe314186ccd18cde04d6af48a5afd79f/projects/proj_a1b2c3d4e5f6/memories/facts' \ -H 'Authorization: Bearer sk_xxxxxx' \ -H 'Content-Type: application/json' \ -d '{ "facts": [ "The Cape Nordling lighthouse was first lit in 1893.", "The Cape Nordling lighthouse is 41 metres tall." ] }'
{ "success": true, "data": { "facts": [ { "id": "fact-45c6986397ee45d6a915ae51c79516bb", "fact": "The Cape Nordling lighthouse was first lit in 1893." }, { "id": "fact-6773ba1dc34d4efc96e715efd8935026", "fact": "The Cape Nordling lighthouse is 41 metres tall." } ] } }
向项目添加一条或多条事实,按原文存储
POST /openapi/memorylake/api/v3/workspaces/{workspaceId}/projects/{projectId}/memories/facts
id
source_kind
MANUAL
ADD
project:mem_add
400
显示 新建的事实
显示 事实