---
title: "Update Run Route"
method: PATCH
path: "/api/runs/{run_id}"
tags: ["runs"]
---

# Update Run Route

`PATCH /api/runs/{run_id}`

## Path parameters

- `run_id` string, required

## Request body

- RunUpdateRequest
  - `projectId` string, uuid, required
  - `trainingTaskId` string, uuid, required
  - `status` 'pending' | 'running' | 'completed' | 'failed' | 'cancelled', nullable
  - `error` string, nullable
  - `config` object, nullable

## Response `200`

Successful Response

- RunUpdateResponse
  - `ok` boolean
  - `run_id` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/freesolo/apis/platform-backend.md) · [All operations](https://skmtc.dev/freesolo/apis/platform-backend/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/freesolo/platform-backend/revisions/5626e92675af/schema)
