API reference · Fine-tuning
A job's events, oldest first
/v1/fine-tunes/{fine_tune_id}/events- TypeScript
client.fineTuning.listEvents()- Python
client.fine_tuning.list_events()- CLI
hayonix fine-tunes events
The job's timeline: state changes, checkpoints, warnings and errors, from the platform and from the training run.
Project API key (Authorization: Bearer sk_…), or a console session. Requires the fine_tune_job:read permission (a key's scope, or a role that includes it).
Examples
The samples read API_KEY and API_BASE_URL from the environment (see Setup). Values are examples.
curl -sS "$API_BASE_URL/fine-tunes/ftj_01jc5zq4m8k3v6x9t2w7r0b1e4/events" \
-H "Authorization: Bearer $API_KEY"Request
| Header | Required | Description |
|---|---|---|
Authorization | yes | Bearer and your API key. The key implies its project. |
X-Project-Id | session only | The project to act in, for console sessions. Requests with an API key leave it out. |
Path parameters
fine_tune_idstringrequiredID of the fine-tuning job
ID with prefix ftj_
Query parameters
limitinteger1–200, default 50
1–200
cursorstring`next_cursor` of the previous page
up to 200 characters
Response
200 a page of results — A page of events
The items of this page.
ShowHide 8 fields of
dataidstringrequiredUnique ID (`fte_…`)
ID with prefix fte_
objectstringrequiredAlways `fine_tune_event`: the type of this object
One of
fine_tune_eventsourcestringrequired`platform`: recorded by the platform (creation, launch, the end of the job); `trainer`: reported by the training run itself
One of
platformtrainerlevelstringrequiredSeverity
One of
infowarningerrortypestringrequiredWhat happened, as a machine-readable snake_case name
messagestringrequiredOne sentence for people
dataobject | nullrequiredDetails; their shape depends on the kind of entry
created_atstring (date-time)requiredWhen it was created (ISO 8601, UTC)
next_cursorstring | nullrequiredPass as `cursor` for the next page; null on the last page.
Example response
{
"data": [
{
"id": "fte_01jc5zq4m8k3v6x9t2w7r0b1e4",
"object": "fine_tune_event",
"source": "platform",
"level": "info",
"type": "checkpoint_saved",
"message": "string",
"data": {},
"created_at": "2026-01-01T00:00:00.000Z"
}
],
"next_cursor": "string"
}Errors
Errors use the standard envelope. What this operation can answer:
| Status | Type | When |
|---|---|---|
400 | invalid_request_error | A parameter or body field is missing or not allowed; param names it. |
401 | authentication_error | The key or session is missing, revoked or expired. |
403 | permission_error | The credential lacks the permission this needs, or the organization is suspended. |
404 | not_found_error | No such resource in this project (an ID from another project is answered the same way). |
429 | rate_limit_error rate_limited | Too many requests; retry after retry-after seconds. |