Skip to main content
GET
Get evaluation histogram data

Path Parameters

system_id
string
required
version_id
string
required
eval_name
string
required

Query Parameters

start_time
string<date-time>

Start time for the query in RFC3339 format. Defaults to 7 days ago if not specified.

metric
string

Optional numeric metric to aggregate per categorical value. When omitted, bars represent trace counts.

aggregation
enum<string>

Aggregation applied to 'metric' per categorical value. Defaults to 'count'.

Available options:
count,
mean,
min,
max,
p50,
p95
filter
string

Optional URL-encoded JSON filter. See the /filters endpoint for available fields.

Response

OK

aggregation
enum<string>
required

Echoes the aggregation applied ("count" when no metric was requested).

Available options:
count,
mean,
min,
max,
p50,
p95
available_metrics
string[] | null
required

Numeric metrics that can be aggregated for this categorical.

data
object[] | null
required

Histogram buckets, one per categorical value.

end_time
string<date-time>
required

Exclusive end of the histogram window.

start_time
string<date-time>
required

Inclusive beginning of the histogram window.

x_axis_label
string
required

Name of the evaluation represented on the x-axis.

$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"/api/model-services/v1/aisystem/schemas/GetEvaluationHistogramResponseBody.json"

metric
string

Echoes the aggregated metric; empty in count mode.

unit
string

Unit of the aggregated values, when known (e.g. "ms" for response time).

Last modified on September 3, 2026