---
title: "List all hosts"
method: GET
path: "/hyperv/v1/orgs/{OrgID}/reports/hosts"
tags: ["Hyper-V"]
---

# List all hosts

`GET /hyperv/v1/orgs/{OrgID}/reports/hosts`

## Request

- Base URL: `//apis.druva.com/phoenix` (relative, and the document’s source URL is not known)
- URL: `//apis.druva.com/phoenix/hyperv/v1/orgs/{OrgID}/reports/hosts`
- Auth: API key in header `Authorization`

Returns a list of host proxies for Hyper-V.

## Path parameters

- `OrgID` integer, required

## Query parameters

- `hostName` string[]
- `pageToken` string

## Response `200`

Success

- HVGetHostReportResponse: GetHostReportResponse is the response schema for GetFRLProxyReport
  - `nextPageToken` string: The token to access the next page of results. This parameter will be empty for the last page of results.
  - `result` HVHyperVHost[]: List of Hyper-V host.
    - `connectionStatus` string: The connection status of the host.
    - `name` string: The name of the host.
    - `os` string: The operating system of the host.
    - `osVersion` string: The version of the operating system of the hosts.

## Other responses

- `400`: Bad Request
- `404`: The requested resource was not found.
- `500`: The request was not processed due to an internal error in the Cloud.

---

[API](https://skmtc.dev/druva/apis/enterprise-workloads.md) - [All operations](https://skmtc.dev/druva/apis/enterprise-workloads/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/enterprise-workloads/revisions/18fc75e8229e?raw)
