v56

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01142337440.5 KB
WorkspaceAdminService
Workspace Admin

List all workspaces in the account

Lists every workspace in the account, optionally including archived ones. Admin only.

get/v1/account/workspaces

Query parameters

limitinteger

Maximum number of results to return

cursorstring

Pagination cursor from previous response

includeArchivedboolean

When true, archived workspaces are included in the results. Defaults to false (active workspaces only).

labelsstring

Filters by metadata labels. Comma-separated key=value pairs, e.g. "env=prod,team=ai". A resource matches only if every pair matches exactly (AND semantics).

Response

OK

Example response

{
  "items": [
    {
      "metadata": {
        "accountId": "account_01HXKD2E5NQM3T9AYWCFTJHJVF",
        "profileId": "profile_01HXKD2E5NQM3T9AYWCFS0AP08"
      }
    }
  ]
}