---
title: "List pending work for this computer"
method: GET
path: "/v1/computer-runners/commands"
tags: ["Internal"]
---

# List pending work for this computer

`GET /v1/computer-runners/commands`

## Request

- Base URL: `https://api.openworklabs.com`
- URL: `https://api.openworklabs.com/v1/computer-runners/commands`
- Auth: HTTP bearer

Lists up to 20 commands still available to pick up, oldest first. If asked to wait, returns as soon as work arrives. Checking in lets Den know this computer is listening for work.

## Query parameters

- `waitMs` integer

## Response `200`

Pending commands.

- object
  - `items` object[], required
    - `id` string, required
    - `expiresAt` string, date-time, required

## Other responses

- `400`: Invalid wait time.
- `401`: The runner token was missing, expired, or its owner is no longer an active member.
- `403`: This computer cannot use the sandbox or has been disconnected.
- `404`: Computers is disabled or the computer or command was not found.

## Changes

- **2026-11-28** `6aa21cd7a1ac`: 2 info
  - added the new optional `query` request parameter `waitMs`
  - added the non-success response with the status `400`
- **2026-11-28** `974b1bd609d3`: 1 info
  - endpoint added

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