---
title: "Lists the devices that are a part of a Threat Hunt job."
method: GET
path: "/threathunting/v1/threathunts/{threatHuntID}/devices"
tags: ["Threat Hunting"]
---

# Lists the devices that are a part of a Threat Hunt job.

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

## Request

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

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

## Path parameters

- `threatHuntID` integer, required

## Query parameters

- `pageToken` string

## Response `200`

Success

- ThreatHuntListDevicesResponse
  - `threatHuntID` integer: The identifier to uniquely identify threat hunt.
  - `nextPageToken` string: The token to access the next page of results. This parameter will be empty for the last page of results.
  - `totalResources` integer: Count of resources provided for threat hunt creation.
  - `devices` object[]
    - `deviceID` integer: Unique identifier for a device.
    - `resourceName` string: Name of the resource. In case of VMware, resource name will be VM name. Example - Ernie Carter's VM.
    - `resourceType` string: Name of the resource type. The resource types can be 'VMware', 'EC2', 'AzureVM', 'OneDrive', 'SharePoint', and 'ExchangeOnline'.
    - `resourceIDs` integer[]: List of resource IDs selected for the threat hunt.
    - `orgID` integer: The unique identifier of the Phoenix (Enterprise Workloads) organization for the resource.
    - `payload` object: All other fields that belong to the selected resource. Example - {'type':'EBS'}.

## 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)
