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

# Trainiertes Modell umbenennen

> Aktualisieren Sie den Anzeigenamen eines Fastino-Trainingsjobs.

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

Aktualisiert den Modellnamen eines Trainingsjobs.

## 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="model_name" type="string" required>
  Neuer Modellname. Länge: 1–64 Zeichen. Verwenden Sie Buchstaben, Ziffern, Bindestriche oder Unterstriche.
</ParamField>

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

## Response

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "message": "Model name updated",
    "job_id": "YOUR_TRAINING_JOB_ID",
    "model_name": "my-model-name"
  }
  ```
</ResponseExample>

Ungültige Namen geben `422` zurück. Ein unbekannter oder nicht zugänglicher Job gibt `404` zurück.
