---
title: PathSensorOsTarget type | Wartiva GraphQL API
description: The OS target a PathSensor applies to. Wartiva GraphQL API reference with arguments, fields, and examples. Browse related operations and types.
url: https://wartiva.com/api-docs/types/path-sensor-os-target.html
updated: 2026-10-07
---

Organizations and users · GraphQL type

# `PathSensorOsTarget` type

The OS target a PathSensor applies to. Combines the required OS platform with an optional Linux distribution restriction (only meaningful when platform is LINUX).

## Fields

| Field Name | Description |
|---|---|
| `platform` - [`OsPlatform!`](https://wartiva.com/api-docs/types/os-platform.html) | Target OS platform this sensor applies to. |
| `linuxDistro` - [`LinuxDistribution`](https://wartiva.com/api-docs/types/linux-distribution.html) | Optional Linux distribution restriction. Null when not restricted or when platform is not LINUX. |

## Used by

- [`PathSensor`](https://wartiva.com/api-docs/types/path-sensor.html) type: An organization-wide instruction telling endpoints to collect file metadata under one filesystem path.

## Example

### Example

```json
{"platform": "WINDOWS", "linuxDistro": "UNKNOWN"}

```

---

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