Launch Week 02 wrapped — explore all five launches

Delete Classifier

DELETEhttps://api.confident-ai.com/v2/classifiers/{classifierId}

Permanently deletes a classifier and all of its labels, and returns its id. Classifications already applied to traces or threads are not removed. This action cannot be undone. Requires the Starter plan or above.

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

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • classifierIdstringRequired

    The id of the classifier.

Response

Delete Classifier succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    A reference to a classifier by its id.

    Show 1 propertyHide 1 property
    • idstring

      The id of the classifier, generated by Confident AI.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI