---
title: "Report this computer's session access and sessions"
method: PUT
path: "/v1/session-runners/sessions"
tags: ["Internal"]
---

# Report this computer's session access and sessions

`PUT /v1/session-runners/sessions`

## Request

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

Replaces what Den knows about the runner's sessions: the access in force on the computer (off, created or all), whether its owner chose it (chosen, from runners with remote_session_choice_v1) and, while access is all, the sessions it has. Only the computer's owner ever sees them. Den never keeps more than the organization's ceiling allows: under a ceiling of created it keeps created at most, under off it keeps off, and no sessions either way, whatever was sent. From a runner whose owner can choose, Den keeps the access only when chosen is true; until then the organization's default applies. From a runner whose owner cannot, Den keeps created at most while remoteTasksOptIn is on, when that computer takes nothing whatever it reports. A report kept as anything but all also detaches the attach commands this runner delivered. The response carries the current ceiling and opt-in. Requires a registered runner for this member with a supported session access or owner-choice capability.

## Request body

- object
  - `access` 'off' | 'created' | 'all', required
  - `chosen` boolean
  - `sessions` object[], required
    - `workspaceId` string, required
    - `sessionId` string, required
    - `title` string, required
    - `engine` 'v1' | 'v2', required
    - `updatedAt` integer, required
    - `working` boolean

## Response `200`

The report was stored.

- object
  - `ok` true, required
  - `updatedAt` integer, required
  - `sessionAccess` object, required
    - `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`: The runner registered neither remote_session_access_v1 nor remote_session_choice_v1.
- `404`: The runner is not registered.

## Changes

- **2026-11-12** `6a596dec3f24`: 1 warning, 3 info
  - added the new `off` enum value to the `sessionAccess/ceiling` response property for the response status `200`
  - added the new optional request property `chosen`
  - added the new `off` enum value to the request property `access`
  - added the optional property `sessionAccess/optIn` to the response with the `200` status
- **2026-11-11** `1da447287f26`: 1 breaking
  - the `sessions/items/updatedAt` request property's max was decreased to `253402300799999.00`
- **2026-11-11** `c298eb7b3d3c`: 1 info
  - endpoint added

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