Return the usage histories for clients

GET {{baseUrl}}/networks/:networkId/clients/usageHistories

Return the usage histories for clients. Usage data is in kilobytes. Clients can be identified by client keys or either the MACs or IPs depending on whether the network uses Track-by-IP.

Request Params

KeyDatatypeRequiredDescription
clientsstring(Required) A list of client keys, MACs or IPs separated by comma.
ssidNumberstringAn SSID number to include. If not specified, events for all SSIDs will be returned.
perPagestringThe number of entries per page returned. Acceptable range is 3 - 1000.
startingAfterstringA 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.
endingBeforestringA 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.
t0stringThe beginning of the timespan for the data. The maximum lookback period is 31 days from today.
t1stringThe end of the timespan for the data. t1 can be a maximum of 31 days after t0.
timespanstringThe timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull

RESPONSES

status: OK

[{"clientId":"k74272e","clientIp":"1.2.3.4","clientMac":"00:11:22:33:44:55","usageHistory":[{"ts":"2018-02-11T00:00:00.090210Z","recv":383,"sent":56}]}]