Skip to content

Subscriptions

Subscriptions (/subscriptions) represent a consumer’s access to a product. Each subscription gets a unique API key and tracks usage against plan limits.

Subscription fields

Field Description
name Subscriber name (company, app, or person)
productId The product being subscribed to
plan free, professional, or enterprise
scope read, write, or admin
rateLimit Override req/min (defaults to plan limit)
callLimit Override calls/day (defaults to plan limit)
notes Internal notes (not shown to subscriber)

Plan defaults

Plan Calls/day Req/min Default scope
free 100 10 read
professional 10,000 100 write
enterprise 1,000,000 1,000 admin

Subscription table columns

The subscriptions table shows:

  • Name — subscriber identifier
  • Product — linked product name
  • Plan — colour-coded badge (grey/blue/gold)
  • Scope — read / write / admin with icon
  • API Key — first 12 characters + copy button
  • Quota — today’s usage bar (calls today / daily limit)
  • State — active or revoked
  • Created — creation date

Detail view

Click any row to see full subscription details:

Usage & Limits card

Shows a visual usage bar for today’s call count against the daily limit, plus:

  • Rate limit (req/min)
  • Scope description
  • Total lifetime call count

Test Gateway card

Two quick-test buttons call POST /api/gateway/validate with the subscription’s API key:

  • Test GET — validates GET /test
  • Test POST — validates POST /test

Results show the full gateway response including rate limit headers.

Package Access Control card

Assign endpoint packages to this subscription. When at least one package is assigned, the gateway enforces endpoint-level access. The card shows:

  • All available packages for the subscribed product
  • Checkbox to assign/remove
  • A summary of the effective allowed endpoints

API key management

  • Copy — copy the full API key to clipboard (only shown on creation and via the copy button)
  • Regenerate — issue a new API key and invalidate the old one
  • Revoke — soft-delete the subscription (API key stops working)

API

See Subscriptions API Reference.