Dashboard

The built-in studio at /dashboard: tables, SQL, auth, storage, agents, approvals, jobs and logs.

/dashboard/ is built into the binary. Open http://127.0.0.1:8000/dashboard/ and sign in with the service_role key (forkbase keys), or with a team member's own key (below). The key stays in that browser tab unless you tick Remember.

PageWhat you do there
Overviewtables, users, buckets, runs waiting for review; requests, errors, latency and agent runs over the last hour, day or week; database and storage size; recent runs; connect a coding agent
Table editorbrowse rows with several filters; edit a cell in place (double-click) or a whole row; JSON values in a viewer; follow a foreign key to its row; drag a column's edge to size it; import and export CSV. Structure: make, change and delete tables and columns without SQL, open or close a table to the API
API docseach table's REST calls in JavaScript, Python and curl with the project's URL and keys; auth and storage; turn realtime on per table
SQL editorrun SQL as the database owner; a result per statement; snippets kept in the browser; ⌘↵ runs
Databasea schema diagram (tables, their keys and the foreign keys between them); indexes, views, functions, triggers, enums and roles per schema, each with its definition
Database, Backupschronos mode: checkpoints, restore main to a checkpoint or a time, back up the engine's folder while it serves. postgres mode: download a pg_dump
Database, Connectionthe database URL (with where its password is, never the password), host, port, pooler; the HTTP URLs and keys
Auth, Userspeople: make, invite, confirm, disable, sign out, delete
Auth, Policiesrow level security per table: turn it on, write policies from templates, see the SQL
Auth, Sign-in methods / URLs / Google and GitHub / Email / Email templatesthe auth settings, saved in the database over forkbase.toml's and applied without a restart
Storagebuckets and files: upload, download, signed links
Realtimeconnected clients and what each listens to, open channels, the last 200 messages (where they went, never what they said), which tables send changes
Agents, Approvalsthe inbox of held runs, the oldest open beside the list: the rows it changes (before and after, the changed columns only), the reasons, SQL and counts; approve or reject
Agents, Runsevery run and its outcome
Agents, Worldsopen worlds; undo a merged run
Agents, Agents / Webhooksagents and their tokens, webhook endpoints
Agents, Policiesthe merge policies: edit their files, try one against an open or held run before saving, delete
Agents, Connected appsMCP clients that were granted access; disconnect them
Jobsjobs with each attempt's output (live while it runs) and a timeline of its steps; functions (deploy, run); schedules; triggers
LogsAPI requests (time range, status and method facets, a histogram, each request's detail, live tail), sign-in events, agent events
SettingsAPI keys, signing keys; Team (members and roles); Audit log

⌘K searches pages and tables.

The OAuth consent page for MCP clients is a dashboard page too (/dashboard/oauth/).

Team

Give each person who uses the dashboard a key of their own, with a role, so approvals and changes name who made them. Settings, Team adds a member (an email, a role) and shows their key once; send it to them privately. The service key stays for your servers and acts as the owner.

RoleMay
viewerread every page, and try a merge policy against a run; change nothing
operatora viewer who also approves, rejects, undoes and discards agents' runs, and cancels, retries and runs jobs
admineverything the service key does, the team included

Members below admin never see the service key. SQL, the team, pg_dump, signing keys and MCP are admin-only, reads included. A member key (fbtm_...) works on every API the dashboard calls, as apikey or Authorization: Bearer. A new key, turning a member off or removing them takes effect within 5 seconds on every server (at once on the one that made the change). An admin can't lower, turn off or remove themself.

Audit log (Settings) lists every write a member made, with what their role refused, and the service key's changes to the team, backups, policies, approval links, auth settings and runs: who, when, the route, the result.

/platform/v1

What the dashboard calls besides the public APIs. Service key or a member key.

Route
GET /platform/v1/projectmode, versions, instance, uptime, counts
GET /platform/v1/tablesserved tables, columns, primary and foreign keys
POST /platform/v1/sql{"query": "..."}: runs as the database owner, up to 1,000 rows a statement, 60 s, on its own connection; errors keep Postgres's code and position
GET /platform/v1/logs?after=&limit=the last 5,000 requests, from memory: method, path, status, time, size, user agent (no query strings, no bodies)
GET /platform/v1/stats?range=1h|24h|7drequests, 4xx, 5xx and latency (median, p95) by time, counted a minute at a time for a week in memory; agent runs by outcome; database and storage size
GET /platform/v1/database?schema=a schema's indexes, views, functions, triggers and enums, and the database's roles (each with its definition)
GET /platform/v1/connectionmode, the HTTP URLs, the database URL with its password left out, host, port, pooler
GET /platform/v1/backupschronos: checkpoints and the backups in <data>/backups; postgres: whether pg_dump is here
POST /platform/v1/backupschronos: back up the engine's folder into <data>/backups/<time> while it serves
POST /platform/v1/backups/checkpointschronos: {"name"} marks main as it is
POST /platform/v1/backups/restorechronos: {"checkpoint"} or {"at": "10 minutes ago"}, with "confirm": true. main and Forkbase's own tables go back; history keeps what it replaced
GET /platform/v1/backups/dumppostgres: a pg_dump --format=custom of the database, streamed (admin)
GET /platform/v1/mewho is calling: a member (id, email, role) or the service key
GET, POST /platform/v1/members; PATCH, DELETE /members/{id}; POST /members/{id}/keythe team (admin). A new key is shown once
GET /platform/v1/audit?limit=&before=&actor=the audit log, newest first
GET /realtime/v1/inspectconnected clients, channels, recent messages (metadata only), tables sending changes

Safety

The pages hold no data of their own, send a strict Content-Security-Policy, and call only this origin. Anyone with the service key or an admin's key has full control: don't expose /dashboard to the internet without a reason, and keep the key out of shared machines.

Building it

From source, build the dashboard before the binary (Node 20+):

shell
cd dashboard && npm ci && npm run build && cd ..
cargo build --profile dist -p forkbase

A binary built without it serves a page saying so. FORKBASE_DASHBOARD_OUT points the build at another export folder.

Something wrong or missing? Edit this page on GitHub or open an issue.

Dashboard · Forkbase