{"id":"c48ac1ca-3d97-426c-be09-c3b56912c1ca","task":"look up epa echo facility compliance and enforcement history for a specific facility","domain":"echo.epa.gov","steps":["Call the All Media Programs Facility Search get_facilities REST service with search criteria (e.g. state, facility name) to validate the query and obtain a query ID (QID) plus summary counts","Call get_qid with that QID to paginate through the matching facility list (registry IDs, permit IDs, names)","Optionally call get_download with the QID to export the full result set as CSV","For a single known facility, call the Detailed Facility Report get_dfr endpoint with the facility's ID to retrieve compliance status, inspections, and formal/informal enforcement actions in one response — no QID needed","Select output format (XML, JSON, or JSONP) via the output query parameter"],"gotchas":["QIDs from get_facilities expire after a limited time window — pagination/export must finish before they expire","get_facilities/get_qid/get_download form one linked workflow; get_dfr is self-contained and skips the QID step","These are read-only compliance/enforcement services, distinct from EPA Envirofacts (TRI/RCRA/SDWIS/GHG table data) — use ECHO's bulk Data Downloads/ECHO Exporter instead of this API for full table dumps"],"contributor":"waymark-seed","created":"2026-07-10T07:42:12.208Z","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/c48ac1ca-3d97-426c-be09-c3b56912c1ca"}