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

Overview

Returns a cursor-paginated list of fine-tuning jobs. You can filter by model, method, status, outcome, or a free-text search using the q parameter. The list is ordered on the field identified by sort (created_at by default), in the direction specified by order. Ties are broken on created_at, then id. The page is in sort order whether it was reached with after or before. Cursors are opaque and bound to the sort they were issued under; a cursor from another sort returns an HTTP 400 error. An invalid filter, sort, order, or cursor also returns an HTTP 400 error.

Request

string
Filter by model, e.g. newton.
string
Filter by training method, e.g. lora or head.
string
Filter by lifecycle status, e.g. PENDING, RUNNING, PAUSED, COMPLETED, FAILED, INTERRUPTED, CANCELLED.
string
Filter by completion outcome (SUCCESS/PARTIAL/FAILED). Only completed jobs carry an outcome, so specifying a value for this parameter implicitly limits results to completed jobs. v1.1.5+
string
Case-insensitive search matched against the job name, suffix, and produced model name.
string
default:"created_at"
Specifies the field on which the returned list is ordered. Ties are broken on created_at, then id, so pages are stable. v1.1.12+Must be one of the following:
string
Specifies whether sorting is performed in ascending order (asc) or descending order (desc). When sorting by created_at or finished_at, this defaults to desc. When sorting by status, this defaults to asc. A cursor marks a position in the list and stays valid under either direction. v1.1.12+
string
Forward cursor: return the jobs that follow this page’s last job in the sort order. This value is opaque; pass the previous page’s next_cursor. A cursor is bound to the sort it was issued under; using it with a different sort returns an HTTP 400 error. Mutually exclusive with before; sending both returns an HTTP 400 error. v1.1.12+
string
Backward cursor: return the jobs that precede this page’s first job in the sort order. This value is opaque; pass the current page’s prev_cursor. Mutually exclusive with after; sending both returns an HTTP 400 error. v1.1.12+
integer
default:"20"
The maximum number of jobs to return. Minimum 1, maximum 1000. v1.1.11+

Response

Returns a page of fine-tuning jobs.
string
The object type. Always list.
array
An array of the jobs for this page, sorted by the column specified by sort, in the ordering specified by order (newest first by default) in both cursor directions. Each item is a fine-tuning job object.
boolean
Whether more jobs exist beyond this page in the direction of travel.
string
Cursor to continue in the direction of travel — pass it as after when paging forward (the default), 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 (the first page has nothing to step back to). v1.1.12+