account_ledger
Retrieve billing and usage charges for sub-accounts within a date range, with options to query specific account statuses like archived, canceled, or paused.
Instructions
Get billing/ledger data across sub-accounts.
Shows usage charges for the given date range.
Only queries active sub-accounts by default. Pass account_status="archived", "canceled", "paused", or "all" to query other sub-accounts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| start_date | No | ||
| account_ids | No | ||
| account_status | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |