Skip to main content
Effective Date — May 7, 2026
As part of the IAM hierarchy simplification, a new format of the TIR APIs is now available. All endpoints that previously included /teams/:team_id segment will now follow a service-centric structure, with project_id now passed as a query parameter instead of a path segment. You can read more about this change

Gateway Metric Data

Returns time-series monitoring data for a specific metric. Use the List Available Metrics endpoint to get valid metric names.

GET/gateway/{gateway_id}/metrics/{metric_name}/

Path parameters

  • gateway_idPathintegerrequired

    Gateway ID

  • metric_namePathstringrequired

    Name of the metric to retrieve. Get valid names from the List Available Metrics endpoint.

Query parameters

  • project_idQueryintegerrequired

    Project ID

  • locationQuerystringrequired

    Location

  • active_iamQueryintegeroptional

    Active IAM ID (To access contact person account) Find your Active IAM ID here

  • intervalQuerystringoptional

    Time window for metric aggregation.

Responses

200Time-series data for the requested metric.
object
codeinteger
example200
dataobject
errorsobject
messagestring
exampleSuccess