---
title: "Update run config"
method: POST
path: "/api/runs/config/update"
tags: ["Runs"]
---

# Update run config

`POST /api/runs/config/update`

## Request

- Base URL: `https://pluto-api.trainy.ai`
- URL: `https://pluto-api.trainy.ai/api/runs/config/update`
- Auth: HTTP bearer

Merges new configuration with existing run config. New keys override existing keys.

## Request body

- UpdateConfigRequest
  - `runId` number, required: Numeric ID of the run
  - `config` string, required: Configuration as JSON string

## Response `200`

Config updated successfully

- Success
  - `success` boolean, required

## Other responses

- `400`: Invalid config JSON
- `404`: Run not found

---

[API](https://skmtc.dev/trainy/apis/mlop-api.md) - [All operations](https://skmtc.dev/trainy/apis/mlop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trainy/apis/mlop-api/revisions/5d2c0b0baecb?raw)
