GEThttps://api.veriko.mx/v1/usage/summary

Current monthly quota summary

Visibility
public
Auth
API key
Permission
billing.usage.read
How-to guide →

Returns the validation quota of the plan assigned to the authenticated user:

  • The plan limit.
  • The validations consumed.
  • The validations remaining.
  • The percentage of the limit consumed.

The tone field signals the alert level by that percentage: ok below 70%, warn between 70% and 89%, and danger from 90% or with the quota exhausted.

limit is the active plan's, returned by GET /v1/billing/subscription, and the reset timestamp (resets_at) is the end of the quota cycle: it matches that subscription's current_period_end except on an annual plan, where quota resets every month. next_reset_at is an alias of resets_at: both mark the end of the current quota cycle.

Rate limits — which are not quota — are returned by GET /v1/usage/limits.

Request
curl -X GET 'https://api.veriko.mx/v1/usage/summary' \
  -H 'Authorization: Bearer veriko_••••'

Python example — coming soon.

JavaScript example — coming soon.

PHP example — coming soon.

Response 200UsageSummary
— Snapshot of the current month's quota, with the percentage consumed and the alert tone.
FieldTypeDescription
plan_slug*string

Unique, human-readable plan identifier. It corresponds to the user's active plan.

e.g. free
plan_namestring

Plan name shown in the interfaces.

e.g. Pro
limit*integer

Effective validation limit for the current cycle.

e.g. 5000
used*integer

Validations consumed in the current cycle.

e.g. 1284
remaining*integer

Validations available in the current cycle (max(0, limit - used)).

e.g. 3716
used_percent*number

Percentage of the limit consumed in the current cycle, rounded to 2 decimals. It can exceed 100 when there is overage.

e.g. 70.5
tone*string

ok (<70%), warn (70-89%), danger (≥90% or exhausted quota).

e.g. warn
resets_at*string (date-time)

ISO 8601 timestamp in UTC with an explicit Z suffix; for example, "2026-05-01T05:14:38Z". The *_at, *_end, *_start, and *_date fields follow this format. meta.datetime describes the same contract in the response.

e.g. 2026-05-01T05:14:38Z
next_reset_at*string (date-time)

ISO 8601 timestamp in UTC with an explicit Z suffix; for example, "2026-05-01T05:14:38Z". The *_at, *_end, *_start, and *_date fields follow this format. meta.datetime describes the same contract in the response.

e.g. 2026-05-01T05:14:38Z
quota_kindstring

Where this quota comes from: cycle (the usual subscription cycle) or trial (an unclaimed account's initial trial allowance). Additive.

e.g. cycle
renewsboolean

true when this quota replenishes at the next cycle. false for quota_kind=trial.

e.g. true
billing_modelstring

The plan's billing model. With hybrid the plan includes validations and, with overage enabled, keeps validating up to limit. Additive.

e.g. hybrid
overage_enabledboolean

true when overage is enabled: validations above included_validations are billed separately and limit is the plan's cap. Additive.

e.g. true
included_validationsinteger | nullnullable

Validations included in the plan per cycle. null when the plan does not separate what is included from the limit. Additive.

e.g. 650
Response status codesGET /v1/usage/summary
StatusClassDescriptionBody
2002xx
Snapshot of the current month's quota, with the percentage consumed and the alert tone.
UsageSummary
4014xx
Authentication is required or the provided credentials are invalid.
ErrorResponse
4034xx
Insufficient permissions. Also email_verification_required: the account's email cannot receive mail and, until it is fixed or verified, only reading the profile, fixing the email, and logging out are allowed.
ErrorResponse
4294xx
Rate limit exceeded (rate_limit_exceeded: wait a few seconds).
RetryAfterError
Errors from GET /v1/usage/summary
StatusCodeExample
401unauthorized

This request requires authentication.

Envelope
meta.request_id
c4d5e6f7a8b99b8a7f6e5d4c
403permission_denied

You do not have permission to access this resource.

Envelope
meta.request_id
d5e6f7a8b9c00c9b8a7f6e5d
429rate_limit_exceeded

You exceeded the request limit.

Envelope
meta.request_id
f7a8b9c0d1e22e1d0c9b8a7f
Response headers
  • Retry-After: integer — Seconds to wait before retrying. Matches the endpoint's rate-limit window (typically 60s for list endpoints, 1-5s for in-flight idempotent operations).
  • X-RateLimit-Limit: integer — Configured request cap for this bucket. It is emitted on every 429 and, on the authenticated API, also on successful responses, where it is the per-key cap of the account plan.
  • X-RateLimit-Remaining: integer — Requests remaining in the current window. Always 0 at the moment of the 429; on a successful response of the authenticated API it is what is left of the per-key cap.
  • X-RateLimit-Reset: integer — Absolute Unix epoch (seconds) when the window resets. Emitted on every 429, alongside Retry-After, and on successful responses of the authenticated API.