Video cancel (Beta)
Cancel a video generation request.
501 not_implemented_yet error while cancellation behavior is finalized across providers.
Treat cancellation as not yet generally available across the public video surface even though the route and SDK method names exist.Authorizations
Bearer token authentication
Path Parameters
The internal AI Stats video job ID (G-...).
Response
Video cancellation response
WebSocket URL for subscribing to normalized async job lifecycle updates.
queued, processing, completed, failed, cancelled, expired Normalized async lifecycle status for polling, websocket, and webhook consumers.
pending, running, completed, failed, cancelled, expired bytes, signed_url, both Provider-native video/job id when it differs from the gateway-owned id.
"video"
20
Present when output_access includes bytes (authenticated endpoint).
Signed first-party URL for direct download when status is completed.
Unix timestamp (seconds) when the signed download_url expires.
Sanitized async webhook configuration plus delivery state. Secrets are never returned; has_secret indicates whether signed deliveries are enabled. Signed deliveries include x-ai-stats-signature, x-ai-stats-timestamp, x-ai-stats-event-id, x-ai-stats-event-type, x-ai-stats-delivery-key, x-ai-stats-attempt, and x-ai-stats-max-attempts headers.
ISO timestamp for the next scheduled user-webhook retry, when queued.
Most recent coarse progress bucket dispatched to webhook consumers.
ISO timestamp when the most recent webhook progress bucket was dispatched.
ISO timestamp for the most recent webhook dispatch attempt.