---
title: "List user's virtual desktop sessions"
method: GET
path: "/api/dcv/virtual_desktops/list"
tags: ["Virtual Desktops"]
---

# List user's virtual desktop sessions

`GET /api/dcv/virtual_desktops/list`

Retrieves DCV desktop sessions for the authenticated user with optional filtering

## Query parameters

- `is_active` 'true' | 'false', required
- `session_uuid` string, uuid
- `state` 'pending' | 'running' | 'stopped' | 'stopping' | 'terminated'

## Headers

- `X-EDH-USER` string, required
- `X-EDH-TOKEN` string, required

## Response `200`

Successfully retrieved virtual desktop sessions

- object
  - `success` boolean, required
  - `message` object, required

## Other responses

- `400` — Bad request - missing or invalid parameters
- `401` — Unauthorized - invalid user/token pair
- `500` — Internal server error

---

[API](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api.md) · [All operations](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/engineering-development-hub-edh-api/versions/6db97cead8df/schema)
