Launch Week 02 wrapped — explore all five launches

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.

DELETE/v2/metric-collections/{metricCollectionId}
curl -X DELETE "https://api.confident-ai.com/v2/metric-collections/{metricCollectionId}" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "<METRIC-COLLECTION-ID>"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • metricCollectionIdstringRequired

    The unique id of the metric collection.

Response

Delete Collection succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    Show 1 propertyHide 1 property
    • idstring

      This is the id of the metric collection.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI