latestOpenAPI 3.1.02026-08-21375257351.2 KB

e99c1b6139c8

runtime_mutations
workspace

Export Workspace To Path Endpoint

Write a workspace's .qualia archive into a local directory.

The download endpoint hands the archive to the browser, which cannot survive a multi-gigabyte workspace export: buffering it crashes the renderer and takes the app's socket connection with it. Here the backend writes the file itself, so the bytes never leave this process. Only available when the workspace is on this machine — anywhere else the path would name a directory the user cannot see.

post/api/workspaces/{workspace_id}/export-to-path

Path parameters

workspace_idstring required

Request body

directorystring required
include_workspace_filesboolean

Response

Successful Response

object required