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

# Projekt eines Trainingsjobs aktualisieren

> Weisen Sie einen Fastino-Trainingsjob einem Projekt zu oder heben Sie die Zuordnung auf.

`PATCH /v1/training-jobs/{job_id}`

Aktualisiert ausschließlich die `project_id` des Jobs.

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

<ParamField body="project_id" type="string | null">
  UUID des zuzuweisenden Projekts. Senden Sie `null`, um die Zuordnung des Jobs aufzuheben.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X PATCH https://api.fastino.ai/v1/training-jobs/YOUR_TRAINING_JOB_ID \
    -H "X-API-Key: $FASTINO_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"project_id": "YOUR_PROJECT_ID"}'
  ```
</RequestExample>

## Response

Gibt `200` mit `success` und `message` zurück.

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "message": "Training job project updated"
  }
  ```
</ResponseExample>

<Note>
  Dies ändert nur das Projekt-Label des Trainingsjobs. Zugehörige Deployments, Inferenzen oder Evaluationsläufe werden nicht verschoben.
</Note>

Unbekannte Anfragefelder, einschließlich anderer Trainingsjob-Felder, geben `422` zurück. Ein nicht verfügbarer Job oder ein nicht verfügbares Projekt gibt einen anfragespezifischen `4xx`-Fehler zurück.
