Skip to content

Console

The console is a web UI served on port 8788 by default (loopback only unless you change CONSOLE_BIND). It is a static single-page app (Nuxt) with a small Node proxy that forwards to the plane.

The console uses HTTP Basic auth:

  • User: admin
  • Password: the value of CONSOLE_AUTH_PASSWORD (at least 16 characters).

The proxy injects the plane admin token (PLANE_ADMIN_TOKEN, at least 32 characters) on your behalf, so you never type it, and it does not expose the plane’s /api/internal/* routes. Mutating requests from the browser carry X-OpenFlare-Console-Request: 1.

Team members (login ^[a-z][a-z0-9_-]{0,62}$, roles viewer or deployer) are managed through the members API; versions and publications are attributed to member:<login> or token:<id>.

Section Pages
Overview Landing page for the installation
Compute Workers, Workflows
Storage and databases KV, D1 SQL, R2 Object Storage, Queues, Durable Objects, Hyperdrive, Binding resources, Usage
Footer Settings

The /kit/api page probes the plane’s endpoints and marks each as LIVE, MISSING or ERROR, which is useful when you run a console and plane from different builds.

The list shows each worker with its status. Create a worker with Create worker. The source is a template (hello, json-api, redirect or kv-d1) or a GitHub repository. A template deploy that was interrupted can be resumed.

A worker page has these tabs: Overview, Deployments, Logs, Variables, Bindings, Files, Domains and Settings. The header shows a status badge (ACTIVE, FAILED or neutral), a Visit link, a Deploy button and a menu with Delete worker. Deleting is immediate and cannot be undone.

Deploy opens a dialog with a module selector and text editor, a modules manager, version settings (compatibility date and flags, limits, cache) and an asset directory. The Activate on save checkbox decides the result:

  • Checked: the version is created, activated and published; the button reads Deploy.
  • Unchecked: the version is saved as a candidate only; the button reads Save version.

Compatibility flags are validated against the pinned runtime before a version is created (see Compatibility).

The table lists each version with Bundle, Created, Status (ACTIVE or inactive) and Publication (the acknowledgement status plus rev N). Activate on an older row rolls back to it.

Publication statuses are:

Status Meaning
PENDING Published, no cell has acknowledged it yet.
PARTIAL Some, but not all, tenants or cells have applied it.
APPLIED The cell applied it.
SUPERSEDED A newer revision replaced it.

While the newest publication is neither APPLIED nor SUPERSEDED the page shows a Rollout banner and polls every few seconds. The banner distinguishes “The cell reported a rollout failure.” (an ack reason or tenant failures exist) from “The cell has not reported this publication as applied yet.” A Publication history block lists older publications. When a worker has more than one version, a version diff is available.

The publications API accepts limit (1 to 200), workerId, before and includeSystem=true. Periodic renewal rows with source SYSTEM_RENEWAL are hidden unless includeSystem=true.

Worker logs with filters.

Section Behavior
Environment variables Plain values on env. Keys match ^[A-Za-z_][A-Za-z0-9_]{0,127}$.
JSON variables Typed values scoped to a version. Needs the cell jsonBindings capability, otherwise only saving a candidate is offered.
Secrets Write-only; shown as dots after saving, never readable.

Copy as .env exports variables. Paste .env opens “Paste .env into vars/secrets” and Save entries writes each entry; failed entries stay in the dialog so you can retry. Add var, Add secret and Remove work per key.

Each write publishes immediately; there is no separate redeploy step. A card shows “Saved - unpublished” before a revision exists, then “Revision N” with its acknowledgement status, polling while it is PENDING or PARTIAL. Use Refresh to poll again.

A table of Name, Type, Resource and Perms (read/write) for the active version, falling back to the newest version if none is active. Rows link to the resource: KV to its key browser, D1 to its database, R2 to its object browser, Queues to its queue and service bindings to the target worker. See Bindings.

A code editor over the deployed modules (text modules only), with a dirty marker per file. Save & deploy redeploys the full module set as ES modules, keeping the active version’s bindings, then waits for the cell to apply it. The button shows “Deploying”, “Converging”, then “live - rev N” or “edge convergence pending - rev N” if the cell has not acknowledged within 60 seconds. With no deployed version the page shows “No deployed version yet.”

A table of hostnames, each tagged MANAGED or CUSTOM and DISABLED when routing is off. A worker with no hostnames is unreachable from the ingress.

  • Managed hostnames have Enable and Disable.
  • Custom hostnames show a TXT record, _openflare.<hostname>, with a token and its expiry (24 hours). Use Verify DNS, Refresh challenge and Verify ownership. After verification the page reads “DNS ownership verified - TLS untested”. Remove a custom hostname with Remove.
  • Invalid input is refused with “Enter a valid hostname like api.example.com”.

Only verified and enabled hostnames are routed.

The Overview tab shows traffic and latency series and the worker’s dependencies. The Settings tab holds Git deploy, environment (project and staging or production), execution limits, cache purges and Worker API tokens.

Tokens use the ofw_ prefix with scopes logs:read, metrics:read and code:deploy. Each has a label (1 to 80 characters) and a required future expiry; the secret is shown once. Revoke at any time. A code:deploy token can deploy only to its own worker. See Deploy a worker.

Page What you can do
KV Create namespaces; browse keys by cursor with TTL and metadata; bulk write and delete.
D1 SQL Create databases; run SQL and browse tables; apply migrations.
R2 Object Storage Create buckets on the local backend or a proxy backend; browse objects (cursor paging, binary files, metadata, download, up to 4 MiB per object); test connection and rotate credentials. See R2 storage backends.
Queues Queue pages with stats.
Durable Objects Classes, migrations and alarms.
Hyperdrive Hyperdrive configurations.
Binding resources Vectorize, Secrets Store (with secret references), K2 and Flagship, plus cache purges.
Workflows Declarations and settings.

Resource pages show metric history windows of 1 hour, 24 hours and 7 days.

The Usage page shows team monthly usage against quotas. Each dimension has a status of below, near (80 percent or more), at_limit or over. Thresholds are advisory. Worker pages show traffic and latency series for 1 hour, 24 hours and 7 days.

The account Settings page covers team members, GitHub installations and an upgrade status panel. For GitHub deployments see Git push deploy; for installation upgrades see Upgrades.

D1 Time Travel, follower restore and some CLI-only resource families are not exposed as online console features; use the CLI.