Routing and usage evidence
Lasso keeps the default response compatible with JSON-RPC. Evidence comes from baseline response headers, opt-in metadata, the dashboard, and server-side telemetry; those surfaces have different retention and audience boundaries.Baseline headers
Operational fallback between system profiles preserves the authorized service
profile’s
x-lasso-profile identity. Internal routing metadata can separately
describe the attempt that served the request.
Opt-in metadata
Use?include_meta=headers or X-Lasso-Include-Meta: headers to preserve the
JSON-RPC body and receive:
x-lasso-request-id;x-lasso-meta, a base64url-encoded JSON routing record when it fits within the header limit.
include_meta=body only when the client accepts a changed response shape.
That mode adds a top-level lasso_meta object; it does not add x-lasso-meta.
The metadata record exposes the request ID, strategy, chain, transport,
candidate and selected providers, selection/upstream/end-to-end latency,
Lasso overhead, retry count, and circuit state when those fields are available.
Profile identity remains in x-lasso-profile; client metadata does not include
per-attempt error details. Treat the live OpenAPI response and actual record as
authoritative because optional fields depend on the request path and outcome.
WebSocket callers can add "lasso_meta":"notify" to a JSON-RPC request to ask
for a follow-up lasso_meta notification.
Operational workflow
- Capture the request ID at the client boundary.
- Compare the requested route with
x-lasso-profileand, when present,x-lasso-effective-strategy. - Decode opt-in metadata to identify the serving provider, transport, latency, and retry count.
- Check the dashboard’s regional provider state and recent activity.
- Correlate the request ID with application and service telemetry for a durable incident record.