---
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 states

## Other responses

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

---

[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)
