{"ok":true,"site":"govinfo","host":"govinfo.gov","about":"GovInfo (U.S. Government Publishing Office): browse collections such as Congressional Bills and the Federal Register, read daily Federal Register tables of contents, look up document details, related documents, committee publications and government authors, and fetch document text and MODS metadata.","commands":[{"command":"list-categories","summary":"List GovInfo collection categories and the collections (code, slug) in each","params":[],"exampleUrl":"https://clify-dev.netlify.app/govinfo/list-categories"},{"command":"get-collection","summary":"Get metadata for a collection: title, description, help/RSS links and related resources","params":[{"name":"collection","type":"string","required":true,"description":"Lowercase collection code, e.g. bills, fr, plaw, crpt, chrg, budget, cpd"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/get-collection"},{"command":"browse-collection","summary":"List the top-level browse nodes of a collection (congresses for bills, years for the Federal Register) with document counts","params":[{"name":"collection","type":"string","required":true,"description":"Lowercase collection code, e.g. bills, fr"},{"name":"sortDirection","type":"string","description":"Sort direction: 1 = newest first (default), 0 = reverse","oneOf":["0","1"],"default":"1"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/browse-collection"},{"command":"list-bill-types","summary":"List the bill types (hr, s, hres, hjres, hconres, ...) in a Congress, with counts","params":[{"name":"congress","type":"string","required":true,"description":"Congress number, e.g. 119"},{"name":"sortDirection","type":"string","description":"Sort direction (1 default, 0 reverse)","oneOf":["0","1"],"default":"1"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/list-bill-types"},{"command":"list-bill-ranges","summary":"List the bill-number ranges (e.g. [0-99]) for one bill type in a Congress, with counts","params":[{"name":"congress","type":"string","required":true,"description":"Congress number, e.g. 119"},{"name":"billType","type":"string","required":true,"description":"Bill type code","oneOf":["hr","s","hres","sres","hjres","sjres","hconres","sconres"]},{"name":"sortDirection","type":"string","description":"Sort direction (1 default, 0 reverse)","oneOf":["0","1"],"default":"1"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/list-bill-ranges"},{"command":"list-bills","summary":"List bill versions (package IDs, titles, publish dates, file links) in a bill-number range of a Congress and bill type","params":[{"name":"congress","type":"string","required":true,"description":"Congress number, e.g. 119"},{"name":"billType","type":"string","required":true,"description":"Bill type code","oneOf":["hr","s","hres","sres","hjres","sjres","hconres","sconres"]},{"name":"range","type":"string","required":true,"description":"Bill-number range in brackets, as given by list-bill-ranges browsePathAlias, e.g. [0-99], [100-199]"},{"name":"sortDirection","type":"string","description":"Sort direction (1 default, 0 reverse)","oneOf":["0","1"],"default":"1"},{"name":"pageSize","type":"string","description":"Results per page","oneOf":["20","50","100"],"default":"20"},{"name":"offset","type":"number","description":"Zero-based page index (not item offset)","default":0}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/list-bills"},{"command":"list-fr-months","summary":"List the months of a Federal Register year, with document counts","params":[{"name":"year","type":"string","required":true,"description":"Four-digit year, e.g. 2025"},{"name":"sortDirection","type":"string","description":"Sort direction (1 default, 0 reverse)","oneOf":["0","1"],"default":"1"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/list-fr-months"},{"command":"list-fr-issues","summary":"List the daily Federal Register issues in a month (issue labels like 'Friday, January 31, Pages 8625-8752') with whole-issue download links","params":[{"name":"year","type":"string","required":true,"description":"Four-digit year"},{"name":"month","type":"string","required":true,"description":"Two-digit month, 01-12"},{"name":"sortDirection","type":"string","description":"Sort direction (1 default, 0 reverse)","oneOf":["0","1"],"default":"1"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/list-fr-issues"},{"command":"list-fr-issue-agencies","summary":"List the agencies that have documents in one daily Federal Register issue, with counts","params":[{"name":"year","type":"string","required":true,"description":"Four-digit year"},{"name":"month","type":"string","required":true,"description":"Two-digit month"},{"name":"issue","type":"string","required":true,"description":"Issue label exactly as returned by list-fr-issues (nodeValue.value)"},{"name":"sortDirection","type":"string","description":"Sort direction (1 default, 0 reverse)","oneOf":["0","1"],"default":"1"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/list-fr-issue-agencies"},{"command":"list-fr-agency-documents","summary":"List one agency's documents in a daily Federal Register issue (granule IDs, titles, sections, pages)","params":[{"name":"year","type":"string","required":true,"description":"Four-digit year"},{"name":"month","type":"string","required":true,"description":"Two-digit month"},{"name":"issue","type":"string","required":true,"description":"Issue label as returned by list-fr-issues"},{"name":"agency","type":"string","required":true,"description":"Agency name as returned by list-fr-issue-agencies"},{"name":"sortDirection","type":"string","description":"Sort direction (1 default, 0 reverse)","oneOf":["0","1"],"default":"1"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/list-fr-agency-documents"},{"command":"get-fr-toc","summary":"Get the Federal Register table of contents for a date: every agency with its document subjects, pages and FR doc numbers","params":[{"name":"date","type":"string","required":true,"description":"Issue date, YYYY-MM-DD (business days only)"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/get-fr-toc"},{"command":"get-content-details","summary":"Get details for a document (granule) or package: title, metadata table, download links (PDF/HTML/MODS/ZIP), citations and dates","params":[{"name":"packageId","type":"string","required":true,"description":"Package ID, e.g. FR-2025-01-31 or BILLS-119hr30ih"},{"name":"granuleId","type":"string","description":"Granule ID within the package, e.g. FR doc number 2025-02106; omit for package-level details"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/get-content-details?packageId=FR-2025-01-31&granuleId=2025-02106"},{"command":"list-related-collections","summary":"List the kinds of related documents available for a granule (e.g. FR-DOCKETID: documents sharing a docket ID)","params":[{"name":"packageId","type":"string","required":true,"description":"Package ID, e.g. FR-2025-01-31"},{"name":"granuleId","type":"string","required":true,"description":"Granule ID, e.g. 2025-02106"},{"name":"relatedType","type":"string","description":"Related-content group; FR_CNT for Federal Register documents","default":"FR_CNT"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/list-related-collections"},{"command":"list-related-documents","summary":"List documents related to a granule within a related collection, e.g. Federal Register documents sharing its docket ID","params":[{"name":"packageId","type":"string","required":true,"description":"Package ID, e.g. FR-2025-01-31"},{"name":"granuleId","type":"string","required":true,"description":"Granule ID, e.g. 2025-02106"},{"name":"relatedCollection","type":"string","description":"Related collection code from list-related-collections","default":"FR-DOCKETID"},{"name":"api_limit","type":"number","description":"Maximum number of related documents (the web app sends 25) (sent to the site as \"limit\"; clify's own --limit only shapes the output)","default":25}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/list-related-documents"},{"command":"get-document-in-context","summary":"Show where a granule sits in its package (issue/agency browse node) plus whole-issue download renditions","params":[{"name":"granuleId","type":"string","required":true,"description":"Granule ID, e.g. 2025-02106"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/get-document-in-context"},{"command":"list-government-authors","summary":"List government authors (agencies, courts, congressional bodies) grouped by executive, judicial and legislative branch","params":[],"exampleUrl":"https://clify-dev.netlify.app/govinfo/list-government-authors"},{"command":"browse-committee","summary":"List the publication collections (bills, reports, hearings, ...) available for a congressional committee","params":[{"name":"chamber","type":"string","required":true,"description":"Chamber","oneOf":["senate","house","joint"]},{"name":"committee","type":"string","required":true,"description":"Committee slug without the chamber prefix (from /browse/committee, e.g. senate-judiciary → judiciary)"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/browse-committee"},{"command":"browse-committee-collection","summary":"List the Congresses for which a committee has publications in one collection (e.g. hearings, reports, bills)","params":[{"name":"chamber","type":"string","required":true,"description":"Chamber","oneOf":["senate","house","joint"]},{"name":"committee","type":"string","required":true,"description":"Committee slug, e.g. judiciary"},{"name":"collection","type":"string","required":true,"description":"Uppercase collection code from browse-committee, e.g. CHRG, BILLS, CRPT"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/browse-committee-collection"},{"command":"get-document-html","summary":"Fetch the full text (HTML rendition) of a bill version or a Federal Register document","params":[{"name":"packageId","type":"string","required":true,"description":"Package ID, e.g. FR-2025-01-31 or BILLS-119hr1rh"},{"name":"fileId","type":"string","required":true,"description":"File ID: the granule ID for FR documents (2025-02106), or the package ID again for bills (BILLS-119hr1rh)"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/get-document-html"},{"command":"get-package-mods","summary":"Get the MODS bibliographic metadata of a package (converted from XML to JSON): titles, names/sponsors, dates, identifiers, links","params":[{"name":"packageId","type":"string","required":true,"description":"Package ID, e.g. BILLS-119hr30ih or FR-2025-01-31"}],"exampleUrl":"https://clify-dev.netlify.app/govinfo/get-package-mods"}]}