Get experiment score histogram

Return histogram bins and summary statistics for a numerical or boolean evaluator score in an experiment.

Path parameters

experiment_idstringRequired

Experiment ID returned as id in experiment responses.

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY for API key auth or Bearer <JWT> for dashboard auth.

Query parameters

evaluator_idstringRequired

Evaluator ID, optionally including a grader suffix such as eval_123:grader_name.

binsintegerOptional1-50Defaults to 20
Number of histogram bins for numerical scores. Maximum 50.

Response

Experiment score histogram.
evaluator_idstring
binslist of objects
statsobject
evaluator_slugstring or null
evaluator_namestring or null

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error