Skip to main content
Get volumes over time

Authorizations

Authorization
string
header
required

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

Headers

Project-Id
string

The project to act on, by ID or name. Required with an organization key unless the key reaches only one project; list projects with GET /projects. A project key acts on its own project and needs no value: naming another one is an error.

Query Parameters

range
enum<string>
default:30d

The time window. 24h is the last 24 hours, in hourly buckets. 7d, 30d and 90d are whole UTC days that end with today, in daily buckets.

Available options:
24h,
7d,
30d,
90d
channel
string

A channel ID or key. Only count content from this channel. Leave out to count all channels.

Response

Successful response

range
enum<string>
required

The time window of the numbers.

Available options:
24h,
7d,
30d,
90d
channelId
string | null
required

The channel the numbers are for. Null when they are for all channels.

bucket
enum<string>
required

The size of each entry in volumes.

Available options:
hour,
day
volumes
object[]
required

Counts over time, oldest first. Buckets with no requests are included with zeros.