Launch Week 02 wrapped — explore all five launches

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.

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

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • metricCollectionIdstringRequired

    The id of the metric collection you want to delete.

Response

The id of the deleted metric collection.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    The id of the affected metric collection.

    Show 1 propertyHide 1 property
    • idstring

      This is the id of the metric collection.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI