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.

CaptivePortalEntryFilterInput

FieldTypeDescription
ipAddressIPFilter captive portal entries by IP address.
limitInt!The maximum number of captive portal entries to return.
macAddressMacAddressFilter captive portal entries by MAC address.
maxCreatedAtDateTimeOnly include captive portal entries that were created before or at this date and time.
minCreatedAtDateTimeOnly include captive portal entries that were created at or after this date and time.
offsetInt!The number of captive portal entries to skip before starting to collect the result set.

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.
eventTypes[WirelessClientConnectionEventType!]Filter events by event type(s).
excludeObserversBooleanIf true, exclude events from Observers.
identity8021XStringFilter events whose 802.1X identity contains the given string (case-insensitive).
isNACEventBooleanFilter events by whether they are NAC events. true returns only NAC events, false returns only non-NAC events, and omitting the field returns both.
partialClientMacAddresses[String!]Filter events by partial client mac.
reasonCodes[Int!]Filter events by 802.11 reason code(s).
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.

CreateApplicationDNSFirewallRuleInput

FieldTypeDescription
actionFirewallRuleAction!The action to take when the rule is matched.
applicationIDIntThe ID of the Netstar application to associate with the rule.
boundDHCPRuleUUIDs[UUID!]!List of UUIDs of DHCP rules to which the application dns firewall rule is bound.
categoryIDIntThe ID of the Netstar category to associate with the rule.
domainStringThe domain or FQDN that is matched by the rule, allowing for wildcards denoted by '*'.
groupIDIntThe ID of the Netstar group to associate with the rule.
isEnabledBoolean!Indicates whether the rule is enabled; defaults to true.
nameString!The name of the DNS firewall rule.
priorityIntThe priority of the rule; if not provided, will default to 1 greater than the highest existing priority.

CreateClientVPNClientInput

Input parameters for creating a Client VPN client.

FieldTypeDescription
emailString!End user's company email associated with the VPN server's controller.
isEnabledBoolean!Whether the client is enabled. If false, users will not be able to connect using this client's key.
nameString!End user's device name, e.g., 'paulmbp'.
publicKeyString!A Curve25519 public key generated by the end user using WireGuard.

CreateFirewallRuleInput

Input type for creating a new firewall rule.

FieldTypeDescription
actionFirewallRuleAction!The action to take when the firewall rule matches (e.g., DENY or PERMIT).
boundPhyInterfaceUUIDs[UUID!]!List of UUIDs of physical interfaces to which the firewall rule is bound. The physical interfaces must be uplinks.
boundVLANUUIDs[UUID!]!List of UUIDs of VLANs to which the firewall rule is bound.
descriptionStringA description of the firewall rule.
dstPortRanges[PortRangeInput!]List of destination port ranges to match traffic to.
dstPrefixes[IPPrefix!]Destination IP prefixes to match traffic from.
dstVLANUUIDUUIDUUID of the destination VLAN to match traffic to.
isEnabledBoolean!Indicates if the firewall rule is currently enabled.
nameString!The name of the firewall rule.
priorityIntPriority of the rule within the network, lower priority rules are applied first. If there is an existing rule with the provided value, it and all subsequent occupied values will be incremented. If omitted, next lowest priority in network will be used.
protocols[IPProtocol!]List of IP protocols to match.
srcPortRanges[PortRangeInput!]List of source port ranges to match traffic from.
srcPrefixes[IPPrefix!]Source IP prefixes to match traffic from.
tags[String!]List of tags associated with the firewall rule.

CreateIDSIPSConfigInput

FieldTypeDescription
enabledVLANUUIDs[UUID!]!VLANs to enable IDS/IPS for.
ipsRuleDurationDurationValidity of ips generated rules.
isEastWestProtectionEnabledBoolean!If east-west protection is enabled.
minIPSSeverityIntThe IPS minimum severity to act on.
minSeverityInt!The IDS minimum severity to act on.
modeIDSIPSMode!The mode IDS/IPS should act in.
safelist[IPPrefix!]List of subnets that should never be blocked.

CreateIDSIPSCustomRuleInput

A custom intrusion rule definition for IDS/IPS. These currently apply tls.sni rules.

FieldTypeDescription
actionFirewallRuleAction!The action this rule applies.
applicationIDIntThe ID of the Netstar application to associate with the rule.
boundVLANUUIDs[UUID!]!List of UUIDs of VLAN rules to which rule is bound.
domainStringThe FQDN this rule applies to.
isEnabledBoolean!If this rule is enabled.
nameString!A name to identify this rule.

CreateSSIDInput

FieldTypeDescription
descriptionStringDescription of the SSID.
encryptionProtocolSSIDEncryptionProtocolEncryption protocol used by the SSID.
isBand2GAllowedBoolean!Enable or disable broadcasting the SSID on the 2.4 GHz band.
isBand5GAllowedBoolean!Enable or disable broadcasting the SSID on the 5 GHz band.
isBand6GAllowedBoolean!Enable or disable broadcasting the SSID on the 6 GHz band.
isEnabledBoolean!Enable or disable the SSID.
isEnabledForAllAccessPointsBoolean!Enable the SSID for all access points or only specified ones.
isGuestBoolean!Mark the SSID as a guest network.
isHiddenBoolean!Hide the SSID from being broadcasted.
isIsolateClientsEnabledBoolean!Enable client isolation on the SSID.
passwordStringPre-shared key (PSK) for the SSID.
passwordRotationCadenceSSIDPasswordRotationCadenceCadence for automatic password rotation.
passwordRotationDayOfMonthLocalIntThe day of the month for password rotation in the network's local time zone.
passwordRotationDayOfWeekLocalIntThe day of the week for password rotation in the network's local time zone (0 = Sunday).
passwordRotationHourOfDayLocalIntThe hour of the day for password rotation in the network's local time zone.
ssidString!Name of the SSID.
vlanUUIDUUIDUUID of the VLAN to associate with the SSID.

CreateVLANInput

FieldTypeDescription
descriptionStringAn optional description of the VLAN.
ipV4ClientAssignmentProtocolClientAssignmentProtocolSpecifies the protocol for assigning IPv4 addresses to clients on this VLAN.
ipV4ClientGatewayIPV4Specifies the IPv4 gateway address for this VLAN.
ipV4ClientPrefixLengthIntSpecifies the IPv4 prefix length (subnet mask) for this VLAN.
ipV6ClientAssignmentProtocolClientAssignmentProtocolSpecifies the protocol for assigning IPv6 addresses to clients on this VLAN.
ipV6ClientGatewayIPV6Specifies the IPv6 gateway address for this VLAN.
ipV6ClientPrefixLengthIntSpecifies the IPv6 prefix length (subnet mask) for this VLAN.
isEnabledBoolean!If true, the VLAN is enabled upon creation.
nameString!A human-friendly name to identify the VLAN.
vlanIDIntThe VLAN ID. Must be between 1 and 4094 and is unique per network. If not provided, the lowest available ID for the network will be selected.

DevicesForNetworkFilter

Filter criteria for devices in a network.

FieldTypeDescription
deviceTypeVirtualDeviceTypeFilter devices by virtual device type.
deviceTypes[VirtualDeviceType!]Filter devices by any of the given device types.
isDraftBooleanFilter devices by its draft state.

GetSupportCasesInput

Get support cases input

FieldTypeDescription
filters[FilterInput!]!Filters to apply when fetching the page.
pagePageInput!Page location to load from.
sortSortOrderInputSort by order for the support cases.

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.

IDSEventFilterInput

FieldTypeDescription
SIDIntFind events by signature ID.
actionIDSEventAlertActionFind events based on action.
appProtocolStringFind events based on application layer protocol.
classTypeStringFind rules by class type shortname.
directionIDSEventDirectionFind events based on direction.
dstIPIPFind events based on destination IP.
dstMACMacAddressFind events based on destination MAC address.
dstPortPortRangeInputFind events based on destination port.
protocolIDSEventProtocolFind events based on protocol.
searchIDSEventFilterSearchInputInput for non-exact search against rule fields.
srcIPIPFind events based on source IP.
srcMACMacAddressFind events based on source MAC address.
srcPortPortRangeInputFind events based on source port.

IDSEventFilterSearchInput

FieldTypeDescription
descriptionStringAn optional informational description for the suppression.

IDSIPSConfigCategoryBindingInput

FieldTypeDescription
categoryUUIDUUID!Unique identifier of the IDS/IPS category.
modeIDSIPSMode!The mode of this binding, whether it applies to IDS or IPS.

IDSIPSConfigCategorySuppressionInput

FieldTypeDescription
categoryUUIDUUID!Unique identifier of the IDS category.
descriptionStringAn optional informational description for the suppression.
directionIDSIPSSuppressedRuleDirectionThe traffic direction to consider when determining IP prefix application. Required if ipPrefixes is set.
ipPrefixes[IPPrefix!]The IP prefixes that this suppression should apply to. If set, direction is required.
modeIDSIPSMode!The mode of this suppression, whether it applies to IDS or IPS.

IDSIPSConfigRuleBindingInput

FieldTypeDescription
modeIDSIPSMode!The mode of this binding, whether it applies to IDS or IPS.
ruleSIDInt!Unique signature ID of the IDS rule.

IDSIPSConfigRuleSuppressionInput

FieldTypeDescription
descriptionStringAn optional informational description for the suppression.
directionIDSIPSSuppressedRuleDirectionThe traffic direction to consider when determining IP prefix application. Required if ipPrefixes is set.
ipPrefixes[IPPrefix!]The IP prefixes that this suppression should apply to. If set, direction is required.
modeIDSIPSMode!The mode of this suppression, whether it applies to IDS or IPS.
ruleSIDInt!Unique signature ID of the IDS rule.

IDSRuleFilterInput

FieldTypeDescription
SIDIntFind rules by signature ID.
actionStringFind based on action for this rule.
classTypeStringFind rules by class type shortname.
groupIDIntFind rules by group ID
revisionIntFind rules by revision.
searchIDSRuleFilterSearchInputInput for non-exact search against rule fields.

IDSRuleFilterSearchInput

Filter IDS rules based on substring search.

FieldTypeDescription
descriptionStringSearch based on description for this rule.
headerStringSearch based on header for this rule.

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.

NetworkThreatsFilterInput

FieldTypeDescription
timeFilterMetricsFilterInput!Specify the time range for data.

NumberRangeInput

A number range input type.

FieldTypeDescription
maxIntThe maximum value
minIntThe minimum value

PortRangeInput

Input type for specifying a port range.

FieldTypeDescription
lowerInt!Lower bound of the port range (1-65535).
upperInt!Upper bound of the port range (1-65535).

SSIDFilterInput

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

UpdateApplicationDNSFirewallRuleInput

FieldTypeDescription
actionFirewallRuleActionThe action to take when the rule is matched.
applicationIDIntThe ID of the Netstar application to associate with the rule.
boundDHCPRuleUUIDs[UUID!]List of UUIDs of DHCP rules to which the application dns firewall rule is bound.
categoryIDIntThe ID of the Netstar category to associate with the rule.
domainStringThe domain or FQDN that is matched by the rule, allowing for wildcards denoted by '*'.
groupIDIntThe ID of the Netstar group to associate with the rule.
isEnabledBooleanIndicates whether the rule is enabled.
nameStringThe name of the DNS firewall rule.
priorityIntThe priority of the rule; if not specified, will default to 1 greater than the highest existing priority.

UpdateFirewallRuleInput

Input type for updating an existing firewall rule.

FieldTypeDescription
actionFirewallRuleActionThe action to take when the firewall rule matches (e.g., DENY or PERMIT).
boundPhyInterfaceUUIDs[UUID!]List of UUIDs of physical interfaces to which the firewall rule is bound. The physical interfaces must be uplinks.
boundVLANUUIDs[UUID!]List of UUIDs of VLANs to which the firewall rule is bound.
descriptionStringA description of the firewall rule.
dstPortRanges[PortRangeInput!]List of destination port ranges to match traffic to.
dstPrefixes[IPPrefix!]Destination IP prefixes to match traffic from.
dstVLANUUIDUUIDUUID of the destination VLAN to match traffic to.
isEnabledBooleanIndicates if the firewall rule is currently enabled.
nameStringThe name of the firewall rule.
priorityIntPriority of the rule within the network, lower priority rules are applied first. If there is an existing rule with the provided value, it and all subsequent occupied values will be incremented.
protocols[IPProtocol!]List of IP protocols to match.
srcPortRanges[PortRangeInput!]List of source port ranges to match traffic from.
srcPrefixes[IPPrefix!]Source IP prefixes to match traffic from.
tags[String!]List of tags associated with the firewall rule.

UpdateIDSIPSConfigInput

FieldTypeDescription
boundCategories[IDSIPSConfigCategoryBindingInput!]If set, replaces the list of bound categories.
boundRules[IDSIPSConfigRuleBindingInput!]If set, replaces the list of bound rules.
enabledVLANUUIDs[UUID!]VLANs to enable IDS/IPS for. The enabled VLANs will be set to this value if provided.
ipsRuleDurationDurationValidity of ips generated rules.
isEastWestProtectionEnabledBooleanIf east-west protection is enabled.
minIPSSeverityIntThe IPS minimum severity to act on.
minSeverityIntThe minimum severity to act on.
modeIDSIPSModeThe mode IDS IPS should act in.
safelist[IPPrefix!]List of subnets that should never be blocked.
suppressedCategories[IDSIPSConfigCategorySuppressionInput!]If set, replaces the list of category suppressions.
suppressedRules[IDSIPSConfigRuleSuppressionInput!]If set, replaces the list of rule suppressions.

UpdateIDSIPSCustomRuleInput

A custom intrusion rule definition for IDS/IPS. These currently apply tls.sni rules.

FieldTypeDescription
actionFirewallRuleActionThe action this rule applies.
applicationIDIntThe ID of the Netstar application to associate with the rule.
boundVLANUUIDs[UUID!]List of UUIDs of VLAN rules to which rule is bound.
domainStringThe FQDN this rule applies to.
isEnabledBooleanIf this rule is enabled.
nameStringA name to identify this rule.

UpdateSSIDInput

FieldTypeDescription
descriptionStringDescription of the SSID.
encryptionProtocolSSIDEncryptionProtocolEncryption protocol used by the SSID.
isBand2GAllowedBooleanEnable or disable broadcasting the SSID on the 2.4 GHz band.
isBand5GAllowedBooleanEnable or disable broadcasting the SSID on the 5 GHz band.
isBand6GAllowedBooleanEnable or disable broadcasting the SSID on the 6 GHz band.
isEnabledBooleanEnable or disable the SSID.
isEnabledForAllAccessPointsBooleanEnable the SSID for all access points or only specified ones.
isGuestBooleanMark the SSID as a guest network.
isHiddenBooleanHide the SSID from being broadcasted.
isIsolateClientsEnabledBooleanEnable client isolation on the SSID.
passwordStringPre-shared key (PSK) for the SSID.
passwordRotationCadenceSSIDPasswordRotationCadenceCadence for automatic password rotation.
passwordRotationDayOfMonthLocalIntThe day of the month for password rotation in the network's local time zone.
passwordRotationDayOfWeekLocalIntThe day of the week for password rotation in the network's local time zone (0 = Sunday).
passwordRotationHourOfDayLocalIntThe hour of the day for password rotation in the network's local time zone.
ssidStringName of the SSID.
vlanUUIDUUIDUUID of the VLAN to associate with the SSID.

UpdateVLANInput

FieldTypeDescription
descriptionStringA new description for the VLAN.
ipV4ClientAssignmentProtocolClientAssignmentProtocolUpdates the protocol for assigning IPv4 addresses to clients on this VLAN.
ipV4ClientGatewayIPV4Updates the IPv4 gateway address for this VLAN.
ipV4ClientPrefixLengthIntUpdates the IPv4 prefix length (subnet mask) for this VLAN.
ipV6ClientAssignmentProtocolClientAssignmentProtocolUpdates the protocol for assigning IPv6 addresses to clients on this VLAN.
ipV6ClientGatewayIPV6Updates the IPv6 gateway address for this VLAN.
ipV6ClientPrefixLengthIntUpdates the IPv6 prefix length (subnet mask) for this VLAN.
isEnabledBooleanEnable or disable the VLAN.
nameStringA new name for the VLAN.
vlanIDIntThe new VLAN ID. Must be between 1 and 4094 and unique per network.

Deprecated

The following are deprecated and may be removed in a future release. Use the suggested replacement and avoid them in new integrations.

FieldTypeDescription
ClientMetricsTimeseriesFilterInput.eventTypeWirelessClientConnectionEventTypeFilter events by event type. Use eventTypes instead.

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?