Get observability metrics usage
Get time-series arrays of the number of observability metrics. Supports hourly, daily, and monthly granularity.
Authorization
ApiKey read, writeIn: header
Scope: read, write
Query Parameters
The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.
stringThe series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.
stringA project key to filter results by. Can be specified multiple times, one query parameter per project key.
stringSpecifies the data granularity. Defaults to daily. Valid values depend on aggregationType: month_to_date supports hourly, daily, and monthly; average supports hourly, daily, and monthly.
stringSpecifies the aggregation method. Defaults to month_to_date.Valid values: month_to_date, average.
stringResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v2/usage/observability/metrics"{ "_links": { "property1": null, "property2": null }, "metadata": [ { "property1": null, "property2": null } ], "series": [ { "0": 11, "1": 15, "time": 1677888000000 } ]}