Get experiment score histogram with filters
Compute histogram aggregation for experiment evaluation scores. The backend reads evaluator_id and bins from query parameters; it does not consume a request body.
Authentication
AuthorizationBearer
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.
OR
AuthorizationBearer
Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.
Path parameters
experiment_id
Experiment ID returned as id in experiment responses.
Query parameters
evaluator_id
Evaluator ID, optionally including a grader suffix such as eval_123:grader_name.
bins
Number of histogram bins for numerical scores. Maximum 50.
Response
Experiment score histogram.
evaluator_id
bins
stats
evaluator_slug
evaluator_name
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error