{"uid":"cap_6obLO1bSXjk0sS3tlc-mM","slug":"api-contracts-export-semantic-parity-b141ab6c","name":"Api Contracts - Export Semantic Parity","description":"Compare parsed HTTP contract exports preserving owner, revision, schema pair, exact target and scope labels while ignoring order. No arbitrary schema interpretation or runtime parity is inferred. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.","url":"https://www.mahastrategies.com/api/v1/verify/api-contracts/export-semantic-parity?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"array","maxItems":32,"minItems":0},"before":{"type":"array","maxItems":32,"minItems":0},"dataClass":{"enum":["public","synthetic"],"type":"string"},"nonpersonalMetadata":{"type":"boolean","const":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.039303","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.039303/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.039303","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.039303","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ABjj0K9gle6OVCFW-DElR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.039303","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two sets of parsed HTTP API contract exports for semantic parity, preserving owner, revision, schema pair, target, and scope labels while ignoring order differences.","exampleAgentPrompt":"Can you check whether these two API contract exports are semantically equivalent — the before set has our v1.2 contracts and the after set has v1.3, both marked as public data — and tell me if the owner, revision, schema pairs, targets, and scope labels all match up regardless of field ordering?","exampleUseCases":[{"title":"API version upgrade validation","prompt":"We just released v2 of our internal HTTP API and I need to confirm the contract exports from v1 and v2 are semantically equivalent — same owner, revisions, and scope labels — before we deprecate v1. Can you run a semantic parity check on these two contract export sets, both classified as public?"},{"title":"CI/CD contract regression check","prompt":"In our deployment pipeline, I want to verify that the API contract exports from the last build match the new build semantically — owner, schema pairs, targets, and scope labels should all be preserved. Please compare the before and after contract arrays and flag any semantic differences, treating both as public synthetic data."},{"title":"Third-party contract handoff verification","prompt":"We received an updated API contract export from our partner and need to confirm it's semantically identical to what we sent them originally — same owner, revision pins, and scope labels must be preserved even if the field order changed. Can you compare the original and returned contract sets using a semantic parity check?"}],"resultDescription":"A structured comparison result indicating whether the before and after sets of parsed HTTP contract exports are semantically equivalent, with details on whether owner, revision, schema pairs, target labels, and scope labels match exactly, independent of ordering. Results are retained for 24 hours; minimal receipt metadata is retained for 90 days.","failureModes":["Array exceeds 32-item limit — request rejected with validation error","nonpersonalMetadata not set to true — request rejected","dataClass not one of 'public' or 'synthetic' — invalid enum error","Malformed contract objects in before/after arrays — parsing failure","Result unavailable after 24-hour retention window","Service unavailable or 402 payment required if USDC payment not provided"],"whenToPreferThis":"Choose this endpoint when you need to verify semantic equivalence between two snapshots of parsed HTTP API contract exports — specifically preserving owner, revision, schema pair, target, and scope label fidelity while being agnostic to field ordering. Prefer this over generic diff tools when you need typed, offline, nonpersonal metadata comparison without runtime inference or arbitrary schema interpretation, especially in governance, versioning, or CI/CD contexts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:44.943Z","isFirstParty":false,"canonicalSlug":"api-contracts-export-semantic-parity-b141ab6c"}