Skip to main content
GET
Get statistics as time series

Authorizations

Authorization
string
header
required

Project API access key.

Aptranet-Secret
string
header
required

Current secret for the access key.

Query Parameters

from
string<date-time>
required
Example:

"2024-12-14T12:00:00Z"

to
string<date-time>
required
Example:

"2024-12-14T12:00:00Z"

granularity
enum<string>
required
Available options:
1h,
1d
metrics
enum<string>[]
required
Available options:
total_bytes,
total_requests

Response

Successful response.