Return the client's network traffic data over time
GET {{baseUrl}}/networks/:networkId/clients/:clientId/trafficHistory
Return the client's network traffic data over time. Usage data is in kilobytes. This endpoint requires detailed traffic analysis to be enabled on the Network-wide > General page. Clients can be identified by a client key or either the MAC or IP depending on whether the network uses Track-by-IP.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
perPage | string | The number of entries per page returned. Acceptable range is 3 - 1000. | |
startingAfter | string | A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. | |
endingBefore | string | A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null |
RESPONSES
status: OK
[{"ts":"2018-02-11T00:00:00.090210Z","application":"Google","destination":"www.google.com","protocol":"UDP","port":443,"recv":383,"sent":56,"numFlows":5,"activeSeconds":240}]