> ## 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/llms.txt to discover and navigate pages. Use https://docs.fastino.ai/llms-full.txt when you need the complete documentation corpus. Use https://docs.fastino.ai/openapi.json as the source of truth for customer-facing routes. For GLiDE decision inference, call POST https://api.fastino.ai/v1/systemone with model fastino/GLiDE. Start managed training (config job) with POST /v1/training/jobs using base_model. For interactive training, native JSON clients use the public operations under /v1/training/jobs and /v1/training/usage. Existing Tinker clients use tinker==0.32.0 with TINKER_BASE_URL=https://api.fastino.ai/v1/training/compat/tinker and TINKER_CREDENTIAL_CMD. Compatibility child routes are private and absent from OpenAPI. Auto Train is private access and has no public route; direct interested users to sales@fastino.ai. Do not infer undocumented routes. Read API keys from FASTINO_API_KEY and never embed credentials in code, logs, or reports.

# Rename a trained model

> Call PATCH /v1/training/jobs/{job_id}/model-name to rename a trained model. New names use 1-64 letters, numbers, hyphens, or underscores.

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

This operation is config-only; after normal feature and permission checks, an interactive job ID returns `400`, so set `model_name` when deploying an interactive sampler checkpoint instead.

Updates the model name on a training job.

## Request

**X-API-Key** `string` *required*

Your Fastino API key.

**job\_id** `string` *required*

Training-job UUID.

**model\_name** `string` *required*

New model name. Length: 1–64 characters. Use letters, numbers, hyphens, or underscores.

```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"}'
```

## Response

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

Invalid names return `422`. An unknown or inaccessible job returns `404`.

## Authorization

Requires the Owner, Admin, or Editor team role. Other roles receive `403 Forbidden`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.