Billing Ledger
billing_ledgerInspect individual Cloudeval usage attempts and credit charges with filters for model, outcome, action type, charge status, and date range. Returns paginated ledger rows to track per-event costs and identify failed or blocked usage.
Instructions
Inspect individual Cloudeval usage attempts and credit charges for the authenticated account. Use billing_usage for aggregates or billing_invoices for payment receipts. Defaults to the last 30 calendar days; explicit timestamps override the corresponding range bounds. Returns data.items, data.has_more and data.next_cursor; reuse the cursor with the same filters to read the next page. Requires billing read access; does not initiate purchases or evaluations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endAt | No | Exclusive ISO 8601 upper bound; overrides the range end. | |
| limit | No | Page size; the MCP handler floors and clamps it to 1–100. | |
| model | No | Exact model_name or operation value from a ledger row. Omit to include all models. | |
| range | No | Calendar-day window ending now. Use all for no implicit date bounds. | 30d |
| cursor | No | Opaque data.next_cursor from the previous response. Omit for the first page; retain the same filters while paging. | |
| baseUrl | No | Cloudeval API base URL. Defaults to the MCP server --base-url, active profile, CLOUDEVAL_BASE_URL, or the public API. | |
| outcome | No | Usage outcome filter, such as success, failure, blocked or skipped. | |
| profile | No | Cloudeval CLI config profile to read defaults from. Defaults to the server --profile or CLOUDEVAL_PROFILE. | |
| startAt | No | Inclusive ISO 8601 lower bound, for example 2026-09-01T00:00:00Z; overrides the range start. | |
| actionType | No | Exact action_type value from a ledger row. Omit to include all action types. | |
| frontendUrl | No | Cloudeval frontend base URL for generated links. Defaults to --frontend-url, active profile, CLOUDEVAL_FRONTEND_URL, or public frontend. | |
| chargeStatus | No | Charge disposition filter: charged, not_charged or bypassed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | Tool-specific result payload. | |
| command | Yes | ||
| traceId | No | ||
| frontendUrl | No | ||
| filesWritten | No |