Skip to main content
POST
Get l2 Statistics

Authorizations

Authorization
string
header
required

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

Body

application/json
since
string<date-time>
required
until
string<date-time>
required
column
enum<string>[]
required
Available options:
rx_bytes,
tx_bytes,
rx_bits,
tx_bits,
rx_packets,
tx_packets,
rx_bytes_dropped_by_meter,
tx_bytes_dropped_by_meter,
rx_packets_dropped_by_meter,
tx_packets_dropped_by_meter,
rx_bps,
tx_bps,
rx_pps,
tx_pps,
rx_bps_dropped_by_meter,
tx_bps_dropped_by_meter,
rx_pps_dropped_by_meter,
tx_pps_dropped_by_meter,
incoming_bps,
outgoing_bps,
incoming_pps,
outgoing_pps
filters
StatisticsL2Filters · object
required
sample_rate
enum<string>
default:auto

Enum defining the sample rate in any Statistics API request

Available options:
auto,
10s,
30s,
1m,
5m,
15m,
1h
flags
StatisticsFlags · object | null

Response

Successful Response

sample_rate
string
required
samples
Samples · object[]