@brainst0rm/gateway
v0.13.0
Published
BrainstormRouter API client and intelligence API
Maintainers
Readme
@brainst0rm/gateway
Typed client for the BrainstormRouter SaaS API.
Key Exports
GatewayClient— Typed API client for all BrainstormRouter endpointsparseGatewayHeaders()— Extract routing metadata from response headers
Headers Parsed
x-br-model— Actual model usedx-br-provider— Provider that served the requestx-br-cost— Cost of this requestx-br-latency— End-to-end latencyx-br-session-cost— Cumulative session costx-br-budget-remaining— Budget remaining
