> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rogeriq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Architecture

RogerIQ runtime architecture across Cloudflare Workers, React Router, D1, KV, R2, Vectorize, Durable Objects, Workflows, and email.

# Architecture

RogerIQ runs on Cloudflare.

## Runtime Components

| Component | Use |
| --- | --- |
| Cloudflare Workers | API, SSR, routing, widget endpoints, scheduled jobs, and email handler. |
| React Router | Dashboard, hosted forms, docs routes, login, signup, and marketing pages. |
| D1 | Primary relational data store. |
| KV | Cache, OAuth state, widget sessions, and transient coordination. |
| R2 | Widget assets, attachments, exports, screenshots, and generated files. |
| Vectorize | Knowledge embeddings and hybrid search. |
| Durable Objects | Chat sessions and crawl coordination. |
| Workflows | Long-running deletes and site crawls. |
| Cloudflare Email | Inbound email processing. |

## Hosts

| Host | Behavior |
| --- | --- |
| `rogeriq.com` | App, dashboard, hosted forms, docs, marketing. |
| `www.rogeriq.com` | Redirects to `rogeriq.com` unless API-like. |
| `api.rogeriq.com` | API and widget endpoints. |
| `app.rogeriq.com` | Legacy redirect to dashboard. |

## Scheduled Work

The Worker scheduled handler processes:

- scheduled composer messages
- report packs and snapshots
- analytics aggregation
- SLA checks
- customer intelligence
- import and migration operations

Many import and migration jobs are advanced/internal surfaces and are intentionally not part of the default product navigation.