---
title: "List statistics of devices configured for threat hunt"
method: GET
path: "/threathunting/v1/threathunts/{threatHuntID}/devices/stats"
tags: ["Threat Hunting"]
---

# List statistics of devices configured for threat hunt

`GET /threathunting/v1/threathunts/{threatHuntID}/devices/stats`

## Request

- Base URL: `https://apis.druva.com/realize`
- URL: `https://apis.druva.com/realize/threathunting/v1/threathunts/{threatHuntID}/devices/stats`
- Auth: API key in header `Authorization`

Displays a list of statistics for all devices selected for threat hunt.

## Path parameters

- `threatHuntID` integer, required

## Query parameters

- `deviceIDs[]` integer[]
- `pageToken` string

## Response `200`

Success

- ThreatHuntListDevicesStatsResponse
  - `threatHuntID` integer: The unique identifier for a threat hunt.
  - `nextPageToken` string: The token to access the next page of results. This parameter will be empty for the last page of results.
  - `devices` object[]
    - `deviceID` integer: Unique identifier for a device.
    - `resourceType` string: Name of resource type. The resource types can be 'VMware', 'EC2', 'AzureVM', 'OneDrive', 'SharePoint', or 'ExchangeOnline'.
    - `totalSnapshots` integer: Count of total snapshots for this resource.
    - `totalFilesImpacted` integer: Count of impacted files against which threat was identified for this resource.
    - `impactedSnapshots` integer: Count of impacted snapshots against which threat was identified for this resource.
    - `scannedSnapshots` integer: A count of snapshots included in the threat hunt scan for this resource.
    - `totalQuarantinedSnapshots` integer: Count of impacted snapshots that were quarantined.
    - `firstImpactedSnapshot` string: Name of the first impacted snapshot. Example - Nov 21 2019, 14:39:34.
    - `lastImpactedSnapshot` string: Name of the last impacted snapshot. Example - Nov 21 2019, 14:39:34.
    - `latestCleanSnapshot` string: Name of the latest clean snapshot. Example - Nov 21 2019, 14:39:34.
    - `resourceIDs` integer[]: List of resource IDs for the selected device ID.

## Other responses

- `400`: Bad Request
- `401`: The request either did not include an authentication token, or you have provided an expired authentication token.
- `404`: The requested resource was not found.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/druva/apis/cyber-resilience.md) - [All operations](https://skmtc.dev/druva/apis/cyber-resilience/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/cyber-resilience/revisions/b149d46c996a?raw)
