---
title: "Rename corrected artifact file"
method: PATCH
path: "/api/v1/runs/{id}/reviews/expected/{filename}"
tags: ["Reviews"]
---

# Rename corrected artifact file

`PATCH /api/v1/runs/{id}/reviews/expected/{filename}`

Renames one corrected artifact file attached to the run review.

## Path parameters

- `id` string, required — Run id.
- `filename` string, required — Corrected artifact file name or slash-delimited path, as returned by `GET /runs/{id}/reviews/expected`.

## Request body

- RunReviewExpectedFileUpdateRequest — Rename one corrected file.
  - `name` string, required — New corrected file name.

## Response `200`

Renamed corrected file.

- RunReviewExpectedFileUpdateResponse
  - `name` string, required

## Other responses

- `400` — Validation error. Request shape did not match the spec.
- `401` — Missing or invalid API key
- `403` — API key lacks required scope
- `404` — Resource not found
- `413` — Payload too large. Upload exceeded the per-request size cap.
- `429` — Rate limit exceeded
- `500` — Internal server error

---

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