Workspace Endpoints¶
Create Workspace¶
Request Body¶
{
"name": "my-workspace",
"description": "Project workspace",
"spec": { ... },
"labels": { "team": "platform" }
}
Response 201 Created¶
Returns the created Workspace object.
List Workspaces¶
Query Parameters¶
| Parameter | Type | Description |
|---|---|---|
name | string | Filter by name (substring match) |
labels | string | Comma-separated key=value pairs |
Get Workspace¶
Update Workspace¶
Request Body¶
All fields optional — only provided fields are updated.
{
"name": "updated-name",
"description": "updated description",
"spec": { ... },
"labels": { ... }
}
Delete Workspace¶
Returns 204 No Content.
Launch Workspace¶
Create a sandbox from a workspace definition.
Response 202 Accepted¶
List Workspace Sandboxes¶
Returns sandbox IDs created from this workspace.
Export as TOML¶
Returns Content-Type: application/toml with the workspace spec as TOML.
Import from TOML¶
Body is raw TOML content. Returns the created Workspace object.