---
title: OsProductType enum | Wartiva GraphQL API
description: Machine role of an operating system: desktop/workstation, server, or Active Directory domain controller. Reference: OSVERSIONINFOEXW structure.
url: https://wartiva.com/api-docs/types/os-product-type.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `OsProductType` enum

Machine role of an operating system: desktop/workstation, server, or Active Directory domain controller. Reference: [OSVERSIONINFOEXW structure](https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-osversioninfoexw)

## Values

| Enum Value | Description |
|---|---|
| `DESKTOP` | Desktop or workstation operating system (OS type value 1). Always assigned on macOS. |
| `DOMAIN_CONTROLLER` | Active Directory domain controller (OS type value 2). |
| `SERVER` | Server operating system that is not a domain controller (OS type value 3). |

## Used by

- [`OsInfo`](https://wartiva.com/api-docs/types/os-info.html) type: Basic information about the operating system an Endpoint is running.

## Example

### Example

```json
"DESKTOP"

```

---

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