Webhook eventsWebhook Events

file.upload.failed

Delivered when a file upload fails. Only fired for files uploaded via the API.

Payload

The payload of this webhook request is an object.
eventenumRequired

Webhook event types for file upload lifecycle. Only fired for files uploaded via the API (not the VideoGen UI).

fileIdstringRequired

File id (e.g. vg_file_...).

occurredAtdoubleRequired

Seconds since epoch (Unix timestamp) when the event occurred.

fileobjectRequired
Hydrated file object with the latest state at the time of the event.
errorobject or nullOptional

Error details. Present only on file.upload.failed and file.analysis_failed.

Response

200
Acknowledge receipt