cURL
curl --request DELETE \ --url https://api.promptmetrics.dev/traces/cleanup \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "before_date": "2023-11-07T05:31:56Z" } '
{ "responseData": { "data": { "deleted_count": 123 } } }
SDK API key in format: pm_
Cleanup completed
Show child attributes