Review a structured policy revision before release
www.mahastrategies.com/api/v1/micro/policy-version-comparison
Review a structured policy revision before release. Compare up to 40 caller-supplied clauses per version by stable ID, text and scope; report additions, removals and changes. Checks declared chronology, not legal effect, applicability or compliance.
POST
https://www.mahastrategies.com/api/v1/micro/policy-version-comparisonUptime100% 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://www.mahastrategies.com/api/v1/micro/policy-version-comparison", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"after":[{"clauseId":"retain","scope":"sandbox","text":"Retain for three days."}],"afterSequence":2,"afterVersion":"v2","before":[{"clauseId":"retain","scope":"sandbox","text":"Retain for seven days."}],"beforeSequence":1,"beforeVersion":"v1","dataClass":"synthetic","policyId":"example-policy"}),
});
console.log(await res.json());Example input
{
"after": [
{
"clauseId": "retain",
"scope": "sandbox",
"text": "Retain for three days."
}
],
"afterSequence": 2,
"afterVersion": "v2",
"before": [
{
"clauseId": "retain",
"scope": "sandbox",
"text": "Retain for seven days."
}
],
"beforeSequence": 1,
"beforeVersion": "v1",
"dataClass": "synthetic",
"policyId": "example-policy"
}