Jobs

Cancel a submitted video processing job.

Only jobs still in the "processing" state can be cancelled. Cancelling an already-cancelled job succeeds without changing anything; jobs that have completed or terminally failed return 409.

When VIDEO_ENDPOINTS_LIVE is False, returns a preview response.

post/api/v1/jobs/{job_id}/cancel

Request

Path parameters

job_idstring required

Headers

x-api-keystring required

Required API key issued by Preciser.

Leaguestring required

Required tenant/database selector, for example pitchbio-master.

Response

Successful Response

sport_game_type'5v5' | '3v3' nullable

Effective basketball format: the per-video override takes precedence over the organization default. 3v3 uses 1/2-point field goals; 5v5 uses 2/3-point field goals. Null when unknown or not applicable.

job_idstring required
statestring required
messagestring nullable

Processing failure, incomplete-result, or verification guidance.

start_of_playstring

Actual game start time from dms_main.videos.actual_game_start_time formatted as a video timestamp; empty until it is available.

completed_atstring nullable

Final worker-start-to-status-complete duration formatted as hh:mm:ss; null until processing is complete, or when worker timing was not recorded.

processing_started_atstring nullable

UTC (+00:00) timestamp when the worker started processing; null until processing has started, or when worker timing was not recorded.

video_qualityobject nullable

Objective video-quality measurements (resolution and frame_rate) with per-component 0-1 scores. Unknown metadata is represented by null component scores. No grade or show/hide decision is implied.

Changes