---
title: SensorRequestInput input | Wartiva GraphQL API
description: Defines inputs for submitting a SensorRequest. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/sensor-request-input.html
updated: 2026-10-07
---

Networks, devices, and sensors · GraphQL input

# `SensorRequestInput` input

Defines inputs for submitting a SensorRequest.

## Fields

| Input Field | Description |
|---|---|
| `sensorId` - [`ID!`](https://wartiva.com/api-docs/types/id.html) | The unique identifier of the Sensor this request is for. |
| `zone` - [`SensorZone!`](https://wartiva.com/api-docs/types/sensor-zone.html) | The zone this request is for. |
| `deviceId` - [`ID!`](https://wartiva.com/api-docs/types/id.html) | The unique identifier of the Device this request is for. |
| `inputType` - [`SensorRequestInputType!`](https://wartiva.com/api-docs/types/sensor-request-input-type.html) | The type of request input this is. |
| `ip` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The target IP address for this request. |
| `protocol` - [`IpProtocol`](https://wartiva.com/api-docs/types/ip-protocol.html) | The IP protocol this request is for. Required if inputType IP_PROTOCOL_PORT. |
| `port` - [`Int`](https://wartiva.com/api-docs/types/int.html) | The IP port this request is for, an unsigned 16-bit integer. Required if inputType IP_PROTOCOL_PORT. |
| `args` - [`SensorRequestArgs`](https://wartiva.com/api-docs/types/sensor-request-args.html) | Optional list of key/value arguments to use for the SensorRequest. |

## Example

### Example

```json
{
  "sensorId": 4,
  "zone": "LAN",
  "deviceId": "4",
  "inputType": "IP",
  "ip": "abc123",
  "protocol": "TCP",
  "port": 987,
  "args": SensorRequestArgs
}

```

---

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