---
title: "Get Training Job Logs"
method: GET
path: "/v1/training-jobs/{job_id}/logs"
tags: ["training-jobs"]
---

# Get Training Job Logs

`GET /v1/training-jobs/{job_id}/logs`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/training-jobs/{job_id}/logs`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/training-jobs/:job_id/logs/get.ts> (a function with typed inputs; its response is checked against the schema)

Get training output logs (stdout/stderr) for a specific job.

## Path parameters

- `job_id` string, required

## Response `200`

Successful Response

- TrainingLogsResponse: Response containing training output logs for a job
  - `job_id` string, required
  - `logs` TrainingOutputLogEntry[], required
    - `id` string, required
    - `job_id` string, required
    - `timestamp` string, date-time, required
    - `level` string, required
    - `message` string, required
    - `source` string, required
  - `total_logs` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/training-jobs/:job_id/logs/get.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) - [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/0e5e86e2bae5?raw)
