""" Detection API request/response models. Source of truth for detection pipeline API shapes. Generated to Pydantic via modelgen. """ from dataclasses import dataclass @dataclass class RunRequest: """Request body for launching a detection pipeline run.""" video_path: str # storage key profile_name: str = "soccer_broadcast" source_asset_id: str = "" checkpoint: bool = True skip_vlm: bool = False skip_cloud: bool = False log_level: str = "INFO" # INFO | DEBUG @dataclass class RunResponse: """Response after starting a pipeline run.""" status: str job_id: str video_path: str DETECT_API_VIEWS = [RunRequest, RunResponse]