---
title: "Run one sidecar request on a hosted worker"
method: POST
path: "/api/v0/desk/requests"
tags: ["Desk"]
---

# Run one sidecar request on a hosted worker

`POST /api/v0/desk/requests`

## Request

- Base URL: `https://api.outerport.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outerport.com/api/v0/desk/requests`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/outerport/apis/outerport-api/docs/api/v0/desk/requests/post.ts> (a function with typed inputs; its response is checked against the schema)

Compile, validate, or otherwise answer one stateless op-simulation sidecar request on a sandbox worker holding the named workspace version, or open a run (``sim_open``, ``board_open``). Answers the sidecar's own ``{result}`` or ``{error}`` envelope.

## Request body

- DeskRequestBody: One stateless sidecar request, or the opening of a run (``RUN_OPENING_METHODS``). The files it compiles are a hosted project's current ones (``project_id``), or a version the desktop pushed into one of the caller's own agent sessions (``session_id``, and ``version_id`` or its latest); neither means a request that reads no files, such as the rule catalog. ``catalog_id`` names the caller's parts catalog (``desk_catalog``), for a request whose ``root`` or ``catalog_root`` names the catalog; it travels beside the project's files.
  - `project_id` string, uuid, nullable
  - `session_id` string, uuid, nullable
  - `version_id` string, uuid, nullable
  - `catalog_id` string, uuid, nullable
  - `method` string, required
  - `params` object
  - `timeout_ms` integer

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-26** `07854361a13b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outerport/apis/outerport-api/changes/api/v0/desk/requests/post.md)

---

[API](https://skmtc.dev/outerport/apis/outerport-api.md) - [All operations](https://skmtc.dev/outerport/apis/outerport-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outerport/apis/outerport-api/revisions/08b5bf6f7f18?raw)
