Skip to main content
POST
Create a criterion

Authorizations

Authorization
string
header
required

Use a project private API key via Authorization: Bearer <key>.

Body

application/json
evalId
string
required
name
string
required
metric
string
required
threshold
number | null
weighting
number
parameters
object

Response

200

Created criterion