{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.monocrawl.com/schemas/monitors/runs.json","title":"monitors/runs data fields","description":"Required core structure for successful data, with optional source fields. Additional fields are allowed. This is not a completeness guarantee.","type":"object","properties":{"items":{"type":["array"],"items":{"type":"object","properties":{"id":{"type":["string","null"],"description":"id"},"monitor_id":{"type":["string","null"],"description":"monitor id"},"run_at":{"type":["string","null"],"description":"run at"},"status":{"type":["string","null"],"description":"status"},"error":{"type":["string","null"],"description":"error"},"processing_status":{"type":["string","null"],"description":"processing status"},"summary":{"description":"Operation-specific JSON value; inspect the status and requested operation before reading it."},"changed":{"type":["boolean","null"]},"metrics":{"type":["object","null"],"properties":{},"additionalProperties":true},"credits_charged":{"type":["number","null"],"description":"credits charged"},"credits_refunded":{"type":["number","null"],"description":"credits refunded"},"snapshot":{"description":"Operation-specific JSON value; inspect the status and requested operation before reading it."},"diff":{"description":"Operation-specific JSON value; inspect the status and requested operation before reading it."}},"additionalProperties":true,"allOf":[{"anyOf":[{"required":["id"],"properties":{"id":{"type":["string"],"description":"id","minLength":1}}},{"required":["monitor_id"],"properties":{"monitor_id":{"type":["string"],"description":"monitor id","minLength":1}}},{"required":["run_at"],"properties":{"run_at":{"type":["string"],"description":"run at","minLength":1}}},{"required":["error"],"properties":{"error":{"type":["string"],"description":"error","minLength":1}}},{"required":["processing_status"],"properties":{"processing_status":{"type":["string"],"description":"processing status","minLength":1}}},{"required":["summary"],"properties":{"summary":{"description":"Operation-specific JSON value; inspect the status and requested operation before reading it."}}},{"required":["changed"],"properties":{"changed":{"type":["boolean"]}}},{"required":["metrics"],"properties":{"metrics":{"type":["object"],"properties":{},"additionalProperties":true}}},{"required":["credits_charged"],"properties":{"credits_charged":{"type":["number"],"description":"credits charged"}}},{"required":["credits_refunded"],"properties":{"credits_refunded":{"type":["number"],"description":"credits refunded"}}},{"required":["snapshot"],"properties":{"snapshot":{"description":"Operation-specific JSON value; inspect the status and requested operation before reading it."}}},{"required":["diff"],"properties":{"diff":{"description":"Operation-specific JSON value; inspect the status and requested operation before reading it."}}}]}]}},"count":{"type":["number","null"]},"cursor":{"type":["string","null"]},"has_more":{"type":["boolean","null"]}},"additionalProperties":true,"required":["items"],"x-contract-version":"2026-09-22","x-validation-scope":"Required success payload structure; optional fields and source completeness remain separate.","examples":[{"items":[],"count":0,"cursor":null,"has_more":false}]}