Cloud Task consumer: execute a queued VideoInspectionRun.

Runs with non_atomic_requests (mirroring the ingest job consumers)
because the work does GCS I/O and a long-running model call that must not
happen inside an open database transaction on the workspace DB. The runner
opens its own short transactions for the atomic claim and the persist swap.
Status is communicated only through the run's own state, so this returns 204.

Service-account only: the task is dispatched with a Cloud Tasks OIDC token
(tasks.start_video_inspection -> create_task), so only
GoogleCloudServiceAccountAuthentication is accepted and IsServiceAccount
rejects everyone else. A Firebase-authenticated workspace user must NOT be able
to reach this destructive, force-capable endpoint and re-run any run around
the viewset's throttle, ownership and protected-findings guards.

Required permissions:

  • WorkspaceRequired
  • IsServiceAccount
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Response
201
Language
Credentials
Header
LoadingLoading…