Create a new conversation session for a user.
Sessions track conversation history and are used for memory extraction. Messages added to a session will be processed to extract and store long-term memories when the session is finalized.
Path Parameters:
custom_user_id (str): Unique identifier for the userBody Parameters:
auto_process_after_seconds (int): Seconds of inactivity before session auto-processes. Must be >= 600. Default: 600metadata (Dict[str, Any]): Optional JSON metadata to attach to the sessioncustom_created_at_utc (datetime): Optional custom timestamp for when the session was created. Must be UTC timezone-aware. Useful for benchmarking or importing historical data. Default: current timeReturns:
session (SessionInfo): Created session with ID, status, creation timestamp, and metadataSession created successfully