Manage workspace creation, membership, join codes, TOTP policy, billing access, and resource ownership. Workspaces are the ownership boundary for sandboxes, browser sessions, notebook sessions, secrets, billing, and many deployment resources.

Current Workspace Endpoints

ActionEndpoint
List my workspacesGET /workspaces
Create workspacePOST /workspaces
Get workspaceGET /workspaces/{id}
Update workspacePUT /workspaces/{id}
Delete workspaceDELETE /workspaces/{id}
Join by codePOST /workspaces/join
Invite memberPOST /workspaces/{id}/members
Remove memberDELETE /workspaces/{id}/members/{userId}
Update TOTP policyPUT /workspaces/{id}/totp-policy

Practical Notes

  • Most workload-creation endpoints require workspaceId.
  • Membership-protected resources use workspace guards in the API server.
  • Billing, secrets, rate limits, and OAuth connections are all nested under a workspace.
  • Workspace billing APIs live under /workspaces/{workspaceId}/billing/*; the old /workspaces/{id}/balance* routes are gone.

API Pages