Skip to main content
POST
/
statistics
/
pbr_traffic
Get PBR traffic Statistics
curl --request POST \
  --url https://api.example.com/statistics/pbr_traffic \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "since": "2023-11-07T05:31:56Z",
  "until": "2023-11-07T05:31:56Z",
  "column": [
    "cps"
  ],
  "filters": {
    "vrf_name": "<string>",
    "rule_name": "<string>",
    "tenant_name": "<string>"
  },
  "sample_rate": "auto",
  "flags": {
    "group_by_rule_name": true
  }
}
'
{
  "sample_rate": "<string>",
  "samples": []
}

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:
cps,
bps,
pps,
bytes,
packets,
connections,
concurrent_connections
filters
StatisticsPbrFilters · 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
StatisticsPbrTraficFlags · object

Response

Successful Response

sample_rate
string
required
samples
Samples · object[]