API / Usage
GET
/usage
Get the calling tenant's current and historical usage
Returns the live counter for the current calendar month plus the last 12 months of history. The current period also carries a per-identity breakdown for dashboard display.
Authentification : clé API Bearer requise.
Exemple curl
curl -X GET https://api.sporee.fr/usage \
-H "Authorization: Bearer $SPORE_API_KEY"Réponses
| Statut | Description | Type |
|---|---|---|
| 200 | OK | get_usage.UsageResponse |
| 401 | Unauthorized | echo.HTTPError |
| 500 | Internal Server Error | echo.HTTPError |
Source machine : openapi.json · opération getUsage