cliDeterministic
Get workspace subscription
pipeline 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.
Parameters
workspaceId
string
Optional. Omitting it falls back to the authenticated user's personal subscription.
Example
CLI commandbash
pipeline get-workspace-subscription
Response
The operation is available, but its typed response schema has not been published yet.
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.