Memories
Scope: ServerRpc (server-wide operations tied to the Client)
For an overview of RPC and the list of all RPC pages, see RPC.
memories.import (experimental)
memories()->import() validates semantic memory JSONL and stores the records according to the server’s account and repository policies. Pass the whole input as jsonl and the directory the memory service uses as workingDirectory. You can set onConflict to skip or error.
With dryRun: true, the SDK only validates the input and sends no records. To import for real, pass dryRun: false.
Each diagnostic contains line, code, message and an optional externalId. Each record result also contains status. You can also pass the arguments as an array.Last modified on November 25, 2026