Перейти к основному содержанию
GET
List jobs with pagination and filtering

Авторизации

X-API-Key
string
header
обязательно

API key authentication. Generate an API key from your account settings at https://platform.comfy.org/profile/api-keys. Pass the key in the X-API-Key header.

Параметры запроса

status
string

Filter by one or more statuses (comma-separated). If not provided, returns all jobs.

workflow_id
string

Filter by workflow ID (exact match)

output_type
enum<string>

Filter by output media type (only applies to completed jobs with outputs)

Доступные опции:
image,
video,
audio
sort_by
enum<string>
по умолчанию:create_time

Field to sort by (create_time = when job was submitted, execution_time = how long workflow took to run)

Доступные опции:
create_time,
execution_time
sort_order
enum<string>
по умолчанию:desc

Sort direction (asc = ascending, desc = descending)

Доступные опции:
asc,
desc
offset
integer
по умолчанию:0

Pagination offset (0-based)

Требуемый диапазон: x >= 0
limit
integer
по умолчанию:100

Maximum items per page (1-1000)

Требуемый диапазон: 1 <= x <= 1000

Ответ

Success - Jobs retrieved

jobs
object[]
обязательно

Array of jobs ordered by specified sort field

pagination
object
обязательно