Account: plan, credits, and catalog
GET /v1/account
Current plan, credit balance, effective rate limit, whether a Stripe billing relationship exists, and the purchasable plan/pack catalog with prices.
Example request
curl "https://oxtg7m5erd.execute-api.us-east-1.amazonaws.com/v1/account" \
-H "Authorization: Bearer <session-jwt>"Example response
{
"success": true,
"data": {
"plan": "growth",
"credits": 5820,
"rate_limit_rpm": 600,
"stripe_customer": true,
"catalog": {
"plans": [
{
"id": "standard",
"name": "Standard",
"monthly_price_cents": 2900,
"monthly_credits": 3000,
"rate_limit_rpm": 300
}
],
"packs": [
{
"id": "pack_5k",
"name": "5,000 credits",
"price_cents": 5500,
"credits": 5000
}
]
}
},
"credits_used": 0,
"request_id": "req_…"
}Try it
Open this endpoint in the interactive playground — requests run with your API key.
Last updated on