Internal Admin
AI system control room.
See the WebsDocs AI operating spine in one place: assistant sites, paid activation codes, paid installs, AI Brain / RAG indexing, client billing, usage events, quota alerts, Event Hub activity, email delivery, dashboard feature access, and support review signals.
Secure Login
Unlock admin session.
Enter the admin dashboard secret. A signed session token is stored only in this browser session. Every dashboard API request uses that session token.
System Overview
Live AI dashboard summary.
Counts from business_ai_dashboard, billing state from websdocs-billing-core, RAG readiness from AI Brain, and email/event health from websdocs_event_hub.
Profile Generator
Build a paid business AI profile with services, FAQs, lead rules, sitemap direction, assistant behavior, dashboard ID, and install snippet.
Upgrade Assistant
Convert an existing free assistant into a premium assistant while keeping the same Site ID, dashboard history, and assistant identity.
Create Paid Code
Generate client-safe activation codes and trigger paid-control, Event Hub, and Email Worker delivery.
RAG Control
Check AI Brain status, test Vectorize knowledge search, and manually re-index paid assistant profiles.
Latest assistants
—Latest email deliveries
—Paid Activation Code
Create a client paid code.
Generate a client-safe activation code. The admin worker calls paid-control, paid-control creates the code, Event Hub records the event, and Email Worker sends the client plus internal emails.
Activation code created
Copy this code now
Activation Codes
Code records.
Client code history from paid_activation_codes.
Assistants
All assistant sites.
Free, paid, and paid-code assistants from assistant_sites.
Paid Code Installs
Activation-created assistants.
These are paid assistants with source = paid_activation and linked activation code records.
Event Hub / Email Worker
Email and event health.
See whether Event Hub accepted events and whether Email Worker delivered, failed, or stayed pending.
Latest events
—Latest deliveries
—Failed / pending deliveries
—Client Detail
Trace one client through the full system.
Search by site ID, activation code ID, or client email. This module pulls together assistant records, paid codes, profiles, Event Hub activity, billing state, usage activity, alerts, AI Brain route signals, and dashboard feature access.
Core Records
Assistant, activation, profile, and event records
These tables show the assistant identity, activation path, profile version, and matching Event Hub records for the selected client.
Sites
—Codes
—Profiles
—Events
—Plan Intelligence
Resolved plan, billing, profile depth, and AI Brain status
This gives admin one clean view of whether a client is actually Regular, Pro, Premium, Elite, whether billing is linked, and whether the latest runtime path is Cloudflare AI Brain.
Linked billing record
RAG and provider signal
Plan-gated dashboard capability
Search or re-index this site
Uses the admin worker bridge. Browser never receives AI Brain secret or paid admin token.
No AI Brain action yet.
Billing Control
Billing account and entitlement visibility.
This module shows the billing account, entitlement state, package dates, and quota state for the currently selected or searched client. It uses the same billing bundle returned by /api/client.
Account connection
Service and package state
AI Credits Control
Wallet, ledger, and manual top-up.
Inspect a paid assistant credit wallet, current dashboard snapshot, recent ledger activity, credit audit events, and apply manual admin credit top-ups when support or payment review requires it.
Load one assistant wallet
Enter a Site ID directly, or search a client in Client Detail first and use the selected client button.
Balance and protection state
Add AI Credits
Adds credits to the billing wallet, writes a ledger adjustment, syncs the paid dashboard snapshot, and records a credit audit event.
Top-ups, grants, deductions, and balance changes
Ledger is the balance movement trail from the billing database.
Load a Site ID to see starter grants, manual top-ups, runtime usage deductions, and adjustments.
Audit events and runtime signals
Events show wallet creation, starter grants, manual adjustments, low-credit alerts, usage deductions, and future top-up confirmations.
Credit event audit rows will appear after wallet activity or runtime credit usage.
Usage & Alerts
Runtime usage and threshold activity.
Review provider usage, model usage, token movement, billable cost signals, usage-daily summaries, and alert events for the selected assistant.
Recent AI usage
Usage records will appear after client lookup returns billing usage.
Recent billing alerts
Quota and billing alert records will appear after client lookup.
Daily usage summary
Daily rows help reveal provider usage direction, traffic pressure, and whether the plan needs review.
Daily usage records will appear when the billing bundle includes usage_daily rows.
Feature Access
Admin full access and client plan-gated visibility.
Admin and support-admin views should see all dashboard capabilities. Client-facing dashboards keep features unlocked according to the active plan, billing status, and entitlement state.
Internal capability view
Paid dashboard capability
30 dashboard capabilities
Green means the client plan can use the feature. Locked features remain visible for admin review, support planning, and upgrade discussion.
Run a client lookup to compare admin full access and client visible access.
Support / Review
Operational review and support direction.
Use this module after a client lookup to decide whether the client needs billing review, assistant tuning, usage review, setup support, feature upgrade, RAG indexing, or support-ticket follow-up.
What to check after lookup
Confirm site ID, allowed origin, plan key, dashboard tier, and activation source.
Confirm billing account, entitlement, package dates, usage records, and alert state.
Confirm Cloudflare provider usage, RAG status, and whether a re-index is needed.
Use events, alerts, usage pressure, and profile records to decide whether support follow-up is needed.
Suggested admin action
After client lookup, this panel can summarize likely follow-up direction.
Internal checklist
Check paid code, code status, allowed domain, and activation-created assistant record.
Check Site ID, Dashboard Client ID hash, dashboard tier, and session route response.
Check billing account, entitlement state, quota state, package dates, and alert events.
Check profile version, AI Brain index, events, conversations, support notes, and feature access tier.
AI Brain / RAG Control
Cloudflare AI Brain and Vectorize control.
This module talks only to the admin worker. The browser never receives the AI Brain secret or paid admin token. Use it to verify AI Brain health, test knowledge search, and manually re-index a paid assistant site.
Search one site namespace
Search approved knowledge stored in AI Brain / Vectorize for one assistant site.
No knowledge search yet.
Re-index a paid assistant profile
Calls paid-control through the admin worker. Paid-control reads the site/profile and sends approved profile knowledge to AI Brain.
No re-index action yet.
Admin bridge response
Raw status output is useful during deployment because it shows whether bindings, secrets, Workers AI, and Vectorize are visible from the admin worker.
Brain status not checked yet.
Premium Profile Generator
Build a premium business AI profile.
Create services, pricing rules, FAQs, lead qualification, assistant behavior, sitemap guidance, dashboard details, and a premium install snippet.
Advanced profile generated
Premium assistant setup is ready
Upgrade Assistant
Upgrade an existing AI assistant.
Convert a free assistant into a managed premium assistant while keeping the same Site ID, dashboard history, conversation records, and client assistant identity.