---
title: "GET /api/dcv/virtual_desktops/screenshot"
method: GET
path: "/api/dcv/virtual_desktops/screenshot"
tags: ["Virtual Desktops"]
---

# GET /api/dcv/virtual_desktops/screenshot

`GET /api/dcv/virtual_desktops/screenshot`

GET operation for /api/dcv/virtual_desktops/screenshot

## Query parameters

- `session_id` string, required

## Headers

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

## Response `200`

Screenshot lookup result (success=true with URL, or success=false if unavailable)

- object
  - `success` boolean
  - `message` union
    - object — Pre-signed URL (when success is true)
      - `url` string, uri — Pre-signed S3 URL for the screenshot (expires in 5 minutes)
    - string — Error message (when success is false, e.g. "No screenshot available")

## Other responses

- `401` — Authentication required
- `403` — Not authorized to view the screenshot for this session

---

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