From 41e322c53d7b4b796eb377d0df9c29ecd10ba431 Mon Sep 17 00:00:00 2001 From: Chia Date: Thu, 6 Aug 2026 09:29:41 +1200 Subject: feat: complete commercial control plane, billing, auth, and model catalog - add PostgreSQL control-plane persistence with Redis-degraded hot reload - implement prepaid balance, usage ledger, Stripe top-up and reconciliation - add registration, email verification, password reset, invitations and RBAC - support TOTP, Passkey MFA, device sessions, quotas and rate limits - add tenant billing profiles, audit logs and operational readiness checks - build authenticated admin console, Quickstart, Playground and usage analytics - add public model catalog with pricing, filtering and cost estimation - support OpenAI Responses providers and provider health failover - validate real upstream usage reporting and balance settlement --- internal/adminui/assets/index.html | 139 +++++++++++++++++++++++++++++++++++-- 1 file changed, 132 insertions(+), 7 deletions(-) (limited to 'internal/adminui/assets/index.html') diff --git a/internal/adminui/assets/index.html b/internal/adminui/assets/index.html index 04b4e87..8f31e1c 100644 --- a/internal/adminui/assets/index.html +++ b/internal/adminui/assets/index.html @@ -75,7 +75,9 @@
-
+
+
DEVELOPER WORKSPACE

Start building

+
+
+
+
API ACCESS

Create a starter key

+
+

The key is limited to the selected Quickstart model and placed in the Playground for this page only.

+
+
+
CONNECTION

API endpoints

+
+
+
+
+
+
+
FIRST REQUEST

Copy a working example

+
+
+

Use an active API key in AIGW_API_KEY. The example never stores your key in the browser.

+
+
WORKSPACE SIGNALS

What to do next

+
+
+
LIVE API

API playground

+
+ + + + + +
+
+ +
+
DEFAULTS & ALERTS

Workspace preferences

+
+
+

API defaults

+ + +

These defaults drive workspace examples. Your API request can still select any model available to this tenant.

+ +
+
+

Balance alert

+ + +

+ +
+
+
RECENT ACTIVITY

Latest requests

+
TimeModelStatusTokensChargedLatency
+
+ +
+
DISCOVER

Model catalog

+
+
+
+ +
OPERATIONS

Account overview

CURRENT PERIOD

Project usage

@@ -98,9 +167,29 @@
METERING

Usage ledger

+
+ + + + + + + + + + + +
+
+
+
+
+
COST RANKING

Model cost

Current range vs previous
ModelRequestsSuccessTokensChargedChangeP95Missing usage
+
ROUTE HEALTH

Provider performance

Cache hit and latency
ProviderRequestsSuccessModelsCache hitChargedChangeP95
+
PeriodProjectRequestsSuccessInputOutputCost
REQUESTS

Recent events

-
TimeRequestModelStatusTokensCostLatency
+
TimeRequestProject / keyModel / providerStatusTokensChargedLatency
@@ -117,14 +206,24 @@
ACCESS

API keys

-
+
+ + + + + + + + + +
Key visibilityThe secret is shown only once after creation.
-
NamePrefixProjectScopesStatus
+
NamePrefixProjectRestrictionsMonth usageMonthly capActivity
UPSTREAMS

Providers

-
+
NameProtocolBase URLRoutesStatus
@@ -140,6 +239,30 @@
+
+
INVOICE DETAILS

Billing profile

Not configured
+
+ + + + + + + + +
+
+
+
+
BALANCE PROTECTION

Automatic top-up

Not configured
+
+ + + +
Payment methodNot saved
+
+
+
TenantBalanceReservedAvailableUpdated
AUDIT

Recent ledger entries

TimeTenantKindAmountBalance afterReference
@@ -180,6 +303,8 @@
+
MODEL DETAIL

Model

Provider health

Measured from requests handled by this gateway instance.
ProviderStateRecent availabilityHeader latencySamples

Cost estimate

+
API REQUEST

Request details

ONE-TIME SECRET

Credential created

Copy this credential now. It will not be shown again.

-- cgit v1.2.3