Developer documentation
Build against one governed execution contract.
The current repository provides a FastAPI control and execution plane with tenant administration, scoped API keys, routing, provider adapters, cache, audit infrastructure, spatial endpoints, and Stripe billing foundations.
Authentication and tenancy
Administrative endpoints use a bootstrap bearer token today, while runtime inference uses tenant-scoped API keys. OIDC-backed operator identity and tenant-aware RBAC are planned before broad production exposure.
Billing and Stripe
Authenticated billing endpoints create Stripe Checkout and customer portal sessions. The signed webhook endpoint synchronizes subscriptions, invoices, and entitlements into tenant billing state.
- POST /v1/billing/checkout
- POST /v1/billing/portal
- GET /v1/billing/{tenant_id}
- POST /v1/webhooks/stripe
Source and architecture
The public source repository contains the build plan, environment examples, database migrations, deployment manifests, tests, and the production web workspace.
Frequently asked questions
Where is the Layer8 source repository?
The current source is at github.com/robs46859-eng/layer8.