Fine tuning
Get metrics
Retrieves recorded training metrics for a fine-tuning job in chronological order. All query parameters are optional: omit them to retrieve all metrics.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Fine-tune job ID. A string that starts with ft-.
Query Parameters
global_step_from?integer
Return only metrics with global_step >= this value.
global_step_to?integer
Return only metrics with global_step <= this value.
logged_at_from?string
Return only metrics logged at or after this ISO-8601 timestamp.
Format
date-timelogged_at_to?string
Return only metrics logged at or before this ISO-8601 timestamp.
Format
date-timeresolution?integer
Number of (uniformly sampled) train metrics to return.
Response Body
application/json
curl -X GET "https://example.com/fine-tunes/string/metrics?global_step_from=0&global_step_to=500&logged_at_from=2024-01-01T00%3A00%3A00Z&logged_at_to=2024-01-01T12%3A00%3A00Z&resolution=100"{ "metrics": [ { "property1": 0, "property2": 0 } ]}