Input types

Overview

Input types are structured objects passed as arguments to queries. For example, MetricsFilterInput lets you specify a time range and aggregation interval when querying metrics.

ActiveClientsInput

Input type for specifying options when querying active clients metrics.

FieldTypeDescription
includeMeterHardwareBooleanWhether to include meter hardware in the metrics calculation.

AllClientMetricsTimeseriesFilterInput

Input type for specifying filters when querying all client metrics timeseries data.

FieldTypeDescription
timeFilterMetricsFilterInput!Specify the time range for the timeseries data.

ChannelUtilizationTimeseriesFilterInput

FieldTypeDescription
timeFilterMetricsFilterInput!Specify the time range for the timeseries data.

ClientMetricsTimeseriesFilterInput

Input type for specifying filters when querying client metrics timeseries data.

FieldTypeDescription
bands[RadioBand!]Specifying this field returns only metrics observed for the given radio band(s).
channels[Int!]Specifying this field returns only metrics observed for the given radio channel(s).
clientMacAddresses[MacAddress!]Filter events by client mac.
eventTypeWirelessClientConnectionEventTypeFilter events by event type.
eventTypes[WirelessClientConnectionEventType!]Filter events by event type(s).
excludeObserversBooleanIf true, exclude events from Observers.
partialClientMacAddresses[String!]Filter events by partial client mac.
rssiNumberRangeInputFilter events by RSSI.
ssidUUIDs[UUID!]Specifying this field returns only metrics observed for the given SSID(s), by UUID.
timeFilterMetricsFilterInput!Specify the time range for the timeseries data.
virtualDeviceUUIDs[UUID!]Filter events by virtual device.

CompanyNetworksFilterInput

Filters the list of networks for a single company

FieldTypeDescription
networkUUIDs[UUID!]Filter networks using their UUIDs.

DevicesForNetworkFilter

Filter criteria for devices in a network.

FieldTypeDescription
deviceTypeVirtualDeviceTypeFilter devices by virtual device type.

HardwareDevicesFilter

Filters the response when fetching multiple hardware devices.

FieldTypeDescription
deviceModelDeviceModelFilter hardware devices by device model.
deviceTypeDeviceTypeFilter hardware devices by device type.
limitIntThe maximum number of hardware devices to return. Default is 200.
offsetIntThe offset from where to start returning hardware devices.

IPRangeInput

A range of IP addresses.

FieldTypeDescription
endIP!The upper address in the IP range.
startIP!The lower address in the IP range.

MetricsFilterInput

FieldTypeDescription
durationSecondsInt!The total duration in seconds for which to retrieve metrics data. Maximum set to 1 year.
endTimeDateTimeIf not provided, endTime defaults to now.
stepSecondsInt!The interval in seconds between data points in the metrics response.

NetworkClientsFilter

FieldTypeDescription
apSerialNumberStringIf provided, the latest connected clients for a network are returned that were reported to be connected to the given AP serial number. At most one of macAddress, apSerialNumber, vlanID, or ssid can be provided.
excludeMeterHardwareBoolean!If true, clients identified as Meter hardware devices will be excluded from the results.
includeLatencyBoolean!If provided, then the ping latency from controller to client is included in the response.
includeThroughputBoolean!If provided, the average usage for all returned clients in the last 30 minutes will be included in the response. If macAddress is provided this field has no effect.
ipRangeIPRangeInputIf provided, returns clients with IP addresses within the provided range.
lookbackMinutesInt!When no macAddress and apSerialNumber are provided, filters resulting clients' lastSeen to this many minutes before now.
macAddressMacAddressIf a mac address is provided, this will get the history of clients with this mac address. At most one of macAddress, apSerialNumber, vlanID, or ssid can be provided.
ssidStringIf provided, the latest connected clients for a network are returned that were reported to be connected to the given SSID. Only supported for config 2 COS networks. At most one of macAddress, apSerialNumber, vlanID, or ssid can be provided.
timestampDateTimeIf provided, then returns the results that were observed at the given timestamp. If null, defaults to now.
vlanIDIntIf provided, the latest connected clients for a network are returned that were reported to be connected to the given VLAN. Only supported for config 2 COS networks. At most one of macAddress, apSerialNumber, vlanID, or ssid can be provided.

NumberRangeInput

A number range input type.

FieldTypeDescription
maxIntThe maximum value
minIntThe minimum value

SSIDFilterInput

FieldTypeDescription
isGuestBooleanThe guest status to filter by.
isHiddenBooleanThe hidden status to filter by.
ssidStringThe SSID to filter by.

Need help?

If you run into any issues or have questions, please reach out to our Support Engineering team by opening a ticket via the Dashboard: https://dashboard.meter.com/support

Was this helpful?