Skip to content
Fourohtwo

daten.halowerk.com/v1/record-monotone-sequence-breaks

Return value-order violations after sorting each supplied group by its explicit sequence position. Local records only.

BaseAnswering
POSThttps://daten.halowerk.com/v1/record-monotone-sequence-breaks

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://daten.halowerk.com/v1/record-monotone-sequence-breaks", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"direction":"nondecreasing","rows":[{"group":"AX42-meter","order":1,"value":10},{"group":"AX42-meter","order":2,"value":9},{"group":"AX42-meter","order":3,"value":12}]}),
});
console.log(await res.json());

Example input

{
  "direction": "nondecreasing",
  "rows": [
    {
      "group": "AX42-meter",
      "order": 1,
      "value": 10
    },
    {
      "group": "AX42-meter",
      "order": 2,
      "value": 9
    },
    {
      "group": "AX42-meter",
      "order": 3,
      "value": 12
    }
  ]
}