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

# Update a training job's project

> Assign or unassign a Fastino training job from a project.

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

Updates only the job's `project_id`.

## Request

<ParamField header="X-API-Key" type="string" required>
  Your Fastino API key.
</ParamField>

<ParamField path="job_id" type="string" required>
  Training-job UUID.
</ParamField>

<ParamField body="project_id" type="string | null">
  Project UUID to assign. Send `null` to unassign the job.
</ParamField>

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

## Response

Returns `200` with `success` and `message`.

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "message": "Training job project updated"
  }
  ```
</ResponseExample>

<Note>
  This changes the training job's project label only. It does not move related deployments, inferences, or evaluation runs.
</Note>

Unknown request fields, including other training-job fields, return `422`. An unavailable job or project returns a request-specific `4xx` error.
