HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

Get aggregate appliance stats data for a single appliance filter by query parameters.

This operation is used to retrieve appliance aggregate stats for a single appliance. Depend on what query parameters are provided. The response format may look different.

Log in to see full request history
Query Params
string
required

Appliance internal id to filter from.

integer
required

Long(Signed 64 bits) value of EPOCH time indicating the starting time boundary of data time range

integer
required

Long(Signed 64 bits) value of EPOCH time indicating the ending time boundary of data time range

string
required

Data granularity filtering whether data is minutely data, hourly data or daily data.

string

Filter for data for given traffic type

boolean

Using IP as key for grouping stats instead of using internal appliance id as key.

string

If this query parameter is given, we aggregate stats in a way that we sort stats by this {metric}. This query parameter could also be used with {top} query parameters to limit how many items we want to retrieve.

integer

This parameter should be provided together with {metric} as this query parameter is used to indicate top x items of a metric. Example, if metric=throughput&top=10 is provided, you're saying you want to retrieve top 10 tunnels by throughput.

string

The only format other than JSON we support currently is CSV, so format=csv.

boolean

Boolean value indicating whether you want to group aggregate stats by appliance, if true is provided, there will be an extra level of key inside each tunnel stats object indicating what appliance the inner stats object belongs to. Default value is true.

Response

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json