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

Overview

Returns per-step training and evaluation metrics for the job (e.g. the loss curve). This list is cursor-paginated and is sorted newest-first. You can filter the list to a single series using the kind parameter.

Request

string
required
The fine-tuning job ID for whicch to return metrics. This is a TypeID-encoded identifier with the FineTuningJobId prefix.
string
Filters the results to a single series: train (per-step), eval (held-out passes), or train_summary (end-of-run aggregate). Omit this parameter to return all metrics.
string
Forward cursor: return points older than the one with this ID. Pass the next_cursor of the previous page. Mutually exclusive with before.
string
Backward cursor: return points newer than the one with this ID. Pass the prev_cursor of the current page. Mutually exclusive with after.
integer
default:"20"
The maximum number of points to return. Minimum 1, maximum 1000. v1.1.11+

Response

Returns a page of metric datapoints.
string
The object type of a list response. Always list.
array
The training/evaluation metric datapoints. Each datapoint is represented by a FineTuningMetric record.
boolean
Whether or not more datapoints exist beyond this page.
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.