---
title: "Windows services report"
method: GET
path: "/v2/queries/windows-services"
tags: ["queries"]
---

# Windows services report

`GET /v2/queries/windows-services`

Returns list of Windows Services and their statuses

## Query parameters

- `df` string
- `name` string
- `state` 'UNKNOWN' | 'STOPPED' | 'START_PENDING' | 'RUNNING' | 'STOP_PENDING' | 'PAUSE_PENDING' | 'PAUSED' | 'CONTINUE_PENDING'
- `cursor` string
- `pageSize` integer

## Response `default`

default response

- object
  - `cursor` object
    - `name` string
    - `offset` integer
    - `count` integer
    - `expires` number, double
  - `results` object[]
    - `name` string — Name
    - `displayName` string — Display Name
    - `description` string — Description
    - `startType` 'AUTO_START' | 'AUTO_START_DELAYED' | 'BOOT_START' | 'DEMAND_START' | 'DISABLED' | 'SYSTEM_START' — Start Type
    - `userName` string — User Name
    - `state` 'UNKNOWN' | 'STOPPED' | 'START_PENDING' | 'RUNNING' | 'STOP_PENDING' | 'PAUSE_PENDING' | 'PAUSED' | 'CONTINUE_PENDING' — State
    - `deviceId` integer — Device identifier
    - `timestamp` number, double — Date/Time when data was collected/updated

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/revisions/753f26d46650/schema)
