---
title: "Read a remote session"
method: POST
path: "/v1/remote-sessions/read"
tags: ["Automations"]
---

# Read a remote session

`POST /v1/remote-sessions/read`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/remote-sessions/read`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Returns a page of a remote session's transcript by sessionId, or a desktop task's receipt by commandId or requestId. A desktop that has not answered within about 20 seconds returns state pending with a requestId to read later. Same result as the remote-session:read capability.

## Request body

- object
  - `messageId` string
  - `sessionId` string
  - `commandId` string
  - `requestId` string
  - `workspaceId` string
  - `from` 'start' | 'end'
  - `cursor` string
  - `limit` integer

## Response `200`

The transcript page or receipt.

- RemoteSessionResult

## Other responses

- `400`: The request or its arguments were invalid.
- `401`: Authentication required.
- `404`: The task is unknown or the organization was not found.
- `409`: The task cannot do that now. remote_access_off: the computer takes nothing from other devices (its owner's choice, no choice yet under the organization's opt-in, or the organization's ceiling); the message says who can allow it.
- `503`: The computer or cloud workspace that runs the task can't be reached right now; retry.

## Changes

- **2026-10-30** `a77c5a5943bf`: 1 breaking, 3 info
  - the response's body type changed from no type to `object` for status `404`
  - removed `#/components/schemas/NotFoundError, subschema #2` from the response body `anyOf` list for the response status `404`
  - added the optional property `message` to the response with the `404` status
  - added the required property `error` to the response with the `404` status
- **2026-10-23** `c93387179b31`: 1 info
  - response property `anyOf[#/components/schemas/InvalidRequestError]/details/items/path/items/` list-of-types was narrowed by removing types `number` from media type `application/json` of response `400`
- **2026-10-16** `f6900cd079e7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/remote-sessions/read/post.md)

---

[API](https://skmtc.dev/openworklabs/apis/den-api.md) - [All operations](https://skmtc.dev/openworklabs/apis/den-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openworklabs/apis/den-api/revisions/84fb0f99fb95?raw)
