---
title: "Update experiment by id"
method: PATCH
path: "/v1/private/experiments/{id}"
tags: ["Experiments"]
---

# Update experiment by id

`PATCH /v1/private/experiments/{id}`

Update experiment by id

## Path parameters

- `id` string, uuid, required

## Request body

- ExperimentUpdate
  - `name` string
  - `metadata` JsonNode
  - `tags` string[] — Tags
  - `tags_to_add` string[] — Tags to add
  - `tags_to_remove` string[] — Tags to remove
  - `type` 'regular' | 'trial' | 'mini-batch' | 'mutation'
  - `status` 'running' | 'completed' | 'cancelled' — The status of the experiment
  - `experiment_scores` ExperimentScore[]
    - `name` string, required
    - `value` number, required

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `404` — Not found

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
