v4

latestOpenAPI 3.1.02026-08-019681,1012.0 MB
metric_roll_up

Create Metric Roll Up Config

Create or update a metric roll up configuration for a scorer.

The metric name is derived from the scorer name.

The scorer must have a compatible output type for the roll up methods:

  • Numeric roll up methods (average, sum, max, min) require numeric output types (boolean, percentage, number, discrete, count)
  • Categorical roll up methods (category_count) require categorical output types (categorical, freeform, multilabel)

If a configuration already exists for this scorer, it will be updated.

post/scorers/{scorer_id}/metric-roll-up-config

Path parameters

scorer_idstring uuid4 required

Request body

Response

Successful Response

idstring uuid4 required
organization_idstring uuid4 required
scorer_idstring uuid4 required
metric_namestring required
created_atstring date-time required
updated_atstring date-time required