/** * This file was auto-generated by Fern from our API Definition. */ import * as Klavis from "../index.js"; /** * Mem0 Memory object */ export interface Mem0Memory { /** Memory ID (read-only, set by Mem0) */ id?: string; /** Memory content (returned from API) */ memory?: string; /** Array of message objects representing the content */ messages?: Klavis.Mem0Message[]; /** Agent ID */ agent_id?: string; /** User ID */ user_id?: string; /** App ID */ app_id?: string; /** Run ID */ run_id?: string; /** Additional metadata */ metadata?: Record; /** String to include specific preferences in the memory */ includes?: string; /** String to exclude specific preferences in the memory */ excludes?: string; /** Whether to infer memories or directly store messages */ infer?: boolean; /** Response format structure (v1.0 or v1.1) */ output_format?: string; /** List of custom categories with name and description */ custom_categories?: Record[]; /** Project-specific guidelines for handling memories */ custom_instructions?: string; /** Whether the memory is immutable */ immutable?: boolean; /** Whether to add memory asynchronously */ async_mode?: boolean; /** Unix timestamp of the memory */ timestamp?: number; /** Expiration date (YYYY-MM-DD) */ expiration_date?: string; /** Memory version (v1 deprecated, use v2) */ version?: string; /** Creation timestamp */ created_at?: string; /** Last update timestamp */ updated_at?: string; /** Memory owner */ owner?: string; /** Organization */ organization?: string; }