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

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

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

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.snoze.dev/v1/admin/workspaces'
Example Response
{  "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,          "aiRunCapMicrousd": 0,          "featureGrants": [            "integrations"          ],          "reason": "string",          "expiresAt": "string",          "updatedAt": "string"        },        "lastResetAt": "string"      }    ],    "globalAiResetAt": "string",    "totalWorkspaces": 0,    "truncated": true  }}