Get workspace script
GET/v1/workspaces/:workspaceId/workspace-script
Returns the workspace script: a bash script that every session in the workspace starts in the background at the beginning of every boot, before any template script, together with its variables. Requires the caller to hold the workspace's billing-view permission (workspace owners and billing-managing custom roles) and the workspace to be on the rollout flag; other callers receive a permission-denied error. Protected variable values are never returned.
RequestClick to copy link
ResponsesClick to copy link
- 200
A successful response.