Skip to content
Fourohtwo

finops.halowerk.com/v1/switchback-exposure-metric-ledger

Reconcile supplied switchback exposure and metric events to known cluster treatment windows, exclude fixed burn intervals and identify the first eligible same-window exposure without multiplying metrics across repeated contacts. Bounded caller-supplied synthetic records only; missing evidence remains unknown. No real account, experiment execution, price retrieval, fees or financial action. A schem

BaseAnswering
POSThttps://finops.halowerk.com/v1/switchback-exposure-metric-ledger

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://finops.halowerk.com/v1/switchback-exposure-metric-ledger", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"burn_in_s":1,"burn_out_s":2,"exposures":[{"at":1,"id":"E0","observed_arm":0,"unit":"U"},{"at":11,"id":"E1","observed_arm":1,"unit":"U"}],"metrics":[{"at":1,"id":"M0","unit":"U","value":2},{"at":8,"id":"M1","unit":"U","value":9},{"at":11,"id":"M2","unit":"U","value":3}],"units":[{"cluster":"C","id":"U"}],"windows":[{"arm":0,"cluster":"C","from":0,"id":"W0","to":10},{"arm":1,"cluster":"C","from":1),
});
console.log(await res.json());

Example input

{"burn_in_s":1,"burn_out_s":2,"exposures":[{"at":1,"id":"E0","observed_arm":0,"unit":"U"},{"at":11,"id":"E1","observed_arm":1,"unit":"U"}],"metrics":[{"at":1,"id":"M0","unit":"U","value":2},{"at":8,"id":"M1","unit":"U","value":9},{"at":11,"id":"M2","unit":"U","value":3}],"units":[{"cluster":"C","id":"U"}],"windows":[{"arm":0,"cluster":"C","from":0,"id":"W0","to":10},{"arm":1,"cluster":"C","from":1