---
title: "Read the result of work sent from this desktop"
method: GET
path: "/v1/computer-sources/commands/{id}"
tags: ["Internal"]
---

# Read the result of work sent from this desktop

`GET /v1/computer-sources/commands/{id}`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/computer-sources/commands/{id}`
- Auth: HTTP bearer

Only this desktop can read the work it sent. Waits for the result if asked to.

## Path parameters

- `id` string, required

## Query parameters

- `waitMs` integer

## Response `200`

The status or result of the work.

- union
  - object
    - `state` 'refused', required
    - `layer` 'organization' | 'computer' | 'source', required
    - `code` 'organization_off' | 'computer_not_allowed' | 'not_available_yet' | 'owner_app_only' | 'nothing_shared' | 'folder_not_shared' | 'sandbox_unavailable' | 'source_not_allowed' | 'folder_read_only' | 'not_owner', required
    - `message` string, required
    - `changeableBy` 'organization_admin' | 'computer_owner' | 'no_one', required
  - object
    - `state` 'offline', required
    - `message` string, required
    - `retryable` true, required
    - `lastSeenAt` string, date-time, nullable
  - object
    - `state` 'unsupported', required
    - `message` string, required
  - object
    - `state` 'running', required
    - `id` string, required
    - `expiresAt` string, date-time, required
  - object
    - `state` 'unknown', required
    - `id` string, required
    - `message` string, required
  - object
    - `state` 'done', required
    - `id` string, required
    - `exitCode` integer, required
    - `output` string, required
    - `truncated` boolean, required
  - object
    - `state` 'failed', required
    - `id` string, required
    - `error` object, required
      - `code` string, required
      - `message` string, required

## Other responses

- `400`: Invalid request.
- `401`: The runner token was missing, expired, or its owner is no longer an active member.
- `403`: This computer was disconnected from the organization; signing in on it again connects it.
- `404`: The computer or command was not found, or Computers is off.

## Changes

- **2026-11-28** `6aa21cd7a1ac`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openworklabs/apis/den-api/changes/v1/computer-sources/commands/:id/get.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)
