Jobs
List Jobs
Retrieve a paginated list of jobs with optional filters
GET
Requires version 1.1.0 or later of the Archetype platform.
Overview
This endpoint returns a paginated list of jobs. You can filter by pipeline type, status, or a free-text search query.Request
string
Filter jobs by pipeline type (e.g.,
batch, training)string
Filter jobs by status (e.g.,
PENDING, RUNNING, COMPLETED, FAILED, CANCELLED)string
Optional filter on the job outcome:
SUCCESS, PARTIAL, or FAILED. These are AND-combined
with the other filters. Only COMPLETED jobs have an outcome, so a non-empty value for this
parameter implicitly limits results to completed jobs. v1.1.5+string
Free-text search query to filter jobs
integer
Number of items to skip for pagination (default: 0)
integer
Maximum number of items to return per page
Response
integer
Total number of jobs matching the filter criteria
integer
Current pagination offset
integer
Maximum number of items returned
array
Array of job objects, each containing:
id— Unique job identifierorg_id— Organization identifiername— Job namepipeline_type— Pipeline type (batchortraining)pipeline_key— Pipeline keypipeline_version— Pipeline versionstatus— Current job statusoutcome— Job outcome (SUCCESS,PARTIAL, orFAILED). Omitted for jobs whosestatusisn’tCOMPLETEDv1.1.5+parameters— Job parametersretry_count— Number of retriespreemption_count— Number of preemptionsqueue_position— Current position in queue (if queued)queue_depth— Total queue depth (if queued)input_progress— Per-status counts of tracked inputs (pending,processing,completed,failed,processed_bytes,total_bytes); populated on this list endpoint,nullon write-path responses (see theinput_progressproperty returned by the Get Job endpoint)created_at— Creation timestampupdated_at— Last update timestampstarted_at— Start timestamp (if started)completed_at— Completion timestamp (if completed)failed_at— Failure timestamp (if failed)cancelled_at— Cancellation timestamp (if cancelled)error— Error details (if failed)