---
title: "Copy Selected Text"
method: POST
path: "/v1/sessions/{sessionId}/copy"
tags: ["OS Level Control"]
---

# Copy Selected Text

`POST /v1/sessions/{sessionId}/copy`

Copies the currently selected text to the clipboard

## Path parameters

- `sessionId` string, uuid, required

## Response `200`

Text copied successfully

- CopyResponseSchema
  - `text` string — The text that was copied

## Other responses

- `404` — Session not found
- `500` — Failed to copy text

---

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