Review a structured policy revision before release
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.
by www.mahastrategies.com · discovered, not yet claimed by its owner · updated 2026-10-07
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: bounded-computation · evidence · deterministic · microproduct · bazaar · declaration-integrity · maha-offer
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-07
{
"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"
}{
"amountBaseUnits": "17000",
"boundaries": [
"Public or synthetic inputs only. Caller labels are declarations,…"
],
"inputDigest": "sha256:7b79acb2a65dfb30f4c116e2c4e5b4d132e30dbeb6c0205acffe42c57…",
"offerId": "policy-version-comparison",
"receiptDigest": "sha256:d30406e9a7aec34b69314254146b7865961e2d935684e8b9c1a1a9179…",
"result": {
"added": [],
"afterDigest": "sha256:104dd5865b0149480461aa21a51f2edfa4ba0d51c60aad999496b0fa4…",
"beforeDigest": "sha256:2b44232263e7fe7e523c334678c39988458d71e04c3b82c3f6d1743df…",
"changed": [
{
"clauseId": "retain",
"fields": [
"text"
]
}
],
"legalEffectDetermined": false,
"policyId": "example-policy",
"removed": []
},
"version": "maha-microproducts/0.1"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/32227.jsonfor the price and payment options. - Pay. Call
GET https://www.mahastrategies.com/api/v1/micro/policy-version-comparison. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.017 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 1 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.017 | 0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28 | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "17000",
"amountUsd": 0.017,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"amountBaseUnits": {
"enum": [
"17000"
],
"type": "string"
},
"boundaries": {
"maxItems": 128,
"minItems": 0,
"type": "array"
},
"inputDigest": {
"maxLength": 71,
"type": "string"
},
"offerId": {
"enum": [
"policy-version-comparison"
],
"type": "string"
},
"receiptDigest": {
"maxLength": 71,
"type": "string"
},
"result": {
"type": "object"
},
"version": {
"enum": [
"maha-microproducts/0.1"
],
"type": "string"
}
},
"required": [
"version",
"offerId",
"amountBaseUnits",
"inputDigest",
"result",
"boundaries",
"receiptDigest"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"amountBaseUnits": "17000",
"boundaries": [
"value"
],
"inputDigest": "string",
"offerId": "policy-version-comparison",
"receiptDigest": "string",
"result": {},
"version": "maha-microproducts/0.1"
},
"type": "string"
}Examples
curl -X POST 'https://www.mahastrategies.com/api/v1/micro/policy-version-comparison' -H 'Content-Type: application/json' --data '{"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"}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://www.mahastrategies.com/api/v1/micro/policy-version-comparison", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": "{\"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\"}"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
import json
res = httpx.request("POST", "https://www.mahastrategies.com/api/v1/micro/policy-version-comparison", json=json.loads("{\"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\"}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- www.mahastrategies.com
- Endpoint
- https://www.mahastrategies.com/api/v1/micro/policy-version-comparison
- Machine-readable
/resources/32227.json