Relay a Browserbase POST
Hands the call to https://api.browserbase.com/{path} with the secret X-BB-API-Key header
added and Authorization removed. Creates or updates sessions. Note the WebSocket automation
session itself isn’t proxied — point your client straight at the connectUrl the session
hands back.
Authentication
Your per-client bearer token — the API key the gateway issued to you. Present it in
Authorization: Bearer <token> form. A token that is missing, unknown, or revoked draws a
401. Before the call is sent upstream the token is removed (stripped, or swapped for the
upstream’s own credential); it never makes it past the gateway.
Path parameters
The path to call on the Browserbase API, / segments included — all of it after /browserbase/
is passed to https://api.browserbase.com/ when the allowlist admits it. Examples:
v1/sessions, v1/sessions/{id}.
Request
Response
Whatever the upstream answered, relayed as-is (status, headers, body). Rendered here as JSON; the true shape is the upstream provider’s to define.

