---
title: "Workspace opened from a registered file"
method: PUT
path: "/api/desktop/workspaces/{workspaceName}/opened-from/{fileId}"
tags: ["desktop"]
---

# Workspace opened from a registered file

`PUT /api/desktop/workspaces/{workspaceName}/opened-from/{fileId}`

## Request

- The document declares no server URL.
- Auth: none declared

Records that the workspace was opened from a pending file: it is saved, and Save writes to that file. The pending file is removed once this is recorded. 409 while the workspace is being changed; the pending file stays for another try. Only in the desktop app.

## Path parameters

- `workspaceName` string, required
- `fileId` string, required

## Response `204`

Recorded

## Other responses

- `404`: No such pending file
- `409`: The workspace is being changed right now

## Changes

- **2026-12-03** `2154fa285897`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/desktop/workspaces/:workspaceName/opened-from/:fileId/put.md)

---

[API](https://skmtc.dev/soptim/apis/rdfarchitect-backend.md) - [All operations](https://skmtc.dev/soptim/apis/rdfarchitect-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8?raw)
