🛡️Gatekeeper/ SDKs

Typed clients for the Gatekeeper control plane - identity, API keys, quotas, billing, webhooks, and audit. Both SDKs wrap the same /v1 API: standalone service classes over a shared core, typed end to end, with a uniform GatekeeperError.

Your first call#

import { GatekeeperCore, AuthService, TenantsService } from '@orkait/sdk';
 
const core = new GatekeeperCore({ baseUrl: 'https://gate.example.com' });
const auth = new AuthService(core);
 
const session = await auth.signup({ email: 'you@example.com', password: 'password123' });
core.setToken(session.accessToken);
 
const tenant = await new TenantsService(core).create('Acme');

What you can call#

Identity & tenancy

auth, MFA, OAuth, tenants, members, roles & permissions

Keys & metering

API keys, usage check-and-record, quotas

Billing

plans, subscriptions, entitlements, invoice preview, payment providers

Eventing & audit

webhooks, audit log + export, rate-limit checks

Platform

service accounts, background jobs, cross-tenant billing overrides

Typed errors

every failure is a GatekeeperError with status and code

Pick a section from the sidebar, or jump to the Quickstart.