Connecting
Gateway
The current Parix gateway contract, routing path, and operator-visible behavior.
The gateway is the bridge between Parix routing and native TigerBeetle client operations.
Responsibilities
tb-gateway currently handles:
- provider-routed HTTP requests from Cloudflare-side services
- request validation and signed-header checks
- target resolution for TigerBeetle cluster access
- translation from HTTP operations into TigerBeetle client calls
Private routing path
The request path is:
- Cloudflare-side caller sends the request.
app-dispatcherresolves the target provider route.- Workers VPC bindings send traffic through
tb-tunnel. tb-tunnelroutes private HTTP traffic totb-gateway.tb-gatewayperforms the TigerBeetle operation.
Current modes
The gateway supports two write modes:
stub: validates the request and returns a structured non-persistent success responselive: performs real TigerBeetle writes through the Node client module
Current endpoint families
The public API surface exposes TigerBeetle operations through:
POST /api/v1/databases/{databaseId}/tb/{operation}
Supported operations are:
query_accountsquery_transferscreate_accountscreate_transferslookup_accountslookup_transfersget_account_balancesget_account_transfers
The provider gateway also has private health, ping, tenant, and signed internal provider routes. Those are operator infrastructure, not the public application API.
For header and endpoint details, see API reference.