---
title: "Get Training Job Events"
method: GET
path: "/v1/preview/training-jobs/{training_job_id}/events"
tags: ["training-jobs"]
---

# Get Training Job Events

`GET /v1/preview/training-jobs/{training_job_id}/events`

## Request

- Base URL: `https://api.training.wandb.ai`
- URL: `https://api.training.wandb.ai/v1/preview/training-jobs/{training_job_id}/events`
- Auth: HTTP bearer

Get events for a training job.

## Path parameters

- `training_job_id` string, required

## Query parameters

- `after` string: Cursor for pagination
- `limit` integer: Number of items to return

## Response `200`

Successful Response

- PaginatedResponseTrainingJobEventResponse
  - `object` string: Object type identifier
  - `data` TrainingJobEventResponse[], required: Array of items
    - `id` string, uuid, required
    - `type` 'training_started' | 'gradient_step' | 'training_ended' | 'training_failed', required: Training job event type enumeration.
    - `data` object, required
  - `first_id` string: ID of the first item in the current page
  - `last_id` string: ID of the last item in the current page
  - `has_more` boolean, required: Whether there are more items available

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/wandb/apis/serverless-training.md) - [All operations](https://skmtc.dev/wandb/apis/serverless-training/llms.txt) - [OpenAPI document](https://skmtc.dev/wandb/apis/serverless-training/revisions/8d8d96fc0fd3?raw)
