Outcome Rubrics

Outcome rubrics let you define reusable, organization-scoped scoring criteria for evaluating agent runs. Each rubric contains one or more criteria with a scoring type and optional weight. Rubrics can be created from scratch or from built-in templates. All outcome rubric endpoints require the caller to be an organization owner or admin.

Base URL

For local development:

Endpoints

Criteria types

Each criterion has an id, name, optional description, scoring_type, and optional weight. When weights are provided, the total score is a weighted average; otherwise a simple average is used.

Create a rubric

Request body

Response

Create from a template

Built-in templates

Response

Score against a rubric

Request body

Response

The example above computes a weighted average: (4*2 + 3.5*1 + 1*1) / (2+1+1) = 3.0.

List rubrics

Response

Update a rubric

Delete a rubric

Response

Error codes