Delete Collection
DELETEhttps://api.confident-ai.com/v2/metric-collections/{metricCollectionId}
Permanently deletes a metric collection. Every evaluation rule that runs this collection is deleted with it, and test runs and scheduled tasks stop pointing at it.
curl -X DELETE "https://api.confident-ai.com/v2/metric-collections/{metricCollectionId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<METRIC-COLLECTION-ID>"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
metricCollectionIdstringRequiredThe unique id of the metric collection.
Response
Delete Collection succeeded.
successbooleanIndicates if the request was successful.
dataobjectShow 1 propertyHide 1 property
idstringThis is the id of the metric collection.
deprecatedbooleanIndicates if this endpoint is deprecated.