Python
from datagrid_ai import Datagrid client = Datagrid( api_key="My API Key", ) credits_report = client.organization.credits.get() print(credits_report.consumed)
{ "remaining": 123, "consumed": 123, "total": 123 }
Summarise the credits in your account for the current billing period.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Credits Summary
The number of unused credits remaining for the current billing period.
The number of credits consumed in the current billing period.
The initial total number of credits for the current billing period.