Show the credit balance
get_credit_balanceThe organization's credits left, the included and bought credits, the reset date, and one project's month: credits spent, ingestions, recalls, and what is left of its credit and ingestion caps. Use it when an ingestion is refused with 402 (out of credits) or 429 project-cap-reached. metered is false on a self-hosted deployment with no plan, and the credit figures are then null. Answers what GET /api/v1/usage answers for a project key; needs project Read on the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | The project's slug, exactly as get_viewer or list_projects returned it. May be omitted when the organization has one live project. |