---
title: "Update Training Job Model Name"
method: PATCH
path: "/v1/training/jobs/{job_id}/model-name"
tags: ["training-jobs"]
---

# Update Training Job Model Name

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

## Request

- Base URL: `https://api.fastino.ai`
- URL: `https://api.fastino.ai/v1/training/jobs/{job_id}/model-name`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/fastino-ai/apis/pioneer-inference-api/docs/v1/training/jobs/:job_id/model-name/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update the model_name for a training job.

## Path parameters

- `job_id` string, required

## Request body

- UpdateModelNameRequest: Request to update a training job's model name
  - `model_name` string, required: New model name (alphanumeric, hyphens, underscores)

## Response `200`

Successful Response

- UpdateModelNameResponse: Response model for updating model name
  - `job_id` string, required
  - `message` string, required
  - `model_name` string, required
  - `success` boolean, required

## Other responses

- `409`: The job's owner already has a model with this name.
- `422`: Validation Error

## Changes

- **2026-10-17** `81465e18c1d2`: 1 info
  - added the non-success response with the status `409`
- **2026-10-13** `5ebfd9fe8f46`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api/changes/v1/training/jobs/:job_id/model-name/patch.md)

---

[API](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api.md) - [All operations](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fastino-ai/apis/pioneer-inference-api/revisions/81465e18c1d2?raw)
