get_account_usage
Use this before a credit- or post-consuming action, especially a bulk one (many generations, connecting an RSS feed with connect_feed, scheduling many Pins), or when the user asks how many credits or posts they have left or when they refill. Returns remaining credits, the monthly allowance and when it resets, plus the post allowance where the plan has one. Free: this read spends nothing.
Read billingSystem, scope and unlimitedScheduling first. When unlimitedScheduling is true (the modular winback plan), scheduling Pins spends no credits, whatever the credit balance says. On modular billing, credits belong to this account and pay for scheduling (one credit per Pin, unless unlimitedScheduling is true) as well as AI generation; postLimit is null. On legacy and Shopify billing, scope is "organization": one credit pool and one post allowance are shared by every account in the organization, so every account reports the same numbers and you must never add them up across accounts. That pool pays for credit-priced features such as AI generation (generate_pins_from_url, generate_pin_copy, and every SmartPin a connected feed drafts) and Turbo, while ordinary scheduling spends postLimit instead of credits.
This is a planning snapshot, not permission. Trial allowances are tracked separately, so zero credits does not mean nothing can be done and a positive balance does not guarantee an action will succeed. When an action is refused anyway, report the refusal it returns. If the user did not say which Pinterest account to use and list_accounts returns more than one, ask the user which account to use before calling this — do not choose for them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Numeric Tailwind account ID returned by list_accounts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Who every value belongs to. "organization": one pool shared by all the organization's accounts, reported identically on each. "account": this account alone. | |
| credits | Yes | ||
| postLimit | Yes | The post allowance ordinary scheduling spends on legacy and Shopify billing, for the current usage period only. Null when the billing system does not meter posts (modular). | |
| billingSystem | Yes | Which billing system the account's organization is on | |
| unlimitedScheduling | Yes | True when the account is on the modular winback plan, which schedules Pins without spending credits while reporting zero monthly credits. Credits still pay for AI generation. Always false on legacy and Shopify billing: there, read postLimit, which covers the current usage period only. |