---
title: NetworkPrefixConnection type | Wartiva GraphQL API
description: Collection payload for NetworkPrefix edges with total count. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/network-prefix-connection.html
updated: 2026-10-07
---

Networks, devices, and sensors · GraphQL type

# `NetworkPrefixConnection` type

Collection payload for NetworkPrefix edges with total count.

## Fields

| Field Name | Description |
|---|---|
| `edges` - [`[NetworkPrefixEdge!]!`](https://wartiva.com/api-docs/types/network-prefix-edge.html) | The NetworkPrefix edges. |
| `total` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | The total number of NetworkPrefix edges. |
| `searchInput` - [`GraphSearchQueryInputPayload`](https://wartiva.com/api-docs/types/graph-search-query-input-payload.html) | The graph search query that reproduces this connection. Submit it as the query of a [GraphSearchInput](https://wartiva.com/api-docs/types/graph-search-input.html) to retrieve the same [NetworkPrefix](https://wartiva.com/api-docs/types/network-prefix.html) objects as a standalone search, with full filtering, sorting, and pagination. Null when this connection was not produced from a graph relationship traversal. |

## Used by

- [`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…
- [`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…
- [`Network`](https://wartiva.com/api-docs/types/network.html) type: An IP network (subnet) that a managed Endpoint has been attached to, identified by its address range in CIDR notation and, for networks outside a…

## Related types

- [`NetworkPrefix`](https://wartiva.com/api-docs/types/network-prefix.html) A specific IP address together with its subnet prefix length (e.g.

## Example

### Example

```json
{
  "edges": [NetworkPrefixEdge],
  "total": 123,
  "searchInput": GraphSearchQueryInputPayload
}

```

---

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