---
title: UpdatePathSensorInput input | Wartiva GraphQL API
description: Input for updating an existing PathSensor. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/update-path-sensor-input.html
updated: 2026-10-07
---

File path sensors · GraphQL input

# `UpdatePathSensorInput` input

Input for updating an existing PathSensor.

## Fields

| Input Field | Description |
|---|---|
| `id` - [`PathSensorId!`](https://wartiva.com/api-docs/types/path-sensor-id.html) | The PathSensor to update. |
| `name` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Human-readable label. |
| `description` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Describes what this sensor monitors. |
| `path` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The absolute path or directory this sensor monitors. |
| `inclusions` - [`[String!]`](https://wartiva.com/api-docs/types/string.html) | Optional glob patterns; when non-empty, only paths matching an inclusion under the monitored path are recorded. |
| `exclusions` - [`[String!]`](https://wartiva.com/api-docs/types/string.html) | Optional glob patterns; paths matching an exclusion under the monitored path are skipped. |
| `recursive` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether the sensor walks directories recursively. Must be false when collectContents is true. Default = `false` |
| `collectAcls` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether the endpoint collects ACL and extended-attribute metadata for each matched file. Default = `false` |
| `interval` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | How often the endpoint runs this sensor. |
| `collectChecksum` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether the endpoint computes a checksum for each matched file. |
| `checksumMaxBytes` - [`Int64!`](https://wartiva.com/api-docs/types/int64.html) | Maximum file size in bytes to checksum when collectChecksum is true. |
| `collectContents` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether file bytes are uploaded with each result. |
| `contentMaxBytes` - [`Int64!`](https://wartiva.com/api-docs/types/int64.html) | Maximum bytes per file upload when collectContents is true. |
| `osTarget` - [`PathSensorOsTargetInput!`](https://wartiva.com/api-docs/types/path-sensor-os-target-input.html) | OS target (platform plus optional Linux distribution restriction). |
| `enabled` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether the sensor is active. |

## Example

### Example

```json
{
  "id": PathSensorId,
  "name": "xyz789",
  "description": "xyz789",
  "path": "abc123",
  "inclusions": ["xyz789"],
  "exclusions": ["abc123"],
  "recursive": false,
  "collectAcls": true,
  "interval": "600000000",
  "collectChecksum": false,
  "checksumMaxBytes": "-8589934592",
  "collectContents": true,
  "contentMaxBytes": "-8589934592",
  "osTarget": PathSensorOsTargetInput,
  "enabled": true
}

```

---

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