Our Python SDK got smarter. We developed a Typscript SDK too. We are updating our SDK code blocks. Python SDKhere.Typscript SDKhere.
Description

Delete Evaluation 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