> ## 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.

# Abrechnung eines Trainingsjobs abrufen

> Rufen Sie das Abrechnungsergebnis für einen Fastino-Trainingsjob ab.

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

Gibt zurück, ob ein Job abgerechnet wurde, und sofern verfügbar den Betrag sowie die GPU-Dauer.

## 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/billing \
    -H "X-API-Key: $FASTINO_API_KEY"
  ```
</RequestExample>

## Response

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

<ResponseField name="status" type="string">
  Aktueller gespeicherter Job-Status.
</ResponseField>

<ResponseField name="started_at" type="string | null">
  Zeitpunkt, zu dem der Job in die Verarbeitung übergeben wurde.
</ResponseField>

<ResponseField name="compute_started_at" type="string | null">
  Zeitpunkt, zu dem der Trainingscontainer mit der Ausführung begonnen hat.
</ResponseField>

<ResponseField name="completed_at" type="string | null">
  Zeitpunkt, zu dem der Job abgeschlossen wurde.
</ResponseField>

<ResponseField name="billed" type="boolean">
  Gibt an, ob ein Abrechnungseintrag existiert.
</ResponseField>

<ResponseField name="request_id" type="string | null">
  Zugehörige ID der Abrechnungsanfrage.
</ResponseField>

<ResponseField name="charged_usd" type="string | null">
  Berechneter Betrag in USD, dargestellt als Dezimalstring.
</ResponseField>

<ResponseField name="gpu_minutes" type="string | null">
  Abgerechnete GPU-Minuten, dargestellt als Dezimalstring.
</ResponseField>

<ResponseField name="billed_at" type="string | null">
  Zeitpunkt, zu dem der Abrechnungseintrag erstellt wurde.
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "job_id": "YOUR_TRAINING_JOB_ID",
    "status": "complete",
    "started_at": "2026-09-22T20:00:00Z",
    "compute_started_at": "2026-09-22T20:01:00Z",
    "completed_at": "2026-09-22T20:31:00Z",
    "billed": true,
    "request_id": "REQUEST_ID",
    "charged_usd": "3.25",
    "gpu_minutes": "30.0",
    "billed_at": "2026-09-22T20:32:00Z"
  }
  ```
</ResponseExample>

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