Skip to main content
GET
Requires version 1.1.0 or later of the Archetype platform.

Overview

This endpoint returns a cursor-paginated list of jobs, newest first. 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, PAUSED, COMPLETED, FAILED, INTERRUPTED, 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
default:"10"
Page size, between 1 and 1000. Clamped server-side.
string
Forward cursor: return jobs created before the job with this ID. Pass the previous page’s next_cursor. Mutually exclusive with before; sending both returns an HTTP 400 error. v1.1.11+
string
Backward cursor: return jobs created after the job with this ID. Pass the current page’s prev_cursor. Mutually exclusive with after; specifying both returns an HTTP 400 error. v1.1.11+

Response

array
Array of job objects, newest first in both cursor directions, each containing:
  • id — Unique job identifier
  • org_id — Organization identifier
  • name — Job name
  • pipeline_type — Pipeline type (batch or training)
  • pipeline_key — Pipeline key; this value is the same as workflow_key and is retained for backward compatibility
  • workflow_key — Workflow key; this value is the same as pipeline_key, which is retained for backward compatibility v1.1.8+
  • pipeline_version — Pipeline version
  • status — Current job status
  • outcome — Job outcome (SUCCESS, PARTIAL, or FAILED). Omitted for jobs whose status isn’t COMPLETED v1.1.5+
  • parameters — Job parameters
  • retry_count — Number of retries
  • preemption_count — Number of preemptions
  • queue_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, null on write-path responses (see the input_progress property returned by the Get Job endpoint)
  • created_at — Creation timestamp
  • updated_at — Last update timestamp
  • started_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)
boolean
true when more jobs exist beyond this page in the direction of travel. v1.1.11+
string
Cursor for the next page in the same direction — pass it as after when paging forward, or as before when the request used before. null when has_more is false. v1.1.11+
string
Cursor to step back the way this page was reached — pass it as before after a forward page, or as after after a backward one. null when the request carried no cursor. v1.1.11+