Launch Week 02 wrapped — explore all five launches

Delete Rule

DELETEhttps://api.confident-ai.com/v2/evaluation-rules/{evaluationRuleId}

Permanently deletes an evaluation rule. Metric results it already produced are kept; only the rule stops running. This action cannot be undone.

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

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • evaluationRuleIdstringRequired

    The id of the evaluation rule.

Response

Delete Rule succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    A reference to an evaluation rule by its id.

    Show 1 propertyHide 1 property
    • idstring

      The id of the rule, generated by Confident AI.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI