Skip to main content
PATCH
/
api
/
settings
/
scoring
Update Scoring Weights
curl --request PATCH \
  --url https://evalgate.com/api/settings/scoring \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "passThreshold": 50,
  "weights": {
    "accuracy": 123,
    "relevance": 123,
    "safety": 123,
    "coherence": 123
  }
}
'
{
  "error": {
    "message": "<string>",
    "details": "<unknown>",
    "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
passThreshold
number
Required range: 0 <= x <= 100
weights
object

Response

Scoring configuration updated