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 repository currently documents these gateway endpoints:
GET /healthPOST /v1/pingPOST /v1/tenants/:databaseId/accountsPOST /v1/tenants/:databaseId/transfers- signed internal
GET|POST|DELETE /internal/gcp/*routes for narrow provider operations
The internal GCP routes are operator infrastructure, not a general public API surface.
For header and endpoint details, see API reference.