Documentation

Plans, limits and usage

What a plan limits, what happens at a limit, and how monthly active users are counted.

All documentation

A workspace is on the Free plan until Ziqme puts it on another plan. The plan page in the Auth admin app shows what the plan allows, what is used and the invoices. To change the plan, contact Ziqme at https://ziqme.com/contact.

At a limit

An administrator action over a limit answers 402 with a problem document that names the plan and the limit and carries upgradeUrl. Registering an application and adding a custom domain are checked this way.

402
{
  "status": 402,
  "code": "subscription_limit",
  "productCode": "auth",
  "metric": "applications",
  "limit": 2,
  "currentUsage": 2,
  "upgradeUrl": "https://app.ziqme.com/auth-admin/plan",
  "detail": "The Ziqme Auth Free plan allows 2 applications and all of them are in use. Upgrade your plan to add more: …"
}

Monthly active users

A monthly active user is a person who signed in to any of the workspace's applications during the UTC calendar month. Refreshing a token is not a sign-in.

UsageEffect
Under 80% of the limitNone
80% or moreA warning in the admin app. Nobody is refused
100% or moreA stronger warning. People new this month are still admitted up to 120% of the limit
120% or morePeople who have not signed in this month are returned with error=temporarily_unavailable. People who have keep signing in

Nobody who has already signed in this month is locked out, and the count starts again on the first of each month.

Per-application rate limit

Each application has an allowance of sign-ins and token requests per minute, 600 by default. Over it the token endpoint answers 429 with Retry-After. Only an authenticated client or a signed-in person is counted, so nobody can spend another application's allowance with its client ID.

Usage

GET /api/v1/auth/applications/{id}/usage?from=…&to=… returns sign-ins, token grants, refreshes and refusals per UTC day, and the monthly active users of each month in the range.