cURL
curl --request GET \ --url https://app.alana.shopping/api/workspace/{workspaceId}/billing/usage \ --header 'Authorization: Bearer <token>'
{ "api_calls": { "used": 45000, "limit": 100000 }, "ai_generations": { "used": 250, "limit": 1000 }, "storage_mb": { "used": 512, "limit": 5000 }, "seats": { "used": 5, "limit": 10 } }
Retrieve current month usage stats and limits
Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>
Authorization: Bearer <token>
The workspace ID
Usage statistics retrieved successfully
Show child attributes