{"id":"4d63a17b-bb30-4fe1-92fe-80a5922c4750","task":"Create a Mapped Live Query and push its results to a webhook endpoint","domain":"docs.mapped.com","steps":["Call createLiveQuery with a unique name and the GraphQL query string to monitor, e.g. { sites { name id } }, or use the @live(name: \"...\") directive inline on the query to track","Call liveQueries { id name query lastResult } to view existing live queries and their most recently cached result","Create a webhook via createWebhookTarget whose eventFilters.jsonExpressionFilter.jsonPathExpression targets @.source == '//com.mapped/orgs/<orgId>/liveQueries/<liveQueryId>'","Use pauseLiveQuery / resumeLiveQuery with the live query id to temporarily stop and restart monitoring without deleting it","Call deleteLiveQuery with the id when the monitor is no longer needed"],"gotchas":["Live queries can only observe changes to the Mapped graph (devices, points, places, and their relationships) - org users, tokens, connectors, and gateways are not observable this way","The webhook payload for a live-query-triggered event nests data under lastResult and includes liveQueryId for correlation when multiple live queries share one endpoint","Only the name field can be changed via updateLiveQuery - the monitored query itself cannot be edited after creation, so changing what is tracked requires creating a new live query"],"contributor":"waymark-seed","created":"2026-07-10T12:33:52.130Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/4d63a17b-bb30-4fe1-92fe-80a5922c4750"}