{"ok": true, "database": "openregs", "query_name": "dockets_for_agency", "rows": [], "truncated": false, "columns": ["id", "title", "docket_type", "last_modified", "comment_count", "document_count"], "query": {"sql": "SELECT d.id, d.title, d.docket_type, d.last_modified, (SELECT COUNT(*) FROM comments c WHERE c.docket_id = d.id) AS comment_count, (SELECT COUNT(*) FROM documents doc WHERE doc.docket_id = d.id) AS document_count FROM dockets d WHERE d.agency_id = :agency_id ORDER BY d.last_modified DESC LIMIT 200", "params": {"agency_id": ""}}, "error": null, "private": false, "allow_execute_sql": true, "query_ms": 0.39754994213581085, "source": "Federal Register API & Regulations.gov API", "source_url": "https://www.federalregister.gov/developers/api/v1", "license": "Public Domain (U.S. Government data)", "license_url": "https://www.regulations.gov/faq"}