Skip to content

Ingests a signed memory-portability bundle.

POST
/v1/m/knowledge/memory/import
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.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

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
example

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
{}