Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Response
200
Updated criterion
curl --request PATCH \
  --url https://api.lunary.ai/v1/evals/criteria/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "metric": "<string>",
  "threshold": 123,
  "weighting": 123,
  "parameters": {}
}'curl --request PATCH \
  --url https://api.lunary.ai/v1/evals/criteria/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "metric": "<string>",
  "threshold": 123,
  "weighting": 123,
  "parameters": {}
}'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Updated criterion