SnozeDevelopers
API referenceAdmin workspaces

List workspaces with their operational state

Returns every workspace with its plan, limit overrides, and current AI usage, as shown on the admin operations screen. Platform admins only.

GET
/v1/admin/workspaces
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/admin/workspaces"
{  "data": {    "workspaces": [      {        "workspaceId": "string",        "name": "string",        "slug": "string",        "lifecycleStatus": "active",        "memberCount": 0,        "billedPlan": "free",        "subscriptionStatus": "none",        "effectivePlan": "free",        "currentPeriodEnd": "string",        "override": {          "planOverride": "free",          "aiMonthlyBonusMicrousd": 0,          "aiBurstBonusMicrousd": 0,          "featureGrants": [            "integrations"          ],          "reason": "string",          "expiresAt": "string",          "updatedAt": "string"        },        "lastResetAt": "string"      }    ],    "globalAiResetAt": "string",    "totalWorkspaces": 0,    "truncated": true  }}