get_usage
Check your current API credit balance and period usage meters. Use this after an insufficient_credits error to report the remaining balance.
Instructions
Get credit balance and period usage meters for the current API key (GET /v1/usage). Use this after an insufficient_credits error to report the balance. For the per-analysis transaction ledger (what each analysis cost, with source ids), use get_credits instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meters | Yes | Authoritative usage meters (credit_seconds balance, period meters). |