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

Networks, devices, and sensors · GraphQL type

# `RouteConnection` type

Collection payload for Route edges with total count.

## Fields

| Field Name | Description |
|---|---|
| `edges` - [`[RouteEdge!]!`](https://wartiva.com/api-docs/types/route-edge.html) | The Route edges. |
| `total` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Total number of Route edges matching the query. |
| `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 [Route](https://wartiva.com/api-docs/types/route.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

- [`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.

## Related types

- [`Route`](https://wartiva.com/api-docs/types/route.html) One entry in an Endpoint's IP routing table, collected from Windows, macOS, and Linux endpoints as part of the periodic network inventory.

## Example

### Example

```json
{
  "edges": [RouteEdge],
  "total": 987,
  "searchInput": GraphSearchQueryInputPayload
}

```

---

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