Skip to main content
GET
Download Zip

Overview

Streams a ZIP archive of a workspace directory. Pass path to archive a subdirectory, or omit it to archive the entire workspace root. The response is application/zip with a Content-Disposition: attachment header; point your HTTP client at a file when calling this endpoint from the CLI.

Path Parameters

string
required
Browser session ID (UUID).

Query Parameters

string
Workspace-relative directory to archive. When empty/omitted, the full workspace is archived as workspace.zip.

Example Request

Response

Success Response (200)

Binary response with Content-Type: application/zip and a Content-Disposition: attachment; filename="<path>.zip" header. When path is omitted the filename is workspace.zip; otherwise slashes in the path are replaced with dashes (e.g. exports/csv becomes exports-csv.zip).

Error Responses