Our docs got a refresh! Check out the new content and improved navigation. For detailed API reference see our Python SDK docs and TypeScript SDK.
Description
API referenceEvaluators

Delete Evaluator Criteria

Permanently deletes an evaluator criterion identified by public_id.

Note:

  • This action is unrecoverable; deleted data cannot be restored.
  • Deletion is only permitted if no existing evaluations reference this criterion.
DELETE
/v1/evaluator-criteria/{public_id}
/v1/evaluator-criteria/{public_id}

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Path Parameters

public_id
Required
Public Id

Format: "uuid"
curl -X DELETE "https://api.patronus.ai/v1/evaluator-criteria/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "X-API-KEY: <token>"

Successful Response