Skip to main content
DELETE
/
report-columns
/
{report_column_id}
Delete Evaluation Pipeline Column
curl --request DELETE \
  --url https://api.promptlayer.com/report-columns/{report_column_id} \
  --header 'X-API-KEY: <x-api-key>'
Delete a single column from an evaluation pipeline. Surrounding columns shift left to fill the gap.

Important Notes

  • Cannot delete DATASET columns. The protected columns sourced from the dataset cannot be deleted.
  • Blueprint pipelines only. Columns on a finished batch run cannot be deleted; only columns on the blueprint can.
  • Cells are re-queued. Any column to the right of the deleted column has its cells re-queued for execution, since references may have shifted.

Example

import requests

response = requests.delete(
    "https://api.promptlayer.com/report-columns/789",
    headers={"X-API-KEY": "your-api-key"},
)
# 204 No Content on success

Error Responses

StatusError
403Cannot delete a non-blueprint column
404Report column not found, or column is a DATASET column

Headers

X-API-KEY
string
required

Your PromptLayer API key.

Path Parameters

report_column_id
integer
required

ID of the report column to delete.

Response

Column deleted successfully