Check your current credit balance.
| Field | Type | Description |
|---|---|---|
credits | number | Your current credit balance |
| Endpoint | Method | Description |
|---|---|---|
GET /v1/credits | GET | Get current credit balance |
POST /v1/credits/refresh | POST | Force refresh credits from database (use if balance seems stale) |
GET /v1/credits/health | GET | Validate API key and check authentication status |
Cache the response
Use response headers instead
X-Credits-Remaining header - use this instead of making a separate call:Set up alerts