---
title: "Report this desktop's computer, workspaces and models"
method: PUT
path: "/v1/session-runners/inventory"
tags: ["Internal"]
---

# Report this desktop's computer, workspaces and models

`PUT /v1/session-runners/inventory`

## Request

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

Replaces the runner's latest inventory. Remote-session callers read it through remote-session:targets to choose a computer, workspace and model. Desktops send it when they connect and when it changes.

## Request body

- object
  - `computer` object, required
    - `label` string, required
    - `platform` 'darwin' | 'win32' | 'linux', required
    - `appVersion` string, required
  - `workspaces` object[], required
    - `workspaceId` string, required
    - `name` string, required
    - `active` boolean, required
    - `engine` 'v1' | 'v2', required
    - `defaultModel` object, nullable, required
      - `providerId` string, required
      - `modelId` string, required
      - `variant` string
    - `models` object[], required
      - `providerId` string, required
      - `modelId` string, required
      - `name` string, required

## Response `200`

The inventory was stored.

- object
  - `ok` true, required
  - `updatedAt` integer, required
  - `enginePolicy` object
    - `upgrade` boolean, required

## 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.
- `404`: The runner is not registered; register it again first.

## Changes

- **2026-11-11** `db574b1fc0cf`: 1 info
  - added the non-success response with the status `403`
- **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/inventory/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)
