get_billing
Retrieve billing and usage data for your account, including credit consumption, API call history, and Stripe portal access. Filter by date range, event type, or tags to analyze costs.
Instructions
Get billing and usage events for your account. Returns credit consumption, API call history, and a link to the Stripe customer portal. Filter by date range, event type, or tags.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Your account UUID | |
| start_date | No | Filter events from this ISO 8601 date (inclusive) | |
| end_date | No | Filter events until this ISO 8601 date (inclusive) | |
| type | No | Filter by event type | |
| tags | No | Comma-separated tags to filter by |