---
title: IpAddress type | Wartiva GraphQL API
description: An IP is a string formatted as either a single 4-byte (IPv4) or 16-byte (IPv6) address. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/ip-address.html
updated: 2026-10-07
---

Networks, devices, and sensors · GraphQL type

# `IpAddress` type

An IP is a string formatted as either a single 4-byte (IPv4) or 16-byte (IPv6) address.

## Fields

| Field Name | Description |
|---|---|
| `address` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The IP address represented as a string in standard notation. |
| `is6` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether or not the IP address is an IPv6 address. |
| `is4` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether or not the IP address is an IPv4 address. |
| `isPublic` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether or not the IP address is a public IP address. |
| `isPrivate` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether or not the IP address is a private (RFC 1918) IP address. |
| `isGlobalUnicast` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether or not the IP address is a global unicast address (IPv6). |
| `isInterfaceLocalMulticast` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether or not the IP address is an interface-local multicast address (IPv6). |
| `isLinkLocalMulticast` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether or not the IP address is a link-local multicast address (IPv6). |
| `isLinkLocalUnicast` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether or not the IP address is a link-local unicast address (IPv6). |
| `is4In6` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether or not the IP address is an IPv4-mapped IPv6 address (IPv6). |
| `isLoopback` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether or not the IP address is a loopback address. |
| `isMulticast` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether or not the IP address is a multicast address. |
| `asBytes16` - [`Binary!`](https://wartiva.com/api-docs/types/binary.html) | The IP address represented as a 16-byte binary value. |

## Used by

- [`ActiveDirectory`](https://wartiva.com/api-docs/types/active-directory.html) type: The Active Directory (AD) domain membership and directory-binding configuration of an Endpoint.
- [`ArpTableEntry`](https://wartiva.com/api-docs/types/arp-table-entry.html) type: One entry in an Endpoint's neighbor cache: the IPv4 Address Resolution Protocol (ARP) table and, where the operating system reports it, the IPv6…
- [`Device`](https://wartiva.com/api-docs/types/device.html) type: A physical or virtual device that does not run the Wartiva endpoint application but is visible on the network to a managed Endpoint, such as…
- [`Endpoint`](https://wartiva.com/api-docs/types/endpoint.html) type: A Windows, macOS, or Linux computer that runs the Wartiva endpoint agent and is enrolled with an organization.
- [`OpenPort`](https://wartiva.com/api-docs/types/open-port.html) type: One TCP or UDP port at one IP address on a discovered Device, found by managed endpoints port-scanning the devices on their local networks and by…
- [`Route`](https://wartiva.com/api-docs/types/route.html) type: One entry in an Endpoint's IP routing table, collected from Windows, macOS, and Linux endpoints as part of the periodic network inventory.
- [`SensorRequest`](https://wartiva.com/api-docs/types/sensor-request.html) type: A standing request to run one Sensor against one Device IP address, optionally on a specific protocol and port, in the SAE or PUBLIC zone.
- [`Service`](https://wartiva.com/api-docs/types/service.html) type: A network service identified on a discovered Device: one protocol (such as HTTP, TLS, SSH, SMB, DNS, SNMP, IPP, mDNS, or UPnP) acting as a client or…
- [`ConntrackMTInformation`](https://wartiva.com/api-docs/types/conntrack-mt-information.html) type: ConntrackMTInformation represents the xt_conntrack (or xt_state for older kernels) iptables match module information.
- [`DeviceNatIp`](https://wartiva.com/api-docs/types/device-nat-ip.html) type: An IP address on a Device that was detected as a Network Address Translation (NAT) address used by a managed Endpoint to connect to the hosted system.
- [`DHCPv4`](https://wartiva.com/api-docs/types/dhcpv4.html) type: Dynamic Host Configuration Protocol (DHCP) service.
- [`MDNSService`](https://wartiva.com/api-docs/types/mdns-service.html) type: A discovered MDNS service.
- [`NatIPv4Range`](https://wartiva.com/api-docs/types/nat-ipv4-range.html) type: NatIPv4Range defines a single IPv4 address and port range, along with behavioral flags, to be used within an IPv4 NAT target.
- [`NatRangeInformation`](https://wartiva.com/api-docs/types/nat-range-information.html) type: NatRangeInformation represents the xt_nat_range iptables target information.
- [`OpenSocket`](https://wartiva.com/api-docs/types/open-socket.html) type: An open network socket on a process.

## Example

### Example

```json
{
  "address": "abc123",
  "is6": false,
  "is4": false,
  "isPublic": false,
  "isPrivate": false,
  "isGlobalUnicast": false,
  "isInterfaceLocalMulticast": true,
  "isLinkLocalMulticast": true,
  "isLinkLocalUnicast": false,
  "is4In6": false,
  "isLoopback": true,
  "isMulticast": false,
  "asBytes16": Binary
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
