Tool
source_status
Data version, dated copies, sources and limits
Returns the data version, how many dated copies of FDA's guidance table Thenleaf holds (first, latest, longest gap), how many guidances were ever listed and how many were removed, the Federal Register and EMA coverage, every source with its licence, and the list of things Thenleaf cannot know. Call it once to cite the data version or when an answer looks out of date. It takes no input.
Input
No input.
Example call
POST https://thenleaf.bulkhead.solutions/v1/tools/source_status
{}
Real result, shortened
{
"data_version": "2026-11-14",
"built": "2026-11-14T11:24:43.707Z",
"fda_table": {
"url": "https://www.fda.gov/files/api/datatables/static/search-for-guidance.json",
"latest_copy": "2026-11-14",
"rows": 2789,
"final": 2380,
"draft": 409
},
"copies": {
"total": 285,
"first": "2019-09-03",
"from_archive": 284,
"from_fda": 1,
"longest_gap": {
"days": 212,
"from": "2019-12-11",
"to": "2020-07-10"
}
},
"guidances_ever_listed": 3840,
"listed_now": 2789,
"removed_since_first_copy": 1051,
"federal_register": {
"notices": 2970,
"first": "2008-01-30",
"last": "2026-11-12"
},
"ema": {
"guidelines": 1001,
"pages_read": 21
},
"sources": [
{
"id": "fda",
"title": "FDA guidance documents search table (JSON behind Search for FDA Guidance Documents)",
"url": "https://www.fda.gov/files/api/datatables/static/search-for-guidance.json",
"page": "https://www.fda.gov/regulatory-information/search-fda-guidance-documents",
"licence": "Public domain: FDA Website Policies, 'not copyrighted ... may be republished, reprinted and otherwise used freely by anyone'",
"licence_url": "https://www.fda.gov/about-fda/about-website/website-policies",
"retrieved": "2026-11-14",
"rows": 2789
},
{
"id": "archive",
"title": "Internet Archive copies of the same FDA table",
"url": "https://web.archive.org/cdx/search/cdx?url=fda.gov/files/api/datatables/static/search-for-guidance.json",
"licence": "Copies of an FDA public-domain work; fetched as allowed by web.archive.org robots.txt",
"snapshots": 284,
"first": "2019-09-03",
"last_archive": "2026-10-24"
},
{
"id": "fr",
"title": "Federal Register API: FDA notices that mention guidance",
"url": "https://www.federalregister.gov/api/v1/documents.json",
"licence": "US federal government works, not copyrighted (17 USC 105)",
"licence_url": "https://www.federalregister.gov/reader-aids/using-federalregister-gov/understanding-the-federal-register",
"notices": 2970,
"first": "2008-01-30",
"last": "2026-11-12"
},
"... 1 more"
],
"cannot_know": [
"Anything before 2019-09-03: answers for earlier dates are inferred from the issue date and the Federal Register and say so.",
"Changes that happened and reverted between two copies.",
"The exact day of a change: it is dated by the two copies it fell between.",
"... 3 more"
]
}
Errors
- invalid_input (400): a field is missing or malformed; the message names the field and what to send.
- invalid_date (400) and date_in_future (400): dates are ISO YYYY-MM-DD, real, and not after the latest copy.
- ambiguous (404): the citation fits several guidances; the message lists candidate ids.
- not_found (404): nothing matches.
- free_limit (429): the free tier's 20 calls a day are used.