Eval Metrics

The Eval Metrics API exposes the built-in metrics library used by the evaluation framework. All metrics return scores in the range [0.0, 1.0] where higher is better. Use them directly for quick experiments or reference them from outcome rubrics and eval runs. All eval metric endpoints require the caller to be an organization owner or admin.

Base URL

For local development:

Endpoints

Built-in metrics

List metrics

Response

Score a prediction

Request body

Response

Score consistency

Request body

Response

At least two responses are required.

Error codes