Skip to main content
GET
/
account
/
quota
Get remaining quota
curl --request GET \
  --url https://api.luna-modelling.com/v1/account/quota \
  --header 'X-API-Key: <api-key>'
{
  "account_id": 123,
  "account_name": "acme-corp",
  "quota_remaining": 9850
}
Returns the remaining quota units allotted to your account. Poll this endpoint before launching long-running modelling jobs to make sure you stay within limits.

Authorizations

X-API-Key
string
header
required

API key for authentication

Response

Successfully retrieved quota information

account_id
integer

The account ID

account_name
string

The account name

quota_remaining
integer

Number of API calls remaining in your quota