77trust / 100

Micro Evidence Scope Check

by Declared Evidence Scope Check in Documents & files

x402 APIPassing, checked 2 h ago

Compare up to 80 expected and 80 observed document descriptors against one declared tenant and scope. Flags missing, unexpected and cross-tenant documents; incomplete scope stays undetermined. Public/synthetic metadata only. Not access-control enforcement, corpus completeness or legal verification.

POST https://www.mahastrategies.com/api/v1/micro/evidence-scope-check

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
325 ms typical, 509 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://www.mahastrategies.com/api/v1/micro/evidence-scope-check' \
  -H 'content-type: application/json' \
  --data-raw '{"dataClass":"synthetic","expectedDocuments":[{"documentId":"agreement","tenantId":"tenant-a"},{"documentId":"amendment","tenantId":"tenant-a"}],"observedDocuments":[{"documentId":"agreement","tenantId":"tenant-a"}],"scopeComplete":true,"tenantId":"tenant-a"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwww.mahastrategies.com%2Fapi%2Fv1%2Fmicro%2Fevidence-scope-check
const res = await pay("https://www.mahastrategies.com/api/v1/micro/evidence-scope-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"dataClass\":\"synthetic\",\"expectedDocuments\":[{\"documentId\":\"agreement\",\"tenantId\":\"tenant-a\"},{\"documentId\":\"amendment\",\"tenantId\":\"tenant-a\"}],\"observedDocuments\":[{\"documentId\":\"agreement\",\"tenantId\":\"tenant-a\"}],\"scopeComplete\":true,\"tenantId\":\"tenant-a\"}",
});
console.log(await res.json());

Example input

{
  "dataClass": "synthetic",
  "expectedDocuments": [
    {
      "documentId": "agreement",
      "tenantId": "tenant-a"
    },
    {
      "documentId": "amendment",
      "tenantId": "tenant-a"
    }
  ],
  "observedDocuments": [
    {
      "documentId": "agreement",
      "tenantId": "tenant-a"
    }
  ],
  "scopeComplete": true,
  "tenantId": "tenant-a"
}

Example output

{
  "amountBaseUnits": "41000",
  "boundaries": [
    "Public or synthetic inputs only. Caller labels are declarations,…"
  ],
  "inputDigest": "sha256:70f000550024f16c7304158da79c43137db2df2bd3eeeb48c87a2d063…",
  "offerId": "evidence-scope-check",
  "receiptDigest": "sha256:f23cbdf48fcc74f4e24639587e5957745e431b0b7a1182822980c30d8…",
  "result": {
    "accessControlEnforced": false,
    "crossTenantDocumentIds": [],
    "missingDocumentIds": [
      "amendment"
    ],
    "scopeComplete": true,
    "sourcesVerified": false,
    "state": "mismatch",
    "unexpectedDocumentIds": []
  },
  "version": "maha-microproducts/0.1"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402357 ms$0.041
6 h agoPassed402425 ms$0.041
10 h agoPassed402509 ms$0.041
13 h agoPassed402279 ms$0.041
17 h agoPassed402443 ms$0.041
21 h agoPassed402451 ms$0.041
24 h agoPassed402196 ms$0.041
28 h agoPassed402289 ms$0.041
32 h agoPassed402300 ms$0.041
35 h agoPassed402369 ms$0.041
39 h agoPassed4021.5 s$0.041
42 h agoPassed402330 ms$0.041
46 h agoPassed402325 ms$0.041
2 days agoPassed402367 ms$0.041
2 days agoPassed402234 ms$0.041