v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
analytics

Get Model Metrics

Return per-model metrics for the last 24 hours.

Counts, error counts, average latency, and last-inference timestamp are all scoped to the last 24 hours. latest_evaluation is all-time.

Args: request: Batch of model ids to look up. auth: Authentication result carrying the user id and team scope.

Returns: ModelMetricsResponse with an entry for each requested id.

post/analytics/model-metrics

Request body

model_idsstring[] required

Model identifiers to compute metrics for. Accepts training-job UUIDs and base catalog ids.

sincestring date-time nullable

Inclusive start of the rollup window (UTC). Defaults to 24 hours ago, preserving the legacy last-24h behaviour. Drives the page-level date picker on the models / routers surfaces.

untilstring date-time nullable

Exclusive end of the rollup window (UTC). Defaults to now.

Response

Successful Response

metricsobject