Subscriptions
Read owner-wide collaboration entitlements and seat usage. The project reference selects its owner; can_invite does not grant requester invitation permission. Read, upgrade, or cancel the account subscription. Create a checkout session or open the billing portal.Billing
Read financial records owned by the selected account. Read or update account billing details. List invoices and upcoming invoices. List, attach, detach, or select payment methods. List account payments.Credits
Check the credit balance, review transactions, buy credits, or redeem a coupon.Budgets
Set monthly AI spending caps by project, person, API key, or a combination of these fields. New budgets count spending already incurred that month; usePATCH /budgets/{budget_id} to change an existing cap.
Usage
Read account consumption, credit usage, limits, trends, and warnings. Use member usage for project AI spend by person and automation. AI usage analytics adds daily project or member consumption and customer charges. The project usage endpoint returns the project owner’s account-wide totals, not project-attributed usage. List usage across API keys or inspect one key. Manage the keys themselves through API key endpoints. Manage inference limits for project-bound keys.Analytics
Start, list, inspect, cancel, and resume agent, task, and workflow runs, follow their events, answer their input requests, and find the runs that schedules, webhooks, and evaluations start. Read account-level conversation analytics. Find account run analytics under Runs. Use the Billing and Usage API for consumption and spending data.
Back to REST API reference