Skip to Content
Tobin Docs

HTTP routes

The route groups of the web console application, and why there is no single API reference.

No institutional API reference exists

There is no OpenAPI description and no single reference for the institutional API. This page lists the route groups that exist and points to where each is defined. Do not treat it as a stable public API.

The application is a local, single-instance server. A proxy.ts enforces local-only Host and Origin guards and a per-request Content Security Policy, and the dev and start scripts bind to 127.0.0.1.

Route groupDefined inNotes
/api/auth/*apps/web-console/app/api/authWallet challenges and sessions. The endpoints are tabulated in the wallet-first architecture.
/api/registry/*apps/web-console/app/api/registry, lib/registry/http.tsOrganizations, sessions, authorization and settlement preparation.
/api/stellar/cosign, /api/stellar/run, /api/stellar/validationapps/web-console/app/api/stellarOwner-run Testnet tools.
/api/healthapp/api/health/route.tsReports only whether the database answers and its schema version.
/api/bootstrap, /api/rpcapp/api/bootstrap, app/api/rpcThe local sandbox console, backed by the Rust bridge.
/api/w0/*app/api/w0A mock API used by the W0 console. W1-API-REFERENCE.md covers only this mock.

Authorization is enforced on the server for every route; a client-supplied role, user id or organization id is never trusted. Mutating routes require the request-header CSRF guard.