Documentation Index
Fetch the complete documentation index at: https://docs.agipower.ai/llms.txt
Use this file to discover all available pages before exploring further.
Get Subscription Detail
Authentication
Authorization Header Required
- Name:
Authorization - Format:
Bearer <API_KEY> - Description: A Management API Key created in the AGIPower Console
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 a422 error.
Returns
data.plan object
Current subscription plan details:
tierstring— Plan tier:"free"/"pro"/"max"/"ultra"amount_usdnumber— Monthly plan price (USD)intervalstring— Billing cycle, always"month"expires_atstring— 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:
| Value | Description |
|---|---|
healthy | Normal |
monitored | Usage anomaly detected; service remains available |
abusive | Abusive usage detected; restrictions applied |
suspended | Account suspended |
banned | Account banned |
data.quota_5_hour object
5-hour rolling window quota (high-frequency protection):
usage_percentagenumber— Fraction of the window consumed (0–1), to 4 decimal placesresets_atstring | null— Window reset time (ISO 8601);nullif the window has not yet startedmax_flowsnumber— Maximum Flows available in this windowused_flowsnumber— Flows consumed so farremaining_flowsnumber— Flows remainingused_value_usdnumber— USD value of consumed Flowsmax_value_usdnumber— 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_flowsnumber— Maximum Flows available in the current billing cyclemax_value_usdnumber— USD value of the total monthly quota
quota_5_hourandquota_7_dayare rolling windows that update in real time after each request.quota_monthlyis 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.