Skip to main content
POST
/
evaluations
/
rescore
Rescore Evaluation
curl --request POST \
  --url https://api.example.com/evaluations/rescore \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_evaluation_run_id": "<string>",
  "scorer_refs": [
    "<string>"
  ],
  "project_id": "<string>",
  "wb_user_id": "<string>"
}
'
{
  "call_id": "<string>",
  "evaluation_run_id": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Full rescore request including server-set fields.

source_evaluation_run_id
string
required

The evaluation run whose predictions will be rescored

scorer_refs
string[]
required

Scorer references (weave:// URIs) to apply; must be non-empty

Minimum array length: 1
project_id
string
required
wb_user_id
string | null

Do not set directly. Server will automatically populate this field.

Response

Successful Response

Response for a rescore request.

call_id
string
required

Call ID for /evaluations/status polling

evaluation_run_id
string
required

The newly created EvaluationRun ID