{"uid":"cap_7YMvIYj5fmWCD7i7DI0YR","slug":"agentproof-murex-vercel-app-7be0ce8c","name":"AgentProof JSON Schema Inference","description":"JSON Schema inference for APIs - infer schema from sample responses.","url":"https://agentproof-murex.vercel.app/schema/infer","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"example":{"description":"Any JSON value."},"examples":{"type":"array","items":{"description":"Any JSON value."}}}},"responseSchema":null,"example":{"request":{"input":"{\"id\": \"user_456\", \"name\": \"John Doe\", \"email\": \"john@example.com\", \"age\": 30, \"active\": true, \"created_at\": \"2024-01-15T10:30:00Z\"}"},"response":{"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"string"}},"additionalProperties":true},"service":"AgentProof","endpoint":"schema.infer"}},"exampleRequest":{"input":"{\"id\": \"user_456\", \"name\": \"John Doe\", \"email\": \"john@example.com\", \"age\": 30, \"active\": true, \"created_at\": \"2024-01-15T10:30:00Z\"}"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hsXLuq8GD0G5qCoysA-fG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Infers a JSON Schema from a sample API response payload submitted by the user","exampleAgentPrompt":"Can you infer the JSON Schema for this sample API response I got back from a payments endpoint? Here's the JSON: {\"id\": \"txn_123\", \"amount\": 9.99, \"currency\": \"USD\", \"status\": \"completed\", \"timestamp\": \"2024-01-15T10:30:00Z\"}","exampleUseCases":null,"resultDescription":"Returns an inferred JSON Schema document describing the structure, property names, data types, and required fields derived from the submitted sample JSON response payload.","failureModes":["Invalid or malformed JSON input returns an error indicating the payload could not be parsed","Empty payload or missing body returns a validation error","Extremely large or deeply nested JSON may time out or return a partial schema","Non-JSON content types may be rejected"],"whenToPreferThis":"Use this endpoint when you have a concrete sample API response and want to automatically produce a formal JSON Schema definition without writing it by hand. Ideal for agents automating API contract discovery, building validators, or documenting third-party API responses. Prefer this over manual schema writing or generic LLM schema guessing when you have real response data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:41:13.140Z","isFirstParty":false}