Workspaces / MCP

Get workspace subscription

Get the workspace owner's subscription state in one call: planType (starter/pro/etc), status, isAdmin, trialEnd, trialDaysRemaining, isTrialActive, totalSeats, usedSeats, and currentPeriodEnd. Resolves to the workspace owner so all members see the same plan. Pipeline is BYOK - no usage credits are charged.

tools/callDeterministic operation

Parameters

workspaceIdOptional · string
Optional. Omitting it falls back to the authenticated user's personal subscription.
Request example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get-workspace-subscription",
    "arguments": {}
  }
}
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional. Omitting it falls back to the authenticated user's personal subscription."
    }
  }
}
See this operation inCLI REST API TypeScript SDK
MCP reference | Pipeline v2 preview