Get Model API metrics
Gets Model API metrics for a time range, labeled by team.
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_model_api_inference_requests_total, baseten_model_api_incoming_inference_requests_total, and baseten_model_api_tokens_total. Unknown names are rejected; valid names that are not enabled for your organization 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.