Update session metadata.
Replace the entire metadata object for a session. Use this to attach custom attributes like conversation topics, tags, or application-specific data to your sessions.
Path Parameters:
custom_user_id (str): Unique identifier for the user owning the sessionsession_id (UUID): Session UUID to updateBody Parameters:
new_metadata (Dict[str, Any]): New metadata JSON object (replaces existing metadata completely)Returns:
session (SessionInfo): Updated session with new metadata