---
title: "GET /v1/{+source}:fetchInventory"
method: GET
path: "/v1/{+source}:fetchInventory"
tags: ["projects"]
---

# GET /v1/{+source}:fetchInventory

`GET /v1/{+source}:fetchInventory`

List remote source's inventory of VMs. The remote source is the onprem vCenter (remote in the sense it's not in Compute Engine). The inventory describes the list of existing VMs in that source. Note that this operation lists the VMs on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.

## Path parameters

- `source` string, required

## Query parameters

- `forceRefresh` boolean
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/vmmigration.md) · [All operations](https://skmtc.net/google/apis/vmmigration/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/vmmigration/versions/c812c34615f3/schema)
