Current workspace routes for CRUD, icon management, membership, billing bindings, secrets, rate limits, and Google OAuth connections. Workspace APIs are the parent resource for most user-facing platform data.

Core Workspace Routes

ActionEndpoint
ListGET /workspaces
CreatePOST /workspaces
GetGET /workspaces/{id}
Get iconGET /workspaces/{id}/icon
UpdatePUT /workspaces/{id}
Upload iconPUT /workspaces/{id}/icon
Delete iconDELETE /workspaces/{id}/icon
DeleteDELETE /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

Nested Workspace Resources

AreaEndpoints
Billing bindingsGET /workspaces/{workspaceId}/billing/accounts, POST /workspaces/{workspaceId}/billing/accounts, POST /workspaces/{workspaceId}/billing/accounts/link, POST /workspaces/{workspaceId}/billing/accounts/{billingAccountId}/default, DELETE /workspaces/{workspaceId}/billing/accounts/{billingAccountId}
Workspace billing viewsGET /workspaces/{workspaceId}/billing/balance, POST /workspaces/{workspaceId}/billing/checkout, POST /workspaces/{workspaceId}/billing/checkout/x402, GET /workspaces/{workspaceId}/billing/transactions, GET /workspaces/{workspaceId}/billing/summary, GET /workspaces/{workspaceId}/billing/usage-overview
SecretsGET/POST/PATCH/DELETE /workspaces/{workspaceId}/secrets...
Rate limitsGET /workspaces/{workspaceId}/rate-limits, POST /workspaces/{workspaceId}/rate-limits/refresh
Google OAuth connectionsGET /workspaces/{workspaceId}/oauth-connections/google, POST /workspaces/{workspaceId}/oauth-connections/google/auth-url, POST /workspaces/{workspaceId}/oauth-connections/google/exchange, DELETE /workspaces/{workspaceId}/oauth-connections/google/{connectionId}

Notes

  • POST /workspaces accepts an optional billingAccountId.
  • If billingAccountId is omitted, the user’s default billing account is bound automatically.
  • Legacy /workspaces/{id}/balance routes have been removed; use /workspaces/{workspaceId}/billing/* or /billing-accounts/* instead.

Key Pages