Ingests a signed memory-portability bundle.
POST
/v1/m/knowledge/memory/import
const url = 'https://example.com/v1/m/knowledge/memory/import';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/x-ndjson'}, body: '"example"'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/m/knowledge/memory/import \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/x-ndjson' \ --data '"example"'Ingests a signed memory-portability bundle. It verifies the manifest signature and the entries digest FIRST (fail closed: a bad signature, an unwired verify key, or a digest mismatch rejects the WHOLE import before any write), then routes each row through the governed write path.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-Olivares-Tenant
string format: uuid
Target tenant id; required when the principal can act in more than one tenant.
Request Body required
Section titled “Request Body required ” Media type application/x-ndjson
NDJSON memory-portability bundle: the first line is the signed manifest; each remaining line is one memory row.
string
Example generated
exampleResponses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}Bad request
Media type application/json
object
Example generated
{}Unauthenticated
Media type application/json
object
Example generated
{}Forbidden
Media type application/json
object
Example generated
{}Not found
Media type application/json
object
Example generated
{}Conflict / setup required
Media type application/json
object
Example generated
{}Rate limited
Media type application/json
object
Example generated
{}