The Brain instance to read from.
Export the full brain state to a JSON file at outputPath.
Absolute path to write the JSON output.
Optional options: ExportOptionsOptional export configuration. includeEmbeddings (default
false): when true, raw embedding BLOBs are encoded as base64 strings and
included in the output. includeConversations (default true): when
false, conversation and message rows are omitted from the output.
Export the full brain state as a JSON string without filesystem access.
Optional options: ExportOptionsOptional export configuration (embeddings, conversations).
Pretty-printed JSON string of the full brain payload.
Exports a
Brainto a structured JSON file.Usage: