Use this endpoint to retrieve your team’s current billing period credit usage. The API identifies your team from the API key, fetches the meter usage for the active billing period, and returns the number of credits already consumed.Documentation Index
Fetch the complete documentation index at: https://docs.theswarm.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
To use it, send aGET request to:
Authentication
Pass your API key in thex-api-key header.
| Header | Value | Description |
|---|---|---|
| x-api-key | “ | Your team’s API key. |
Query parameters
None.Response
A successful request returns200 OK with the following body:
| Field | Type | Description |
|---|---|---|
| usage | integer | Number of credits already consumed in the current billing period |

