Skip to main content

List jobs

Auth: API Key required

Query parameters

number
default:"50"
Maximum number of jobs to return (pagination).
number
default:"0"
Number of jobs to skip (pagination offset).
offset is ignored whenever status is set. The filtered path calls getJobsByStatus(status, limit), which takes no offset, so paginating a filtered list re-returns the same first page. offset is echoed back in the response either way.
string
Filter by job status. One of: pending, processing, completed, error, cancelled.

Response

This endpoint serves database rows as they are stored. Field names are snake_case, not camelCase, and timestamps are epoch milliseconds, not ISO 8601 strings.
array
number
Number of jobs in this response, not the total matching the filter.
Video Status returns the same jobs in a converted shape: camelCase keys and ISO 8601 timestamps. The two endpoints do not agree on field names by design, one serves rows and the other serves a view model.

Example


Retry job

Re-queues a failed job for processing. Auth: API Key required

Path parameters

string
required
ID of the job to retry. Must have error status.

Response

Status codes: 200 success · 400 job not in error state · 500 error

Example


Cancel job

Cancels a pending job before it starts processing. Auth: API Key required

Path parameters

string
required
ID of the job to cancel. Must have pending status.

Response

Status codes: 200 success · 400 job not pending · 500 error

Example


Delete job

Permanently removes a job record from the queue. Auth: API Key required

Path parameters

string
required
ID of the job to delete.

Response

Status codes: 200 success · 400 failed · 500 error

Example


Queue Statistics

Aggregate counts per status.

Queue Events (SSE)

Real-time progress updates.

Video Status

Check processing status by file path.