---
title: "Perform screen interaction on a Computer."
method: POST
path: "/v1/devboxes/computers/{id}/screen_interaction"
tags: ["Computer", "Computer Interaction"]
---

# Perform screen interaction on a Computer.

`POST /v1/devboxes/computers/{id}/screen_interaction`

Perform the specified screen interaction on the Computer identified by the given ID.

## Path parameters

- `id` string, required

## Request body

- ScreenInteraction
  - `action` 'screenshot' | 'cursor_position', required

## Response `200`

OK

- ComputerInteractionResult
  - `output` string
  - `error` string
  - `latest_screenshot_base64_img` string

---

[API](https://skmtc.dev/runloopai/apis/runloop-api.md) · [All operations](https://skmtc.dev/runloopai/apis/runloop-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runloopai/runloop-api/revisions/5f33221208c1/schema)
