---
title: "Update a plot"
method: PATCH
path: "/v0/projects/{project}/plots/{plot}"
tags: ["projects", "plots"]
---

# Update a plot

`PATCH /v0/projects/{project}/plots/{plot}`

Update a plot for a project. The user must have `edit` permissions for the project.

## Path parameters

- `plot` string, uuid, required
- `project` string, required

## Request body

- union
  - JsonPlotPatch
    - `index` integer
    - `title` string
    - `window` integer
  - JsonPlotPatchNull
    - `index` integer
    - `title` string, required
    - `window` integer

## Response `200`

successful operation

- JsonPlot
  - `benchmarks` BenchmarkUuid[], required
  - `branches` BranchUuid[], required
  - `created` string, date-time, required
  - `lower_boundary` boolean, required
  - `lower_value` boolean, required
  - `measures` MeasureUuid[], required
  - `modified` string, date-time, required
  - `project` string, uuid, required
  - `testbeds` TestbedUuid[], required
  - `title` string
  - `upper_boundary` boolean, required
  - `upper_value` boolean, required
  - `uuid` string, uuid, required
  - `window` integer, required
  - `x_axis` 'date_time' | 'version', required

## Other responses

- `4XX` — Error
- `5XX` — Error

## Changes

- **2026-03-20** `36c8ad753527` — 18 warning
  - removed the request property `anyOf[#/components/schemas/JsonPlotPatchNull]/benchmarks`
  - removed the request property `anyOf[#/components/schemas/JsonPlotPatchNull]/branches`
  - removed the request property `anyOf[#/components/schemas/JsonPlotPatchNull]/lower_boundary`
  - removed the request property `anyOf[#/components/schemas/JsonPlotPatchNull]/lower_value`
  - …14 more

[Change history](https://skmtc.dev/bencherdev/apis/bencher-api/changes/v0/projects/:project/plots/:plot/patch.md)

---

[API](https://skmtc.dev/bencherdev/apis/bencher-api.md) · [All operations](https://skmtc.dev/bencherdev/apis/bencher-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bencherdev/bencher-api/revisions/e275aaefcb34/schema)
