Interface IApplianceUplinksUsageHistory
- Namespace
- Meraki.Api.Interfaces.Products.Appliance
- Assembly
- Meraki.Api.dll
I Appliance Uplinks Usage History
public interface IApplianceUplinksUsageHistory
Methods
GetNetworkApplianceUplinksUsageHistoryAsync(string, string, string, double?, int?, CancellationToken)
Get the sent and received bytes for each uplink of a network.
[Get("/networks/{networkId}/appliance/uplinks/usageHistory")]
Task<List<UplinkUsageHistory>> GetNetworkApplianceUplinksUsageHistoryAsync(string networkId, string t0 = null, string t1 = null, double? timespan = null, int? resolution = null, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
t0stringThe beginning of the timespan for the data. Meraki documents the maximum lookback period as 365 days from today. In practice this endpoint only returns data for t0 within ~30 days of now (verified against a live organization on 2026-06-16, and identical for every supported resolution); older values are rejected with HTTP 400 "timespan goes too far into the past".
t1stringThe end of the timespan for the data. Meraki documents t1 as a maximum of 14 days after t0. In practice this 14-day span limit is not enforced: spans of at least ~29 days return data at hourly resolution (verified 2026-06-16), bounded only by the ~30-day lookback on t0.
timespandouble?The 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 14 days. The default is 10 minutes.
resolutionint?The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 600, 1800, 3600, 86400. The default is 60.
cancellationTokenCancellationTokenThe cancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call