List Workspaces
List every workspace you own or belong to with GET /v2/workspaces, each with its members, roles and shared applications. Empty when you have none.
GET
List Workspaces
string
required
The API key for your account. You can find this in your account settings.
workspaces:manage scope.
Returns every workspace where the authenticated user is either the owner or a member, each hydrated with its member list (names and roles) and its shared applications (name, RAM, language, domain). This is the entry point for building a workspace switcher or dashboard, since it avoids one Get Workspace call per workspace.
The response is an empty array for a user with no workspaces, whether that’s because they’re on a plan without workspace access or simply haven’t created or joined one. To create the first one, see Create Workspace.
Response
string
Indicates whether the call was successful:
success if it was, error if not.object
The contents of the response.
Common errors
Related
- CLI:
squarecloud workspace list - SDKs:
api.workspaces.list()(JavaScript),client.workspaces.list()(Python),c.Workspaces.List()(Go)

