---
title: "Discover Automation runner work"
method: GET
path: "/v1/session-runners/work"
tags: ["Internal"]
---

# Discover Automation runner work

`GET /v1/session-runners/work`

## Request

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

Returns the runs and remote-session commands currently assignable to this runner. Runners with remote_session_access_v1 or remote_session_choice_v1 also get sessionAccess, the organization's ceiling and whether a computer whose owner has not chosen takes nothing (optIn), for registered runners that support session access or the owner's choice. Only runners with remote_session_access_v1 get attach commands; the organization ceiling and computer owner's choice still constrain access.

## Response `200`

Available work items.

- object
  - `items` union[], required
    - union
      - object
        - `runId` string, required
        - `executionTarget` 'desktop', required
        - `workspaceId` string
      - object
        - `kind` 'remote_session_create', required
        - `commandId` string, required
      - object
        - `kind` 'remote_session_request', required
        - `requestId` string, required
      - object
        - `kind` 'remote_session_attach', required
        - `commandId` string, required
  - `enginePolicy` object
    - `upgrade` boolean, required
  - `sessionAccess` object
    - `ceiling` 'off' | 'created' | 'all', required
    - `optIn` boolean

## Other responses

- `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.

## Changes

- **2026-11-12** `6a596dec3f24`: 1 warning, 1 info
  - added the new `off` enum value to the `sessionAccess/ceiling` response property for the response status `200`
  - added the optional property `sessionAccess/optIn` to the response with the `200` status
- **2026-11-11** `db574b1fc0cf`: 1 info
  - added the non-success response with the status `403`
- **2026-11-11** `c298eb7b3d3c`: 2 info
  - added the optional property `sessionAccess` to the response with the `200` status
  - added `subschema #4` to the `items/items/` response property `anyOf` list for the response status `200`
- **2026-10-17** `e0825d77ed08`: 1 info
  - added the optional property `enginePolicy` to the response with the `200` status
- **2026-10-11** `13ebcfe8505a`: 1 info
  - endpoint added

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