Skip to main content
GET
cURL

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

read

Grants read access

Path Parameters

business_metric_token
string
required

Query Parameters

start_date
string<date>
required

First date to include (YYYY-MM-DD).

end_date
string<date>
required

Last date to include (YYYY-MM-DD), within 12 calendar months of the start month.

top_labels
integer<int32>
required

Number of labels ranked by their sum over the period. Monthly totals include every label.

Required range: 1 <= x <= 100

Response

Get monthly business metric values for the highest-total labels in a date range

RankedBusinessMetricValues model

months
string[]
required

Months with data, in chronological order (YYYY-MM-01).

monthly_totals
string[]
required

Sums across every label, in months order.

series
object[]
required