Nirmos
SDK reference

Memory export for user reference

Method signatures, parameters, responses and examples for memory export for user.

Use a configured server-side nirmos client from the quickstart. See the memory guide for prerequisites and workflows. Example IDs and configured model names are placeholders; replace them with organization-visible resources before executing. Mutating calls change live resources.

HTTP calls reject with APIError subclasses on unsuccessful HTTP responses and may throw NetworkError, TimeoutError or RequestAbortedError. Signatures describe SDK values after response decoding; they are not raw HTTP envelopes. Backend validation, permissions and feature availability remain authoritative.

MethodTransport
memory.exportForUserControl plane

memory.exportForUser

Export User Memories

Control plane: POST /v1/memory/users/:userId/export.

Credentials: Personal or service API key with the required grants.

Required permission: privacy:export.

REST endpoint, security and schemas · Related guide

Types: RequestOptions · Responses

nirmos.memory.exportForUser(
  input: { userId: string; },
  options?: RequestOptions | undefined
): Promise<Responses["exportUserMemories"]>
ParameterRequiredType / default
inputYes{ userId: string; }
optionsNoRequestOptions | undefined

Returns: Responses["exportUserMemories"].

Example

const result = await nirmos.memory.exportForUser({
  "userId": "user-id"
});

On this page