API platforms

Limit, meter and bill each customer from one gateway.

An API-as-a-service platform sells the same endpoints to many customers on different plans. With Gatez each customer is a team behind one gateway: its own rate limits, its own keys, its own usage, in a portal that never shows another customer. The usage export feeds your billing system. Inside your walls, or your own cloud.

The problem

What the platform team cannot say yes to today.

The API sells. The plumbing behind it does not know who is calling, so three promises on the pricing page cannot be kept.

One customer's burst slows everyone

A single global rate limit, or none. When one customer runs a backfill, every other customer sees the slowdown. The plan says "dedicated limits" and the gateway has no idea which customer a call belongs to.

You cannot bill what you do not measure

Request counts live in a metrics system that resets on restart, or in application logs nobody can query by customer. Month end is a manual export and an argument with the customer about the number.

Customers email you for keys

A new customer waits for someone to create a key by hand and send it in an email. There is no portal where they see their own endpoints, their own usage and their own limit, so support answers the same questions every week.

How Gatez changes the answer

Each customer is a team. Every call carries the customer and the key.

Four controls, keyed by the customer's team id from the edge to the usage store. Everything below is live unless marked.

Limited: one bucket per customer per route

Live

Rate limits are set per plan, then per customer, then per route. A burst from one customer never slows another. An endpoint is published to the teams whose plan includes it, so a premium endpoint simply does not exist for a customer on the free plan. An enterprise customer can get dedicated limits and an IP allowlist.

Identified: every call names the customer and the key

Live

A customer requests a key in the Developer Portal. A person approves it in the Operator Portal. The key is shown once, then masked for good. Every call made with it is logged with the customer's team id and the key, so usage per key is a query, not a guess. A customer can revoke its own keys.

Audited: durable usage per customer, exported for billing

Live

Every request is one row in the usage store: customer, key, route, time, status, latency. Authorization headers are stripped before the write. The rows survive restarts, and retention is a setting. Usage exports as a CSV per customer, per key and per route, for your billing system. The audit log exports the same way, with a signed manifest.

Inside your walls, or your own cloud: your customers' data stays with you

Live

The gateway, both portals and the usage store run in your cloud account or your data centre. No usage data leaves to a vendor; no telemetry leaves your deployment. If a plan includes AI enrichment, those calls go through the same gateway with a token budget per customer and redaction before the model.

Operator Portal · Tenantsall customers
startupco · free2 routes · 1 key
midmarket · proall routes · 5 keys
enterprise-global · customdedicated limits · IP allowlist
key requests waiting1
Developer Portalteam: startupco
My APIs2 published
My keys1 active · shown once
Requests today47 / 100
Rate limitread-only
Operator Portal (left): every customer, every plan, every key request. Developer Portal (right): one customer, its own endpoints, keys and usage. It can see its limit and cannot change it.

One worked journey

A customer signs up, calls, hits a limit and upgrades.

The platform team runs the Operator Portal. Each customer works in its own Developer Portal, which carries the platform's own branding.

  1. 1

    Publish per plan

    The platform team publishes two enrichment endpoints to every plan and the bulk endpoint to the pro and custom plans only. Each plan carries its rate limit and daily quota.

  2. 2

    A customer signs in

    StartupCo's engineer signs in and lands in StartupCo's own team on the free plan. The portal lists the two endpoints published to that plan, each with its reference and a try-it console.

  3. 3

    A key is issued

    The engineer requests a key. It appears in the platform team's approval queue. On approval the engineer gets a confirmation link, sees the key once, and copies it. From then on the portal shows it masked.

  4. 4

    Every call

    The rate limit is checked in StartupCo's own bucket for that route. The call is logged with StartupCo's team id and the key. The customer's usage page shows today's calls against the plan's quota.

  5. 5

    The platform team watches

    Analytics show every customer side by side: calls per customer, per route, per key; errors; latency. A burst at one customer stays inside that customer's bucket.

  6. 6

    Month end

    Usage exports as a CSV per customer. The billing system applies the plan fee and the overage. The number on the invoice is the number in the customer's own portal.

  7. 7

    A limit, then an upgrade

    StartupCo tries the bulk endpoint and is refused: it is not published to the free plan. It asks to upgrade. The platform team moves the team to pro: higher limits, the bulk endpoint published, more keys allowed.

  8. 8

    The portal follows

    StartupCo's portal now lists the bulk endpoint and the new limit. Nothing about any other customer appears, before or after the upgrade.

Security review

Three questions an API platform's reviewer will ask.

Short answers here. Long answers in the docs. Anything not live is marked.

Can one customer see or affect another?

No. Every rate-limit bucket, key, usage row and portal view is keyed by the customer's team id. A burst from one customer is counted in its own bucket only. The Developer Portal cannot show another team's endpoints, keys or usage. Isolation is covered by an automated test suite that runs before every merge.

How are keys issued, stored and revoked?

Request in the Developer Portal, approval by a person in the Operator Portal, then a confirmation link and a show-once display. After that the portal shows the key masked. The customer revokes its own keys; the platform team can revoke any. Every issue and revoke is an audit row.

What do we hand an auditor about one customer's calls?

The request rows for that customer: key, route, time, status, latency, with authorization headers stripped before the write. The audit log for that customer's keys and plan changes, exported as a CSV with a signed manifest. Retention is a setting per table; request logs keep 90 days by default, audit rows have no expiry.

Already running Kong, WSO2 or APISIX in front of your API? Keep it. Gatez can sit behind it as the metering, key and AI layer, or in front of everything as the one entry point.

See a customer sign up, get a key, hit a limit and show up in the export, on a live system.

Bring your plans and your endpoints. We will set up two customers in front of you and export the month's usage.

Other buyers: a bank or an agency with data that cannot leave · a hospital running clinical agents · a consultancy with several clients