---
title: DeviceOpenPorts type | Wartiva GraphQL API
description: A summary of open network port numbers seen on a device. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/device-open-ports.html
updated: 2026-10-07
---

Networks, devices, and sensors · GraphQL type

# `DeviceOpenPorts` type

A summary of open network port numbers seen on a device.

## Fields

| Field Name | Description |
|---|---|
| `count` - [`Int`](https://wartiva.com/api-docs/types/int.html) | Number of open ports. |
| `tcp` - [`[Int!]`](https://wartiva.com/api-docs/types/int.html) | Open TCP IP port numbers; each is an unsigned 16-bit integer. |
| `tcpCount` - [`Int`](https://wartiva.com/api-docs/types/int.html) | Number of open tcp ports. |
| `udp` - [`[Int!]`](https://wartiva.com/api-docs/types/int.html) | Open UDP IP port numbers; each is an unsigned 16-bit integer. |
| `udpCount` - [`Int`](https://wartiva.com/api-docs/types/int.html) | Count of open udp ports. |
| `tcpAllSeen` - [`[Int!]`](https://wartiva.com/api-docs/types/int.html) | All TCP IP port numbers seen open at one time within the data retention period; each is an unsigned 16-bit integer. |
| `udpAllSeen` - [`[Int!]`](https://wartiva.com/api-docs/types/int.html) | All UDP IP port numbers seen open at one time within the data retention period; each is an unsigned 16-bit integer. |

## 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…

## Example

### Example

```json
{
  "count": 123,
  "tcp": [987],
  "tcpCount": 987,
  "udp": [987],
  "udpCount": 987,
  "tcpAllSeen": [123],
  "udpAllSeen": [987]
}

```

---

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