Get plan usage
get_plan_useFetch an organization's plan limits and current usage for accounts, storage and integrations before promising a connected account, since plan caps are permanent, not transient.
Instructions
What the organization's plan allows and what it has already used: accounts, storage and integrations. Check this before promising the user a connected account — a plan limit is not a transient error and retrying never fixes it. PUBLICATIONS ARE UNLIMITED on every plan: the count is reported for context and has no ceiling, so never refuse to schedule posts over it. What can stop a batch is rate — a per-hour cap per account and a daily cap per network, both in get_social_limits — and that one IS transient: waiting fixes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_organization | No | The PlanVortex organization id. Optional: if this app reaches a single organization, or the server was configured with a default one, it is resolved automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| used | Yes | ||
| limits | Yes | ||
| assigned | Yes |