HomeGuidesAPI Reference
API Reference

Get tunnel time series statistics for a single appliance

Retrieves tunnel time series statistics for a single appliance filtered by query parameters. Returns a JSON object with 'column_def' (array of column names) and 'data' (array of stats arrays). Column definitions and data structure vary based on the selected metric. When format=CSV, returns a downloadable Excel-compatible file.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required
^\d+\.NE$

Network Element Primary Key - unique appliance identifier assigned by Orchestrator. Format: '.NE' (e.g., '0.NE', '10.NE').

int64
required
≥ 0

Start time boundary as Unix epoch seconds (signed 64-bit). Must be >= 0 and less than endTime.

int64
required
≥ 0

End time boundary as Unix epoch seconds (signed 64-bit). Must be >= 0 and greater than startTime.

string
enum
required

Data aggregation interval. Determines which database table is queried (minute, hourly, or daily).

Allowed:
string
required

Tunnel name/alias to filter statistics. Cannot be empty.

integer
1 to 10000
Defaults to 10000

Maximum number of stats records to retrieve. Default: 10000, Maximum: 10000.

string
enum

Response format. Use 'CSV' for downloadable Excel-compatible file. Default: JSON.

Allowed:
boolean
Defaults to false

Use IP address as key for grouping stats instead of nePk. Default: false.

string

Overlay filter for bonded tunnels. Required when metric is 'throughput'. Values: '0' returns physical tunnels only; omitted returns all tunnels; other values return bonded tunnels for that overlay ID.

string
enum
required

Metric type determining which statistics columns are returned. Each metric returns different column definitions.

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/vnd.ms-excel