77trust / 100
Micro Digital Twin Config Diff
by Digital twin configuration diff in Documents & files
x402 APIPassing, checked 2 h ago
Compare up to eight declared records per version, converting length units and comparing properties, XYZ poses and wrapped yaw against separate length/angle/ratio tolerances. Reports additions, removals, unit changes and incompatible dimensions. Not field certification.
POST https://www.mahastrategies.com/api/v1/micro/digital-twin-config-diff
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 333 ms typical, 699 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/digital-twin-config-diff' \
-H 'content-type: application/json' \
--data-raw '{"after":[{"key":"arm","pose":{"x":"0.01","y":"0","yawDeg":"-179","z":"0"},"poseUnit":"m","properties":[{"name":"reach","unit":"cm","value":"10"}]}],"before":[{"key":"arm","pose":{"x":"0","y":"0","yawDeg":"179","z":"0"},"poseUnit":"mm","properties":[{"name":"reach","unit":"mm","value":"100"}]}],"dataClass":"synthetic","tolerances":{"angleDeg":"3","lengthM":"0.005","ratio":"0.01"}}'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%2Fdigital-twin-config-diff
const res = await pay("https://www.mahastrategies.com/api/v1/micro/digital-twin-config-diff", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"after\":[{\"key\":\"arm\",\"pose\":{\"x\":\"0.01\",\"y\":\"0\",\"yawDeg\":\"-179\",\"z\":\"0\"},\"poseUnit\":\"m\",\"properties\":[{\"name\":\"reach\",\"unit\":\"cm\",\"value\":\"10\"}]}],\"before\":[{\"key\":\"arm\",\"pose\":{\"x\":\"0\",\"y\":\"0\",\"yawDeg\":\"179\",\"z\":\"0\"},\"poseUnit\":\"mm\",\"properties\":[{\"name\":\"reach\",\"unit\":\"mm\",\"value\":\"100\"}]}],\"dataClass\":\"synthetic\",\"tolerances\":{\"angleDeg\":\"3\",\"lengthM\":\"0.005\",\"ratio\":\"0.01\"}}",
});
console.log(await res.json());Example input
{
"after": [
{
"key": "arm",
"pose": {
"x": "0.01",
"y": "0",
"yawDeg": "-179",
"z": "0"
},
"poseUnit": "m",
"properties": [
{
"name": "reach",
"unit": "cm",
"value": "10"
}
]
}
],
"before": [
{
"key": "arm",
"pose": {
"x": "0",
"y": "0",
"yawDeg": "179",
"z": "0"
},
"poseUnit": "mm",
"properties": [
{
"name": "reach",
"unit": "mm",
"value": "100"
}
]
}
],
"dataClass": "synthetic",
"tolerances": {
"angleDeg": "3",
"lengthM": "0.005",
"ratio": "0.01"
}
}Example output
{
"amountBaseUnits": "15500",
"boundaries": [
"Public or synthetic inputs only. Caller labels are declarations,…"
],
"inputDigest": "sha256:42295074fe31f13422d34dda59a9157b3f7d158bba5ad37f81e8f5f0f…",
"offerId": "digital-twin-config-diff",
"receiptDigest": "sha256:195137fab8ec55c444a97d2d233970382a5a12f52084c1c85e7efe3ea…",
"result": {
"comparisons": [
{
"key": "arm",
"kind": "changed",
"poseUnitChanged": true,
"poseWithinTolerance": false,
"positionDeltaM": {
"x": "0.01",
"y": "0",
"z": "0"
},
"positionDistanceM": "0.01",
"propertyChanges": [
{
"afterUnit": "cm",
"afterValueBaseUnits": "0.1",
"baseUnit": "m",
"beforeUnit": "mm",
"beforeValueBaseUnits": "0.1",
"deltaBaseUnits": "0",
"name": "reach",
"state": "within-tolerance",
"unitChanged": true
}
],
"yawDifferenceDeg": "2"
}
],
"dataClass": "synthetic",
"fieldCertified": false,
"poseAssumption": "common-declared-coordinate-frame; yaw-only-not-full-3d-orientati…"
},
"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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 477 ms | $0.015 |
| 6 h ago | Passed | 402 | 277 ms | $0.015 |
| 10 h ago | Passed | 402 | 263 ms | $0.015 |
| 13 h ago | Passed | 402 | 331 ms | $0.015 |
| 17 h ago | Passed | 402 | 349 ms | $0.015 |
| 21 h ago | Passed | 402 | 261 ms | $0.015 |
| 25 h ago | Passed | 402 | 333 ms | $0.015 |
| 28 h ago | Passed | 402 | 823 ms | $0.015 |
| 32 h ago | Passed | 402 | 429 ms | $0.015 |
| 35 h ago | Passed | 402 | 403 ms | $0.015 |
| 39 h ago | Passed | 402 | 335 ms | $0.015 |
| 42 h ago | Passed | 402 | 539 ms | $0.015 |
| 47 h ago | Passed | 402 | 519 ms | $0.015 |
| 2 days ago | Passed | 402 | 699 ms | $0.015 |
| 2 days ago | Passed | 402 | 322 ms | $0.015 |