{"uid":"cap_RALOMbYSkNTanxhCBBCni","slug":"mekler-ai-schema-monitor-create-monitor-93507d94","name":"Mekler AI Schema Monitor – Create Monitor","description":"Monitor one public HTTPS JSON API against your explicit schema for seven days. Includes an initial observation and up to 167 hourly checks, confirmed contract fault/recovery alerts and private history. Source failures remain unknown. 0.50 USDC per term; retrieve and delete with your private capability.","url":"https://api.mekler.ai/v1/services/schema-monitors/create-monitor?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":1024},"schema":{"type":"object","maxProperties":24,"minProperties":1},"owner_key":{"type":"string","pattern":"^[a-f0-9]{64}$","maxLength":64,"minLength":64},"request_id":{"type":"string","pattern":"^[A-Za-z0-9_-]+$","maxLength":64,"minLength":16}}},"responseSchema":{"type":"json","example":{"status":"ok","monitor_id":"7ba23e2c5cc7c11246d33660534b28f6a250ef749ec15ba3","term_seconds":604800,"interval_seconds":3600,"maximum_observations":168}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZcLmjr42hejWxqwmulZHK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a 7-day hourly monitoring job that checks a public HTTPS JSON API against a user-supplied schema and alerts on contract faults or recoveries.","exampleAgentPrompt":"Set up a 7-day hourly schema monitor for https://api.example.com/v1/prices — I want to make sure it keeps returning an object with at least a 'price' number field and a 'currency' string field, and alert me if it ever breaks that contract. My owner key is a1b2c3...64hexchars and request ID is monitor-prices-001.","exampleUseCases":[{"title":"Third-party API drift detection","prompt":"I rely on https://data.partner.io/v2/inventory for my app — can you set up hourly monitoring for the next 7 days to make sure it always returns a JSON object with 'items' as an array and 'updated_at' as a string? Use owner key aa11bb22...64hexchars and request ID inventory-monitor-2024."},{"title":"Public data feed contract guard","prompt":"Watch https://opendata.cityofny.gov/api/transit/status every hour for a week and confirm it keeps matching this schema: an object with a 'lines' array and a 'timestamp' string. My owner key is ff00aa11...64hexchars and request ID is transit-schema-watch-01."},{"title":"Payment API uptime and schema compliance","prompt":"I need to verify that https://payments.provider.com/v1/rates keeps returning a valid response with 'base', 'quote', and 'rate' fields every hour for seven days — can you create a schema monitor for that? Owner key is deadbeef...64hexchars and request ID is rates-schema-monitor-xyz."}],"resultDescription":"Returns a JSON object with a unique monitor_id, the term duration in seconds (604800 for 7 days), the check interval in seconds (3600 for hourly), and the maximum number of observations (168). The monitor runs asynchronously, performing up to 167 subsequent hourly checks after the initial observation and storing private history retrievable via the owner key.","failureModes":["Invalid or unreachable target URL returns an error indicating source failure is unknown","Schema object exceeds 24 properties limit causing a validation rejection","Owner key not matching 64-character hex pattern results in a 400 error","Request ID outside allowed character set or length bounds returns a format error","Payment not completed (x402 flow) results in a 402 response before monitor creation","Duplicate request_id may result in idempotency conflict or rejection"],"whenToPreferThis":"Choose this endpoint when you need automated, recurring hourly schema compliance checks on a public HTTPS JSON API over a bounded 7-day window, with contract fault and recovery alerting and private history stored server-side. Prefer it over one-shot validation tools when you need ongoing drift detection rather than a single check, and over general uptime monitors when response structure correctness (not just availability) is your concern.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:47:32.945Z","isFirstParty":false,"canonicalSlug":"mekler-ai-schema-monitor-create-monitor-93507d94"}