Get Plan Usage
get_plan_usageShows this workspace's Mark plan (none, starter, growth, enterprise), subscription status, billing interval, trial end and current period end, and the 4 plan caps with used and limit: sites, trackedKeywords, aiPrompts (active buyer questions times configured active markets) and socialAccounts. limit is null when nothing limits that cap. These are the numbers Settings > Billing shows; the card on file shows only there. Starting a trial, paying, upgrading or changing the card happens only in the Mark app: billingUrl opens Settings > Billing, and upgradeUrl is set when a bigger plan is available. Does not change anything. Related: get_workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caps | Yes | ||
| plan | Yes | ||
| status | Yes | ||
| billingUrl | Yes | ||
| upgradeUrl | Yes | ||
| trialEndsAt | Yes | ||
| billingInterval | Yes | ||
| currentPeriodEnd | Yes |