---
title: "Get session states for virtual desktops"
method: GET
path: "/api/dcv/virtual_desktops/session_state"
tags: ["Virtual Desktops"]
---

# Get session states for virtual desktops

`GET /api/dcv/virtual_desktops/session_state`

Retrieves the current state of one or more DCV virtual desktop sessions

## Query parameters

- `session_uuid` string, required

## Headers

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

## Response `200`

Session states retrieved successfully

- object
  - `success` boolean, required
  - `message` object, required — Dictionary mapping session UUIDs to their state objects

## Other responses

- `400` — Missing required parameters
- `401` — Authentication failed

## Changes

> 6 revisions in range; 4 could not be searched.

- **2025-08-05** (v1) `55c07c16d2e1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/aws-samples/apis/engineering-development-hub-edh-api/changes/api/dcv/virtual_desktops/session_state/get.md)

---

[API](https://skmtc.dev/aws-samples/apis/engineering-development-hub-edh-api.md) · [All operations](https://skmtc.dev/aws-samples/apis/engineering-development-hub-edh-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/engineering-development-hub-edh-api/revisions/058396b8f0f1/schema)
