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

# Update Training Job Model Name

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

Update the model_name for a training job.

Thin wrapper: visibility scoping, validation, the UPDATE, and the
activity-event side effect all live in
:meth:`TrainingJobService.update_model_name`. The router only owns
HTTP concerns (status codes, request/response shaping) per
``brain/CLAUDE.md``.

## 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
  - `success` boolean, required
  - `message` string, required
  - `job_id` string, required
  - `model_name` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/revisions/b92f75fd3b61/schema)
