Get experiment score histogram with filters

Return the same histogram response as GET. POST is accepted for consistency with dashboard views.

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.

Request

This endpoint expects an object.
filtersobjectOptional
Filter criteria using the standard Respan filter format.
is_exportingbooleanOptionalDefaults to false
Reserved for dashboard exports.

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