Skip to main content

List jobs

GET 

/job

Retrieve jobs, optionally filtered by status.

Request

Query Parameters

    status string

    Possible values: [submitted, processing, completed, failed, partial_failure]

    Filter jobs by status.

    limit integer

    Possible values: >= 1 and <= 100

    Default value: 10

    Maximum number of jobs per page (1-100).

    offset integer

    Default value: 0

    Number of jobs to skip for pagination.

Responses

A list of jobs.

Schema

    total_items integer

    Total number of jobs matching the filter.

    status_counts

    object

    Count of all jobs by status (submitted, processing, completed, failed, partial_failure). Derived from key names during the listing pass — no extra reads.

    property name* integer

    items

    object[]

  • Array [

  • id uuid

    Unique identifier of the job.

    status string

    Current status of the job.

    created string

    Creation timestamp.

    operation

    object

    The operation data.

    property name* any

    The operation data.

    result

    The result data if completed.

    changed booleannullable

    Whether the operation modified system state. Null for pending/failed jobs; true/false for completed jobs.

    error string

    Error message if failed.

    hostname string

    Agent hostname that processed the job.

    updated_at string

    Last update timestamp.

    responses

    object

    Per-agent response data for broadcast jobs.

    property name*

    object

    status string
    data

    Agent result data.

    changed booleannullable
    error string
    hostname string

    agent_states

    object

    Per-agent processing state for broadcast jobs.

    property name*

    object

    status string
    error string
    duration string

    timeline

    object[]

    Chronological sequence of job lifecycle events.

  • Array [

  • timestamp string

    ISO 8601 timestamp of the event.

    event string

    Event type (submitted, acknowledged, started, completed, failed, retried).

    hostname string

    Agent or source that generated the event.

    message string

    Human-readable description of the event.

    error string

    Error details if applicable.

  • ]

  • ]

Loading...