Get Subscription Detail
Returns the current account’s subscription details, including plan information, Flow rates, account status, and quota usage across all time windows.
Authentication
- Name:
Authorization
- Format:
Bearer <API_KEY>
- Description: A Management API Key created in the AGIPower Console
This endpoint only accepts Management API Keys. Standard API Keys are not supported.
Rate Limiting
Each endpoint has its own independent rate limit counter. The maximum number of requests per minute is configured at the platform level. Exceeding the limit returns a 422 error.
Returns
data.plan object
Current subscription plan details:
tier string — Plan tier: "free" / "pro" / "max" / "ultra"
amount_usd number — Monthly plan price (USD)
interval string — Billing cycle, always "month"
expires_at string — Current subscription period expiry time (ISO 8601)
data.currency string
Currency unit. Always "usd".
data.base_usd_per_flow number
The platform base rate for the current plan (USD per Flow).
data.effective_usd_per_flow number
The account’s actual effective rate (USD per Flow). Normally equals the base rate; may be higher when usage anomalies are detected.
data.account_status string
The account’s current status:
data.quota_5_hour object
5-hour rolling window quota (high-frequency protection):
usage_percentage number — Fraction of the window consumed (0–1), to 4 decimal places
resets_at string | null — Window reset time (ISO 8601); null if the window has not yet started
max_flows number — Maximum Flows available in this window
used_flows number — Flows consumed so far
remaining_flows number — Flows remaining
used_value_usd number — USD value of consumed Flows
max_value_usd number — USD value of the total window quota
data.quota_7_day object
7-day rolling window quota. Same field structure as quota_5_hour.
data.quota_monthly object
Monthly subscription cycle quota (upper limits only; no real-time usage data):
max_flows number — Maximum Flows available in the current billing cycle
max_value_usd number — USD value of the total monthly quota
quota_5_hour and quota_7_day are rolling windows that update in real time after each request.
quota_monthly is a fixed cap for the current billing cycle and does not include real-time usage.
- All three windows are enforced simultaneously — hitting any one of them will rate-limit further requests.
GET /v1/management/subscription/detail