Usage
GET /v1/usageGet the current user’s monthly rule generation usage and tier limits.
Authentication
Requires Bearer token (JWT or API key).
Example Request
curl https://cloudsigma.a13e.com/v1/usage \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"success": true,
"data": {
"used": 15,
"limit": 20,
"tier": "free",
"periodStart": "2026-02-01T00:00:00Z"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
used | integer | Rules generated this billing period |
limit | integer | Maximum rules allowed this period (-1 for unlimited) |
tier | string | Current pricing tier: free, pro, team, or enterprise |
periodStart | string | ISO 8601 start of the current billing period |
Tier Limits
| Tier | Monthly Limit |
|---|---|
| Free | 20 rules |
| Pro | Unlimited |
| Team | Unlimited |
| Enterprise | Custom |
Errors
| HTTP | Code | Description |
|---|---|---|
| 401 | Unauthorized | Invalid or missing token |
Last updated on