API ReferenceSubscription
Get subscription quota
GET /subscription/quota
Get subscription quota
Subscription quota overview.
https://api.edgecron.com/v1/subscription/quota
Authentication required
Send `X-Key-ID`, `X-Timestamp`, and `X-Signature` with every request. The signature is lowercase hex HMAC-SHA256 over `timestamp + "\n" + payload`.
Parameters
This endpoint does not define path or query parameters.
Request body
This endpoint does not require a JSON request body.
Response
All successful responses use the EdgeCron API envelope.
{
"code": 0,
"message": "success",
"request_id": "req_abc123",
"data": {
"plan_code": "pro",
"billing_cycle": "monthly",
"quota": 1,
"used": 1,
"remaining": 1,
"exceeded": true,
"current_period_start": 1,
"current_period_end": 1,
"usage_percent": 1
}
}Schema
| Parameters | Type | Required | Description |
|---|---|---|---|
plan_code | string | No | Example: pro. |
billing_cycle | string | No | Example: monthly. |
quota | integer (int64) | No | Total events allowed per billing cycle |
used | integer (int64) | No | Events consumed in current cycle |
remaining | integer (int64) | No | Events remaining in current cycle |
exceeded | boolean | No | Whether the quota has been exceeded |
current_period_start | integer (int64) | No | Unix timestamp |
current_period_end | integer (int64) | No | Unix timestamp |
usage_percent | number (double) | No | Usage percentage 0-100 |