Skip to main content
GET
/
fine_tuning
/
jobs
/
{id}
/
logs
curl "https://api.u1.archetypeai.app/v0.6/fine_tuning/jobs/your-job-id/logs?level=INFO&limit=20" \
  -H "Authorization: Bearer $ATAI_API_KEY"
{
  "object": "list",
  "data": [
    {
      "id": "your-event-id",
      "created_at": 1765201323,
      "level": "INFO",
      "type": "worker.log",
      "index": 0,
      "message": "step 1000 | loss 0.123"
    }
  ],
  "has_more": false
}
Requires version 1.1.5 or later of the Archetype platform.

Overview

Returns a cursor-paginated list of events for the job, with the newest event listed first.
Unlike List Job Events, this endpoint returns all job events, including events from workers.

Request

id
string
required
The fine-tuning job ID. This is a TypeID-encoded identifier with the FineTuningJobId prefix.
level
string
Filter by severity, e.g. INFO, WARN, ERROR, SUCCESS, FAILED.
q
string
Case-insensitive search matched against the event message and type.
after
string
Forward cursor: return events older than the event with this ID. Mutually exclusive with before.
before
string
Backward cursor: return events newer than the event with this ID. Mutually exclusive with after.
limit
integer
The maximum number of events to return (1–100).

Response

Returns a page of events.
object
string
The object type of a list response. Always list.
data
array
The events emitted for the job.
has_more
boolean
Whether or not more events exist beyond this page.
curl "https://api.u1.archetypeai.app/v0.6/fine_tuning/jobs/your-job-id/logs?level=INFO&limit=20" \
  -H "Authorization: Bearer $ATAI_API_KEY"
{
  "object": "list",
  "data": [
    {
      "id": "your-event-id",
      "created_at": 1765201323,
      "level": "INFO",
      "type": "worker.log",
      "index": 0,
      "message": "step 1000 | loss 0.123"
    }
  ],
  "has_more": false
}