Get environment metrics
Gets metrics aggregated across every deployment that was active on the environment in the given time range.
Authorizations
Query Parameters
'CURRENT': a single instantaneous snapshot at now; start/end must be omitted. 'SUMMARY': a single value set aggregating the whole window. 'SERIES': evenly-spaced value sets across the window, with the step derived from the window duration. How metric values are aggregated over the request.
CURRENT, SUMMARY, SERIES Names of the metrics to return; see https://docs.baseten.co/observability/export-metrics/supported-metrics for the available names. When omitted, a default set is returned: baseten_replicas_active, baseten_inference_requests_total, and baseten_end_to_end_response_time_seconds. Unknown names are rejected; valid names that do not apply are omitted from the response.
Response
Model metrics over a time window, index-mapped: metric descriptors appear once
in metric_descriptors; each value set's values are aligned to that order.