Skip to main content
Imports one or more Library files into a project as documents. MemoryLake processes each file asynchronously — indexing its content for semantic search and memory extraction. You can check progress with Get Document.
Permission required: project:doc_add
Files must already exist in the Library before you can import them. Use the Library API to upload files first.

Path Parameters

workspaceId
string
required
Workspace ID that owns the project.
projectId
string
required
Project to import documents into.

Body Parameters

drive_item_ids
string[]
required
Array of Library item IDs to import. Each ID must reference an existing file in the Library.

Response

data
object