Skip to main content
Manage billing and usage. Find every run operation under Runs: lifecycle, events, input requests, children, the runs that triggers start, and the runtime callbacks workers use. Configure schedules and webhooks to trigger runs automatically. Use project queries for individual applications. Use account analytics to inspect conversation activity across the account, and Runs for account run analytics. Assign access through account and project roles. Private resources may require additional permissions. Inspect usage by account, project, member, or API key. Use budgets to cap monthly AI spend. Subscriptions · Billing · Credits · Budgets · Usage · Analytics

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; use PATCH /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