---
title: "Antivirus threats report"
method: GET
path: "/v2/queries/antivirus-threats"
tags: ["queries"]
---

# Antivirus threats report

`GET /v2/queries/antivirus-threats`

## Request

- Base URL: `https://app.ninjarmm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ninjarmm.com/v2/queries/antivirus-threats`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sessionKey`
- TypeScript: <https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/docs/v2/queries/antivirus-threats/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns list of antivirus threats

## Query parameters

- `df` string
- `ts` string
- `cursor` string
- `pageSize` integer

## Response `default`

default response

- object
  - `cursor` object
    - `name` string
    - `offset` integer
    - `count` integer
    - `expires` number, double
  - `results` object[]
    - `name` string: Threat name
    - `productCode` string: AntiVirus vendor product code
    - `quarantineId` string: Threat Quarantine ID
    - `status` string: Threat Status (vendor specific)
    - `type` string: Type of Threat
    - `threatId` integer: Threat ID
    - `category` string: Threat Category
    - `level` string: Threat Level
    - `detectionSource` string: Detection source
    - `traceList` string: Trace list (Files, Cookies, etc. Vendor specific)
    - `deviceId` integer: Device identifier
    - `timestamp` number, double: Date/Time when data was collected/updated

---

[API](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0.md) - [All operations](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/revisions/5ce571d1bb71?raw)
