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

Endpoint configuration · GraphQL type

# `DiskConnection` type

Collection payload for Disk edges with total count.

## Fields

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

- [`Disk`](https://wartiva.com/api-docs/types/disk.html) A physical disk drive attached to an Endpoint, identified on that Endpoint by its operating-system drive ID (for example \\.\PhysicalDrive0 on…

## Example

### Example

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

```

---

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