---
title: "Get Virtual Environments"
method: GET
path: "/api/v1/flow-version-deployments/virtual-environments"
tags: ["Virtual Environments"]
---

# Get Virtual Environments

`GET /api/v1/flow-version-deployments/virtual-environments`

Retrieves a list of virtual environments that have at least one flow version deployment. Can be filtered by `name`, `type`, `status`, `hasDeployedVersion`, and `labelled`.

## Query parameters

- `filter[name]` string
- `filter[type]` string
- `filter[status]` string
- `filter[hasDeployedVersion]` string
- `filter[labelled]` string
- `include` string
- `sort` string
- `page` integer
- `per_page` integer

## Response `200`

Successful response

- object

## Other responses

- `401` — Unauthenticated
- `403` — Unauthorized

---

[API](https://skmtc.net/wearepatchworks/apis/patchworks-core-api.md) · [All operations](https://skmtc.net/wearepatchworks/apis/patchworks-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wearepatchworks/patchworks-core-api/revisions/89261af4dd80/schema)
