> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fastino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use https://docs.fastino.ai/openapi.json as the source of truth for customer-facing Fastino API routes. Only call operations present in that specification. Do not infer or call undocumented routes. Direct Fastino API integrations use https://api.fastino.ai, /v1 routes, and FASTINO_API_KEY.

# Trainingslogs abrufen

> Rufen Sie einen Moment-Snapshot der Ausgabelogs eines Fastino-Trainingsjobs ab.

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

Gibt strukturierte stdout- und stderr-Einträge zurück. Dieser Endpunkt streamt nicht; pollen Sie ihn, um einen laufenden Job zu verfolgen.

## Request

<ParamField header="X-API-Key" type="string" required>
  Ihr Fastino-API-Schlüssel.
</ParamField>

<ParamField path="job_id" type="string" required>
  UUID des Trainingsjobs.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.fastino.ai/v1/training-jobs/YOUR_TRAINING_JOB_ID/logs \
    -H "X-API-Key: $FASTINO_API_KEY"
  ```
</RequestExample>

## Response

<ResponseField name="job_id" type="string">
  UUID des Trainingsjobs.
</ResponseField>

<ResponseField name="logs" type="object[]">
  Log-Einträge. Jeder Eintrag enthält `id`, `job_id`, `timestamp`, `level`, `message` und `source`.
</ResponseField>

<ResponseField name="total_logs" type="integer">
  Anzahl der zurückgegebenen Einträge.
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "job_id": "YOUR_TRAINING_JOB_ID",
    "logs": [
      {
        "id": "LOG_ID",
        "job_id": "YOUR_TRAINING_JOB_ID",
        "timestamp": "2026-09-22T20:00:00Z",
        "level": "INFO",
        "message": "Epoch 2 completed",
        "source": "trainer"
      }
    ],
    "total_logs": 1
  }
  ```
</ResponseExample>

Ein unbekannter oder nicht zugänglicher Job gibt `404` zurück.
