---
title: "Rename Evaluation Pipeline"
method: PATCH
path: "/reports/{report_id}/rename"
tags: ["reports"]
---

# Rename Evaluation Pipeline

`PATCH /reports/{report_id}/rename`

## Path parameters

- `report_id` integer, required

## Request body

- RenameReportRequest — Provide name, tags, or both. At least one field is required.
  - `name` string, nullable — New pipeline name.
  - `tags` string[], nullable — Replacement tags. Pass an empty array to clear all tags.

## Response `200`

Evaluation pipeline renamed or retagged.

- RenameReportResponse
  - `success` true, required
  - `report` EvaluationPipelineSummary, required
    - `id` integer
    - `name` string
    - `tags` string[]
    - `score_configuration` ScoreConfiguration — Custom scoring configuration. The code receives a data variable containing row dictionaries and must return an object with at least a score key from 0 to 100.
      - `code` string, required — Python or JavaScript code used to calculate the score.
      - `code_language` 'PYTHON' | 'JAVASCRIPT' — Language used by the scoring code.

## Other responses

- `400` — Validation error - neither name nor tags was provided
- `401` — Unauthorized - missing or invalid API key.
- `404` — Not found - requested resource does not exist or is not accessible.
- `422` — Validation error - request parameters or body are invalid.

---

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