---
title: "A screenshot of the desktop, as image/png (or image/jpeg with format=jpeg)."
method: GET
path: "/v1/sandboxes/{id}/desktop/screenshot"
tags: ["desktop"]
---

# A screenshot of the desktop, as image/png (or image/jpeg with format=jpeg).

`GET /v1/sandboxes/{id}/desktop/screenshot`

## Request

- Base URL: `https://api.withruntime.com`
- URL: `https://api.withruntime.com/v1/sandboxes/{id}/desktop/screenshot`
- Auth: HTTP bearer

## Path parameters

- `id` string, required: Resource identifier (UUID).

## Query parameters

- `format` 'png' | 'jpeg'
- `quality` integer

## Response `200`

Success

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/withruntime/apis/runtime-cloud-api.md) · [All operations](https://skmtc.dev/withruntime/apis/runtime-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/withruntime/apis/runtime-cloud-api/revisions/e76cd8f6dcb4?raw)
