Skip to main content
GET
/
api
/
v1
/
organizations
/
{organization_id}
/
jobs
/
{job_id}
/
metrics
Get Job Metrics
curl --request GET \
  --url https://api.example.com/api/v1/organizations/{organization_id}/jobs/{job_id}/metrics \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "perplexity": "<string>",
      "step": 123,
      "timestamp": "2023-11-07T05:31:56Z",
      "training_loss": "<string>",
      "validation_loss": "<string>"
    }
  ],
  "training_steps": 123,
  "training_tokens": 123,
  "validation_steps": 123
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers -- Authorization: Bearer <access_token>

Path Parameters

organization_id
string
required
job_id
string
required

Response

Successful response.

data
JobMetric · object[] | null
required
training_steps
integer<int64>
required

The total number of training steps. Each step typically corresponds to a single forward and backward pass over a batch of training data

training_tokens
integer<int64>
required

The cumulative number of tokens processed during training.

validation_steps
integer<int64>
required

The total number of validation steps. Each step typically corresponds to a single forward and backward pass over a batch of validation data