Skip to main content
GET
/
api
/
workspace
/
{workspaceId}
/
billing
/
usage
Get usage statistics
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
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>

Path Parameters

workspaceId
string
required

The workspace ID

Response

Usage statistics retrieved successfully

api_calls
object
ai_generations
object
storage_mb
object
seats
object