Delete Collection
DELETEhttps://api.confident-ai.com/v1/metric-collections/{metricCollectionId}
Permanently deletes a metric collection.
Warning: This action cannot be undone. The evaluation rules that run this collection are deleted with it, and test runs, eval tasks and scheduled dataset tasks stop pointing at it.
curl -X DELETE "https://api.confident-ai.com/v1/metric-collections/{metricCollectionId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "COLLECTION-ID"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
metricCollectionIdstringRequiredThe id of the metric collection you want to delete.
Response
The id of the deleted metric collection.
successbooleanIndicates if the request was successful.
dataobjectThe id of the affected metric collection.
Show 1 propertyHide 1 property
idstringThis is the id of the metric collection.
deprecatedbooleanIndicates if this endpoint is deprecated.