Skip to Content

Usage

GET /v1/usage

Get 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

FieldTypeDescription
usedintegerRules generated this billing period
limitintegerMaximum rules allowed this period (-1 for unlimited)
tierstringCurrent pricing tier: free, pro, team, or enterprise
periodStartstringISO 8601 start of the current billing period

Tier Limits

TierMonthly Limit
Free20 rules
ProUnlimited
TeamUnlimited
EnterpriseCustom

Errors

HTTPCodeDescription
401UnauthorizedInvalid or missing token
Last updated on