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

# Renombrar un modelo entrenado

> Actualiza el nombre para mostrar asociado a un trabajo de entrenamiento de Fastino.

Actualiza el nombre del modelo en un trabajo de entrenamiento.

## Solicitud

<ParamField header="X-API-Key" type="string" required>
  Tu clave de API de Fastino.
</ParamField>

<ParamField path="job_id" type="string" required>
  UUID del trabajo de entrenamiento.
</ParamField>

<ParamField body="model_name" type="string" required>
  Nuevo nombre del modelo. Longitud: 1–64 caracteres. Usa letras, números, guiones o guiones bajos.
</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>

## Respuesta

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

Los nombres inválidos devuelven `422`. Un trabajo desconocido o inaccesible devuelve `404`.
