---
title: IpPrefix type | Wartiva GraphQL API
description: An IP Prefix (IP address and network prefix) and the corresponding Network identifier. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/ip-prefix.html
updated: 2026-10-07
---

Networks, devices, and sensors · GraphQL type

# `IpPrefix` type

An IP Prefix (IP address and network prefix) and the corresponding Network identifier.

## Fields

| Field Name | Description |
|---|---|
| `prefix` - [`IpNetwork!`](https://wartiva.com/api-docs/types/ip-network.html) | The IP network address and prefix length in CIDR notation. |
| `networkId` - [`ID`](https://wartiva.com/api-docs/types/id.html) | The unique identifier of the Network associated with this prefix, if known. |

## Used by

- [`Interface`](https://wartiva.com/api-docs/types/interface.html) type: A network interface (physical, virtual, loopback, or tunnel) on an Endpoint, collected from Windows, macOS, and Linux endpoints as part of the…

## Example

### Example

```json
{
  "prefix": IpNetwork,
  "networkId": "4"
}

```

---

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