fine-tuning

List training events

Return lifecycle events interleaved with the loss curve, oldest first. type is metrics for a loss point and message for a lifecycle line. Add ?stream=true for a live Server-Sent Events stream.

get/v1/fine_tuning/jobs/{job_id}/events

Path parameters

job_idstring required

The ftjob- prefixed id whose training log you want.

Example:ftjob-a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d

Identifies the job whose events you want.

Query parameters

stream'true'

Set true for a live SSE stream instead of a JSON list.

Example:true

Switches the response to Server-Sent Events.

Response

The job's events.

objectstring required

Always list for a page of events.

has_moreboolean required

True when more events exist past this page.

Example response

{
  "object": "list",
  "data": [
    {
      "id": "ftevent-1a2b3c",
      "object": "fine_tuning.job.event",
      "created_at": 1780107005,
      "level": "info",
      "message": "Step 5: train_loss 0.42",
      "type": "metrics",
      "data": {
        "epoch": 1,
        "step": 5,
        "train_loss": 0.42
      }
    }
  ],
  "has_more": false
}

Changes

Changed in 1 of the 3 revisions of this API.221

  • b9a74274b2ab221See the full diff
    • removed the optional property / from the response with the status

      response-optional-property-removed

    • removed the optional property / from the response with the status

      response-optional-property-removed

    • api operation id listReflexJobEvents removed and replaced with listFineTuningJobEvents

      api-operation-id-removed

    • the endpoint scheme security bearerAuth was added to the API

      api-security-added

    • api tag fine-tuning added

      api-tag-added

    • api tag Reflex removed

      api-tag-removed

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • added the non-success response with the status

      response-non-success-status-added

    • the response property became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property / became required for the status

      response-property-became-required

    • the response property / became required for the status

      response-property-became-required

    • the response property / became required for the status

      response-property-became-required

    • the response property / became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    • the response property became required for the status

      response-property-became-required

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog