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

id
string
required
The fine-tuning job ID for whicch to return metrics. This is a TypeID-encoded identifier with the FineTuningJobId prefix.
kind
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.
after
string
Forward cursor: return points older than the one with this ID. Mutually exclusive with before.
before
string
Backward cursor: return points newer than the one with this ID. Mutually exclusive with after.
limit
integer
The maximum number of points to return (1–100).

Response

Returns a page of metric datapoints.
object
string
The object type of a list response. Always list.
data
array
The training/evaluation metric datapoints. Each datapoint is represented by a FineTuningMetric record.
has_more
boolean
Whether or not more datapoints exist beyond this page.