detect.halowerk.com/v1/api/api-jsonpath-nodelist-cardinality
Returns the claimed result multiplicity and distinct-node count checked through descendant segments selector unions and signed slices, for an agent that hands over a bounded JSONPath projection.
POST
https://detect.halowerk.com/v1/api/api-jsonpath-nodelist-cardinalityUptimeNot checked yet
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://detect.halowerk.com/v1/api/api-jsonpath-nodelist-cardinality", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"artifact":{"claimed_distinct":3,"claimed_occurrences":6,"document":{"a":[{"x":[0,1]},{"x":[1,2]},{"x":[2,3]},{"x":[3,4]}],"b":[0,1,2]},"segments":[{"descendant":false,"selectors":[{"end":8,"index":4,"kind":"index","name":"b","start":-8,"step":-3},{"end":-1,"index":4,"kind":"wildcard","name":"absent","start":2,"step":1},{"end":-1,"index":-2,"kind":"wildcard","name":"a","start":2,"step":-3}]},{"de),
});
console.log(await res.json());Example input
{"artifact":{"claimed_distinct":3,"claimed_occurrences":6,"document":{"a":[{"x":[0,1]},{"x":[1,2]},{"x":[2,3]},{"x":[3,4]}],"b":[0,1,2]},"segments":[{"descendant":false,"selectors":[{"end":8,"index":4,"kind":"index","name":"b","start":-8,"step":-3},{"end":-1,"index":4,"kind":"wildcard","name":"absent","start":2,"step":1},{"end":-1,"index":-2,"kind":"wildcard","name":"a","start":2,"step":-3}]},{"de