Return the traffic analysis data for this network

GET {{baseUrl}}/networks/:networkId/traffic

Return the traffic analysis data for this network. Traffic analysis with hostname visibility must be enabled on the network.

Request Params

KeyDatatypeRequiredDescription
t0stringThe beginning of the timespan for the data. The maximum lookback period is 30 days from today.
timespanstringThe timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 30 days.
deviceTypestringFilter the data by device type: 'combined', 'wireless', 'switch' or 'appliance'. Defaults to 'combined'. When using 'combined', for each rule the data will come from the device type with the most usage.

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull

RESPONSES

status: OK

[{"application":"Gmail","destination":null,"protocol":"TCP","port":443,"sent":138,"recv":61,"numClients":7,"activeTime":77000,"flows":300}]