cURL
curl --request DELETE \ --url https://api.promptlayer.com/reports/{report_id} \ --header 'X-API-KEY: <x-api-key>'
{ "success": true, "message": "<string>" }
Archive a single evaluation pipeline by ID. Prefer this over deleteReportsByName when you have the report’s ID, since names can collide.
import requests response = requests.delete( "https://api.promptlayer.com/reports/456", headers={"X-API-KEY": "your-api-key"}, ) # {"success": true, "message": "Report archived successfully"}
404
Your PromptLayer API key.
ID of the evaluation pipeline to archive.
Pipeline archived successfully
Was this page helpful?