cURL
curl --request PUT \ --url https://api.promptmetrics.dev/dataset-archive \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "datasetId": "<string>" } '
{ "message": "<string>" }
Archive a dataset (soft delete).
SDK API key in format: pm_
Dataset archived