Skip to main content
PATCH
/
reports
/
{report_id}
/
rename
Rename Evaluation Pipeline
curl --request PATCH \
  --url https://api.promptlayer.com/reports/{report_id}/rename \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "name": "Customer support - production blueprint",
  "tags": [
    "production",
    "support"
  ]
}
'
{
  "success": true,
  "report": {
    "id": 456,
    "name": "Customer support - production blueprint",
    "tags": [
      "production",
      "support"
    ]
  }
}
Rename or retag an evaluation pipeline. Provide name, tags, or both when you want to update pipeline metadata without recreating the pipeline.

Authorizations

X-API-KEY
string
header
required

Path Parameters

report_id
integer
required

ID of the evaluation pipeline to rename.

Body

application/json

Rename or retag payload.

Provide name, tags, or both. At least one field is required.

name
string | null

New pipeline name.

Required string length: 1 - 255
tags
string[] | null

Replacement tags. Pass an empty array to clear all tags.

Response

Evaluation pipeline renamed or retagged.

success
enum<boolean>
required
Available options:
true
report
EvaluationPipelineSummary · object
required