Skip to main content
POST
Get metrics with filtering and grouping

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

Project ID

Body

application/json

Metrics query parameters including filters, environments, and pagination

cursor
integer
environments
string[]
filters
object[]
from_timestamp_sec
integer
limit
integer
logical_operator
enum<string>
Available options:
AND,
OR
metric_name
string
metric_source
string
sort_by
string
sort_order
string
to_timestamp_sec
integer

Response

Grouped metrics with data points

metrics
object