// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation
import Get
import URLQueryEncoder

extension Paths.Orpheus.Sessions.User {
    public func uid(_ uid: String) -> WithUid {
        WithUid(path: "\(path)/\(uid)")
    }

    public struct WithUid {
        /// Path: `/api/orpheus/sessions/user/{uid}`
        public let path: String

        /// Get User Sessions
        ///
        /// Get Orpheus chat sessions for a specific user (staff only).
        /// 
        /// Returns the latest 200 sessions sorted by updated_at (newest first).
        /// 
        /// Args:
        ///     uid: User ID to fetch sessions for
        /// 
        /// Returns:
        ///     ListSessionResponse with up to 200 sessions
        public var get: Request<GenAPI.ListSessionResponse> {
            Request(path: path, method: "GET", id: "studio_api_bots_orpheus_api_get_user_sessions")
        }
    }
}
