Self-describing coverage matrix: a legend of every corpusType token (what it contains and whether it is federal or state-scoped) plus, for each jurisdiction, the ingested DOCUMENT counts per corpusType in corpora (one per section or document, not per retrieval passage; totalPassages is the passage count). Read a jurisdiction’s corpora keys, then pass one as corpusType to /us/statutes/search (with state for state-scoped corpora). A corpusType absent from corpora is not held for that jurisdiction. A legend entry’s browsable says whether GET /us/statutes/divisions can walk that corpus as a tree.
sectionCount counts every provision held, repealed and superseded ones included, so a state’s GET /us/statutes/divisions browse can total less: browse walks the current code tree and leaves out codes made up only of prior-edition copies. Compare browse with statusBreakdown.<corpusType>.inForce, not sectionCount.
Congressional bill text (119th Congress) is held as FEDERAL_BILL: proposed text, never law, opt-in only and outside every total; proposedCorpora reports its count. Enacted federal text is under SESSION_LAW and USC.
Territories. Beyond the 50 states and DC, five territories are jurisdictions of their own, each with kind: territory: Puerto Rico (pr), Guam (gu), the U.S. Virgin Islands (vi), American Samoa (as) and the Northern Mariana Islands (mp). All five hold statutes, regulations and court rules. Constitutions (STATE_CONSTITUTION) are held for pr, as and mp and not for gu or vi. Attorney general opinions (STATE_AG_OPINION) are held for pr and DC only, and a register (STATE_REGISTER) for mp. Puerto Rico statutes are held in Spanish, as enacted, and resolve by their L.P.R.A. number where that number is printed on the section; the LexisNexis annotated edition (English translation, annotations, index) is not held.
This reports what we hold, not how recently it was refreshed. For the age of a source call GET /boards (free): lastRetrievedAt and cadence record when we last CHECKED, not when the law last changed. Where a publisher states its own currency, that rides on each section as currentThrough.
Free. Requires an API key and is rate-limited, but costs no credits.
State session laws (acts as enacted) are at /us/session-laws. Where we hold any for a jurisdiction, its sessionLaws block lists its sessions (complete or partial), how many laws we serve and withhold (withheldCount, each with a stated reason), the expected total and open gaps, and the series, instrumentTypes and approval-date span that exist (the values GET /us/session-laws/list accepts). A jurisdiction with none has no block. This is the one place session-law coverage is served, so check it before you list.
API key issued from the developer dashboard. Pass as Authorization: Bearer vq_key_... (preferred).
Query Parameters
state
enum<string> | null
Return only this jurisdiction: a 2-letter US state code (one of the 56 supported) or federal. Case-insensitive. Omit for every jurisdiction. The unfiltered matrix runs to about a megabyte, so pass this when you are asking about one place. totalSections and stateCountWithData stay corpus-wide.
Available options:
federal,
al,
ak,
as,
az,
ar,
ca,
co,
ct,
de,
dc,
fl,
ga,
gu,
hi,
id,
il,
in,
ia,
ks,
ky,
la,
me,
md,
ma,
mi,
mn,
ms,
mo,
mt,
ne,
nv,
nh,
nj,
nm,
ny,
nc,
nd,
mp,
oh,
ok,
or,
pa,
pr,
ri,
sc,
sd,
tn,
tx,
ut,
vt,
vi,
va,
wa,
wv,
wi,
wy
Example:
"ca"
Response
Coverage legend plus per-jurisdiction corpusType counts.
What GET /us/statutes/coverage returns: the matrix under data.
Declared because the route used to return a hand-built dict with no
response_model, so its published schema was {}. Every field was
discoverable only if the example happened to show it, and the MCP tool and
generated clients built from the document got no types at all for the one
endpoint that exists to be read before anything else.
data
UsStatutesCoverageResponse · object
required
Response for GET /us/statutes/coverage.
A self-describing matrix: a legend of every corpusType token plus, for
each jurisdiction, the per-corpusType ingested-document counts. Use it to learn
exactly what is queryable where before calling /us/statutes/search.
Show child attributes
meta
UsFreeCallMeta · object
required
meta on a free discovery endpoint.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Vaquill AI","description":"A legal data lab for AI agents. US case law, statutes and regulations over REST, MCP and SQL, with citation resolution and point-in-time retrieval.","colors":{"primary":"#6E3730","light":"#8C4A3F","dark":"#5A2D27"},"logo":{"light":"https://mintcdn.com/vaquill/HoYf91pjRoTl4-t3/logo/light.png?fit=max\u0026auto=format\u0026n=HoYf91pjRoTl4-t3\u0026q=85\u0026s=1c97b6018caaa1fee0a743b05651bb81","dark":"https://mintcdn.com/vaquill/HoYf91pjRoTl4-t3/logo/dark.png?fit=max\u0026auto=format\u0026n=HoYf91pjRoTl4-t3\u0026q=85\u0026s=857ee7c2383d363ffe7fac6f94ad862b","href":"https://vaquill.ai"},"favicon":"https://mintcdn.com/vaquill/HoYf91pjRoTl4-t3/favicon.png?fit=max\u0026auto=format\u0026n=HoYf91pjRoTl4-t3\u0026q=85\u0026s=e9fd33556ddcb3576db2925e6f4e27fe","api":{"openapi":"https://api.vaquill.ai/external/openapi.json","playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["bash","python","javascript","go"],"prefill":true},"mdx":{"auth":{"method":"bearer","name":"Authorization"},"server":"https://api.vaquill.ai"}},"appearance":{"default":"light","strict":true},"background":{"color":{"light":"#FAFAF9"}},"navbar":{"links":[{"icon":"github","href":"https://vaquill.ai/open-us-law","label":"Open US Law Dataset"},{"href":"mailto:contact@vaquill.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.vaquill.ai"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/vaquill","youtube":"https://www.youtube.com/@vaquill","slack":"https://join.slack.com/t/vaquillaicommunity/shared_invite/zt-3qxv4mtxg-64mtkVe2PxodDMwKGPfvMQ","github":"https://github.com/Vaquill-AI"},"links":[{"header":"Company","items":[{"label":"About","href":"https://www.vaquill.ai/about"},{"label":"Customers","href":"https://www.vaquill.ai/customer"},{"label":"Contact","href":"https://www.vaquill.ai/contact"},{"label":"Data Sources \u0026 Credits","href":"https://www.vaquill.ai/partners"},{"label":"Legal Aid \u0026 Nonprofits","href":"https://www.vaquill.ai/legal-aid"},{"label":"Blog","href":"https://www.vaquill.ai/blog"},{"label":"Engineering","href":"https://www.vaquill.ai/engineering"}]},{"header":"Developers","items":[{"label":"Statutes API","href":"https://www.vaquill.ai/legal-api"},{"label":"Case Law API","href":"https://www.vaquill.ai/case-law-api"},{"label":"White Label","href":"https://www.vaquill.ai/white-label"},{"label":"MCP Servers","href":"https://www.vaquill.ai/mcp"},{"label":"For AI Agents","href":"https://www.vaquill.ai/agents"},{"label":"SDKs","href":"/api-guide/sdks/overview"},{"label":"Claude Code Plugin","href":"https://www.vaquill.ai/claude-plugin"},{"label":"API Playground","href":"https://www.vaquill.ai/playground"},{"label":"Affiliate Program","href":"https://www.vaquill.ai/affiliates"},{"label":"Law Change Alerts","href":"https://www.vaquill.ai/alerts"},{"label":"API Reference","href":"/api-reference/us-statutes/search-us-statutes-constitutions-court-rules-and-executive-actions"},{"label":"Changelog","href":"/api-guide/changelog"},{"label":"Status","href":"https://status.vaquill.ai/"},{"label":"Open US Law Dataset","href":"https://www.vaquill.ai/open-us-law"},{"label":"Open US Law (GitHub)","href":"https://github.com/Vaquill-AI/open-us-law"}]},{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://www.vaquill.ai/privacy"},{"label":"Terms of Service","href":"https://www.vaquill.ai/terms"},{"label":"DPA","href":"https://www.vaquill.ai/dpa"},{"label":"Service Levels","href":"https://www.vaquill.ai/sla"},{"label":"Cookie Policy","href":"https://www.vaquill.ai/cookies"},{"label":"Refund Policy","href":"https://www.vaquill.ai/refund-policy"},{"label":"Delete My Data","href":"https://www.vaquill.ai/delete-data"},{"label":"Security","href":"https://www.vaquill.ai/security"},{"label":"Trust and Procurement","href":"https://www.vaquill.ai/trust"},{"label":"Accessibility","href":"https://www.vaquill.ai/accessibility"},{"label":"Do Not Sell or Share My Personal Information","href":"https://www.vaquill.ai/privacy"}]}]},"search":{"prompt":"Search docs, guides, and the API reference..."},"seo":{"metatags":{"canonical":"https://www.vaquill.ai/docs","og:site_name":"Vaquill AI Docs","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@vaquillai"},"indexing":"all"},"fonts":{"heading":{"family":"Source Serif 4","weight":400},"body":{"family":"Schibsted Grotesk","weight":400}},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":"github-light"},"latex":false},"errors":{"404":{"redirect":false,"title":"Page not found","description":"That page doesn't exist, or the URL changed. Try the search bar above, or start from the [API overview](/api-guide/overview)."}},"contextual":{"options":["copy","view","assistant","chatgpt","claude","perplexity","cursor","vscode","windsurf","mcp"],"display":"header"},"thumbnails":{"appearance":"light","fonts":{"family":"Source Serif 4"}},"metadata":{"timestamp":true},"navigation":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock","href":"/api-guide/changelog"},{"anchor":"MCP","icon":"plug","href":"/integrations/mcp/vaquill"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"vaquill","hasAudioNarration":false,"actualSubdomain":"vaquill","customDomains":["vaquill.ai"],"gitSource":{"type":"github","owner":"vaquill-ai","repo":"vaquill-ai-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10d06b9ffae5051c40af6e"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6b15c1acde6495bd05692ec4","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"US API reference","count":80},{"language":"default","tag":"Guide","count":64},{"language":"default","tag":"India API reference","count":62},{"language":"default","tag":"Endpoints","count":54},{"language":"default","tag":"Indian Acts and Legislation","count":21},{"language":"default","tag":"US Case Law","count":21},{"language":"default","tag":"US Statutes","count":20},{"language":"default","tag":"Integrations","count":18},{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Core concepts","count":16}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":":root{--vq-ink: #1c1a17;--vq-muted: #5f5a52;--vq-hairline: #e4e3e0;--vq-raised: #f2f1ef;--vq-radius: 6px}#navbar img{height:3rem;width:auto}footer img{height:3rem;width:auto}#page-title,#content h2,#content h3{font-family:\"Source Serif 4\", Georgia, serif;font-weight:400;letter-spacing:-0.01em;color:var(--vq-ink)}#content h4,#content h5{font-weight:500}.card,.callout,.accordion,.accordion-group,[data-component-part=\"code-block-root\"]{border-radius:var(--vq-radius)!important;box-shadow:none!important}.card,.accordion,.accordion-group{border:1px solid var(--vq-hairline)}.accordion-group .accordion{border:0!important;border-radius:0!important;margin-bottom:0}.accordion-group .accordion+.accordion{border-top:1px solid var(--vq-hairline)!important}.card:hover{border-color:#6e3730!important}.callout{background-color:var(--vq-raised);border:1px solid var(--vq-hairline)}.callout[data-callout-type=\"warning\"]{border-color:#7d5310}.callout[data-callout-type=\"danger\"]{border-color:#a4123c}code,pre,.shiki{font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}[data-component-part=\"code-block-root\"]{border:1px solid var(--vq-hairline)}"}]}
{"page":{"pagePath":"api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype","slug":"/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype","pageMetadata":{"title":"Coverage matrix by jurisdiction and corpusType","description":"Self-describing coverage matrix: a legend of every `corpusType` token (what it contains and whether it is federal or state-scoped) plus, for each jurisdiction, the ingested DOCUMENT counts per corpusType in `corpora` (one per section or document, not per retrieval passage; `totalPassages` is the passage count). Read a jurisdiction's `corpora` keys, then pass one as `corpusType` to `/us/statutes/search` (with `state` for state-scoped corpora). A corpusType absent from `corpora` is not held for that jurisdiction. A legend entry's `browsable` says whether `GET /us/statutes/divisions` can walk that corpus as a tree.\n\n`sectionCount` counts every provision held, repealed and superseded ones included, so a state's `GET /us/statutes/divisions` browse can total less: browse walks the current code tree and leaves out codes made up only of prior-edition copies. Compare browse with `statusBreakdown.\u003ccorpusType>.inForce`, not `sectionCount`.\n\nCongressional bill text (119th Congress) is held as `FEDERAL_BILL`: proposed text, never law, opt-in only and outside every total; `proposedCorpora` reports its count. Enacted federal text is under `SESSION_LAW` and `USC`.\n\n**Territories.** Beyond the 50 states and DC, five territories are jurisdictions of their own, each with `kind: territory`: Puerto Rico (`pr`), Guam (`gu`), the U.S. Virgin Islands (`vi`), American Samoa (`as`) and the Northern Mariana Islands (`mp`). All five hold statutes, regulations and court rules. Constitutions (`STATE_CONSTITUTION`) are held for `pr`, `as` and `mp` and not for `gu` or `vi`. Attorney general opinions (`STATE_AG_OPINION`) are held for `pr` and DC only, and a register (`STATE_REGISTER`) for `mp`. Puerto Rico statutes are held in Spanish, as enacted, and resolve by their `L.P.R.A.` number where that number is printed on the section; the LexisNexis annotated edition (English translation, annotations, index) is not held.\n\nThis reports what we hold, not how recently it was refreshed. For the age of a source call `GET /boards` (free): `lastRetrievedAt` and `cadence` record when we last CHECKED, not when the law last changed. Where a publisher states its own currency, that rides on each section as `currentThrough`.\n\n**Free.** Requires an API key and is rate-limited, but costs no credits.\n\nState session laws (acts as enacted) are at `/us/session-laws`. Where we hold any for a jurisdiction, its `sessionLaws` block lists its sessions (`complete` or `partial`), how many laws we serve and withhold (`withheldCount`, each with a stated reason), the expected total and open gaps, and the `series`, `instrumentTypes` and approval-date span that exist (the values `GET /us/session-laws/list` accepts). A jurisdiction with none has no block. This is the one place session-law coverage is served, so check it before you list.","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/coverage","href":"/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Self-describing coverage matrix: a legend of every \", _jsx(_components.code, {\n children: \"corpusType\"\n }), \" token (what it contains and whether it is federal or state-scoped) plus, for each jurisdiction, the ingested DOCUMENT counts per corpusType in \", _jsx(_components.code, {\n children: \"corpora\"\n }), \" (one per section or document, not per retrieval passage; \", _jsx(_components.code, {\n children: \"totalPassages\"\n }), \" is the passage count). Read a jurisdiction’s \", _jsx(_components.code, {\n children: \"corpora\"\n }), \" keys, then pass one as \", _jsx(_components.code, {\n children: \"corpusType\"\n }), \" to \", _jsx(_components.code, {\n children: \"/us/statutes/search\"\n }), \" (with \", _jsx(_components.code, {\n children: \"state\"\n }), \" for state-scoped corpora). A corpusType absent from \", _jsx(_components.code, {\n children: \"corpora\"\n }), \" is not held for that jurisdiction. A legend entry’s \", _jsx(_components.code, {\n children: \"browsable\"\n }), \" says whether \", _jsx(_components.code, {\n children: \"GET /us/statutes/divisions\"\n }), \" can walk that corpus as a tree.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.code, {\n children: \"sectionCount\"\n }), \" counts every provision held, repealed and superseded ones included, so a state’s \", _jsx(_components.code, {\n children: \"GET /us/statutes/divisions\"\n }), \" browse can total less: browse walks the current code tree and leaves out codes made up only of prior-edition copies. Compare browse with \", _jsx(_components.code, {\n children: \"statusBreakdown.\u003ccorpusType>.inForce\"\n }), \", not \", _jsx(_components.code, {\n children: \"sectionCount\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Congressional bill text (119th Congress) is held as \", _jsx(_components.code, {\n children: \"FEDERAL_BILL\"\n }), \": proposed text, never law, opt-in only and outside every total; \", _jsx(_components.code, {\n children: \"proposedCorpora\"\n }), \" reports its count. Enacted federal text is under \", _jsx(_components.code, {\n children: \"SESSION_LAW\"\n }), \" and \", _jsx(_components.code, {\n children: \"USC\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Territories.\"\n }), \" Beyond the 50 states and DC, five territories are jurisdictions of their own, each with \", _jsx(_components.code, {\n children: \"kind: territory\"\n }), \": Puerto Rico (\", _jsx(_components.code, {\n children: \"pr\"\n }), \"), Guam (\", _jsx(_components.code, {\n children: \"gu\"\n }), \"), the U.S. Virgin Islands (\", _jsx(_components.code, {\n children: \"vi\"\n }), \"), American Samoa (\", _jsx(_components.code, {\n children: \"as\"\n }), \") and the Northern Mariana Islands (\", _jsx(_components.code, {\n children: \"mp\"\n }), \"). All five hold statutes, regulations and court rules. Constitutions (\", _jsx(_components.code, {\n children: \"STATE_CONSTITUTION\"\n }), \") are held for \", _jsx(_components.code, {\n children: \"pr\"\n }), \", \", _jsx(_components.code, {\n children: \"as\"\n }), \" and \", _jsx(_components.code, {\n children: \"mp\"\n }), \" and not for \", _jsx(_components.code, {\n children: \"gu\"\n }), \" or \", _jsx(_components.code, {\n children: \"vi\"\n }), \". Attorney general opinions (\", _jsx(_components.code, {\n children: \"STATE_AG_OPINION\"\n }), \") are held for \", _jsx(_components.code, {\n children: \"pr\"\n }), \" and DC only, and a register (\", _jsx(_components.code, {\n children: \"STATE_REGISTER\"\n }), \") for \", _jsx(_components.code, {\n children: \"mp\"\n }), \". Puerto Rico statutes are held in Spanish, as enacted, and resolve by their \", _jsx(_components.code, {\n children: \"L.P.R.A.\"\n }), \" number where that number is printed on the section; the LexisNexis annotated edition (English translation, annotations, index) is not held.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"This reports what we hold, not how recently it was refreshed. For the age of a source call \", _jsx(_components.code, {\n children: \"GET /boards\"\n }), \" (free): \", _jsx(_components.code, {\n children: \"lastRetrievedAt\"\n }), \" and \", _jsx(_components.code, {\n children: \"cadence\"\n }), \" record when we last CHECKED, not when the law last changed. Where a publisher states its own currency, that rides on each section as \", _jsx(_components.code, {\n children: \"currentThrough\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Free.\"\n }), \" Requires an API key and is rate-limited, but costs no credits.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"State session laws (acts as enacted) are at \", _jsx(_components.code, {\n children: \"/us/session-laws\"\n }), \". Where we hold any for a jurisdiction, its \", _jsx(_components.code, {\n children: \"sessionLaws\"\n }), \" block lists its sessions (\", _jsx(_components.code, {\n children: \"complete\"\n }), \" or \", _jsx(_components.code, {\n children: \"partial\"\n }), \"), how many laws we serve and withhold (\", _jsx(_components.code, {\n children: \"withheldCount\"\n }), \", each with a stated reason), the expected total and open gaps, and the \", _jsx(_components.code, {\n children: \"series\"\n }), \", \", _jsx(_components.code, {\n children: \"instrumentTypes\"\n }), \" and approval-date span that exist (the values \", _jsx(_components.code, {\n children: \"GET /us/session-laws/list\"\n }), \" accepts). A jurisdiction with none has no block. This is the one place session-law coverage is served, so check it before you list.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":"github-light"},"config":{},"pageMetadata":{"title":"Coverage matrix by jurisdiction and corpusType","description":"Self-describing coverage matrix: a legend of every `corpusType` token (what it contains and whether it is federal or state-scoped) plus, for each jurisdiction, the ingested DOCUMENT counts per corpusType in `corpora` (one per section or document, not per retrieval passage; `totalPassages` is the passage count). Read a jurisdiction's `corpora` keys, then pass one as `corpusType` to `/us/statutes/search` (with `state` for state-scoped corpora). A corpusType absent from `corpora` is not held for that jurisdiction. A legend entry's `browsable` says whether `GET /us/statutes/divisions` can walk that corpus as a tree.\n\n`sectionCount` counts every provision held, repealed and superseded ones included, so a state's `GET /us/statutes/divisions` browse can total less: browse walks the current code tree and leaves out codes made up only of prior-edition copies. Compare browse with `statusBreakdown.\u003ccorpusType>.inForce`, not `sectionCount`.\n\nCongressional bill text (119th Congress) is held as `FEDERAL_BILL`: proposed text, never law, opt-in only and outside every total; `proposedCorpora` reports its count. Enacted federal text is under `SESSION_LAW` and `USC`.\n\n**Territories.** Beyond the 50 states and DC, five territories are jurisdictions of their own, each with `kind: territory`: Puerto Rico (`pr`), Guam (`gu`), the U.S. Virgin Islands (`vi`), American Samoa (`as`) and the Northern Mariana Islands (`mp`). All five hold statutes, regulations and court rules. Constitutions (`STATE_CONSTITUTION`) are held for `pr`, `as` and `mp` and not for `gu` or `vi`. Attorney general opinions (`STATE_AG_OPINION`) are held for `pr` and DC only, and a register (`STATE_REGISTER`) for `mp`. Puerto Rico statutes are held in Spanish, as enacted, and resolve by their `L.P.R.A.` number where that number is printed on the section; the LexisNexis annotated edition (English translation, annotations, index) is not held.\n\nThis reports what we hold, not how recently it was refreshed. For the age of a source call `GET /boards` (free): `lastRetrievedAt` and `cadence` record when we last CHECKED, not when the law last changed. Where a publisher states its own currency, that rides on each section as `currentThrough`.\n\n**Free.** Requires an API key and is rate-limited, but costs no credits.\n\nState session laws (acts as enacted) are at `/us/session-laws`. Where we hold any for a jurisdiction, its `sessionLaws` block lists its sessions (`complete` or `partial`), how many laws we serve and withhold (`withheldCount`, each with a stated reason), the expected total and open gaps, and the `series`, `instrumentTypes` and approval-date span that exist (the values `GET /us/session-laws/list` accepts). A jurisdiction with none has no block. This is the one place session-law coverage is served, so check it before you list.","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/coverage","href":"/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["US Statutes"],"summary":"Coverage matrix by jurisdiction and corpusType","description":"Self-describing coverage matrix: a legend of every `corpusType` token (what it contains and whether it is federal or state-scoped) plus, for each jurisdiction, the ingested DOCUMENT counts per corpusType in `corpora` (one per section or document, not per retrieval passage; `totalPassages` is the passage count). Read a jurisdiction's `corpora` keys, then pass one as `corpusType` to `/us/statutes/search` (with `state` for state-scoped corpora). A corpusType absent from `corpora` is not held for that jurisdiction. A legend entry's `browsable` says whether `GET /us/statutes/divisions` can walk that corpus as a tree.\n\n`sectionCount` counts every provision held, repealed and superseded ones included, so a state's `GET /us/statutes/divisions` browse can total less: browse walks the current code tree and leaves out codes made up only of prior-edition copies. Compare browse with `statusBreakdown.\u003ccorpusType>.inForce`, not `sectionCount`.\n\nCongressional bill text (119th Congress) is held as `FEDERAL_BILL`: proposed text, never law, opt-in only and outside every total; `proposedCorpora` reports its count. Enacted federal text is under `SESSION_LAW` and `USC`.\n\n**Territories.** Beyond the 50 states and DC, five territories are jurisdictions of their own, each with `kind: territory`: Puerto Rico (`pr`), Guam (`gu`), the U.S. Virgin Islands (`vi`), American Samoa (`as`) and the Northern Mariana Islands (`mp`). All five hold statutes, regulations and court rules. Constitutions (`STATE_CONSTITUTION`) are held for `pr`, `as` and `mp` and not for `gu` or `vi`. Attorney general opinions (`STATE_AG_OPINION`) are held for `pr` and DC only, and a register (`STATE_REGISTER`) for `mp`. Puerto Rico statutes are held in Spanish, as enacted, and resolve by their `L.P.R.A.` number where that number is printed on the section; the LexisNexis annotated edition (English translation, annotations, index) is not held.\n\nThis reports what we hold, not how recently it was refreshed. For the age of a source call `GET /boards` (free): `lastRetrievedAt` and `cadence` record when we last CHECKED, not when the law last changed. Where a publisher states its own currency, that rides on each section as `currentThrough`.\n\n**Free.** Requires an API key and is rate-limited, but costs no credits.\n\nState session laws (acts as enacted) are at `/us/session-laws`. Where we hold any for a jurisdiction, its `sessionLaws` block lists its sessions (`complete` or `partial`), how many laws we serve and withhold (`withheldCount`, each with a stated reason), the expected total and open gaps, and the `series`, `instrumentTypes` and approval-date span that exist (the values `GET /us/session-laws/list` accepts). A jurisdiction with none has no block. This is the one place session-law coverage is served, so check it before you list.","operationId":"list_statutes_coverage","parameters":["e983d48b-bfbf-4000-a30e-535724314418"],"responses":{"200":"0f0e2ef5-09a5-4c2c-8742-0211e56c71ae","401":"7022dee0-0bef-47d3-9efb-2246bb4a0785","403":"76f315b9-14a9-4e0f-85f1-ea95dccada5a","422":"90d6d21b-b251-4953-bef4-db345d4a0460","429":"ebc1f8bd-d036-4ec1-a74b-73e443b20f88","500":"c8c11702-b4fd-4aed-8eb7-56a58a0bc447"},"method":"get","type":"path","servers":["7da32539-fe15-4da4-b50f-44414abc5612"],"security":["69a26aef-4466-4c40-82fa-c0818ef5d0c8","354913e8-9ff3-4ff3-9185-be40b423c050"],"path":"/api/v1/us/statutes/coverage","baseUrlOptions":["https://api.vaquill.ai"],"title":"Coverage matrix by jurisdiction and corpusType","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"e983d48b-bfbf-4000-a30e-535724314418":{"name":"state","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"State","description":"Return only this jurisdiction: a 2-letter US state code (one of the 56 supported) or `federal`. Case-insensitive. Omit for every jurisdiction. The unfiltered matrix runs to about a megabyte, so pass this when you are asking about one place. `totalSections` and `stateCountWithData` stay corpus-wide.","enum":["federal","al","ak","as","az","ar","ca","co","ct","de","dc","fl","ga","gu","hi","id","il","in","ia","ks","ky","la","me","md","ma","mi","mn","ms","mo","mt","ne","nv","nh","nj","nm","ny","nc","nd","mp","oh","ok","or","pa","pr","ri","sc","sd","tn","tx","ut","vt","vi","va","wa","wv","wi","wy"],"example":"ca","uniqueKey":"oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"State","description":"Return only this jurisdiction: a 2-letter US state code (one of the 56 supported) or `federal`. Case-insensitive. Omit for every jurisdiction. The unfiltered matrix runs to about a megabyte, so pass this when you are asking about one place. `totalSections` and `stateCountWithData` stay corpus-wide.","example":"ca","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring> | null"},"description":"Return only this jurisdiction: a 2-letter US state code (one of the 56 supported) or `federal`. Case-insensitive. Omit for every jurisdiction. The unfiltered matrix runs to about a megabyte, so pass this when you are asking about one place. `totalSections` and `stateCountWithData` stay corpus-wide."}},"responses":{"0f0e2ef5-09a5-4c2c-8742-0211e56c71ae":{"description":"Coverage legend plus per-jurisdiction corpusType counts.","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"corpusTypes":{"items":{"properties":{"token":{"type":"string","title":"Token","description":"The `corpusType` value to pass to `/us/statutes/search`.","examples":["REGULATION"],"isRequired":true,"uniqueKey":"data.corpusTypes.items.[INDEX].token","typeLabel":"string"},"description":{"type":"string","title":"Description","description":"What this corpus contains.","isRequired":true,"uniqueKey":"data.corpusTypes.items.[INDEX].description","typeLabel":"string"},"scope":{"type":"string","enum":["federal","state"],"title":"Scope","description":"`federal` corpora appear under the `federal` jurisdiction; `state` corpora are scoped per state (pair with the `state` filter).","isRequired":true,"uniqueKey":"data.corpusTypes.items.[INDEX].scope","typeLabel":"enum\u003cstring>"},"browsable":{"type":"boolean","title":"Browsable","description":"Whether `GET /us/statutes/divisions` can walk this corpus level by level (titles, chapters, parts, codes, articles, rule sets). When true, following every node and every `nextCursor` reaches every section the corpus holds; a level a jurisdiction does not record is not invented, so some codes list their sections directly beneath them. State court rules (`STATE_RULES`) are walked rule set first, then the containers each rule's record names inside its set. False for dated series such as the Federal Register and executive actions, and for corpora with no shared tree such as agency guidance. Every corpus is searchable either way; this only says whether you can NAVIGATE it instead of querying it.","default":false,"examples":[true],"uniqueKey":"data.corpusTypes.items.[INDEX].browsable","typeLabel":"boolean"},"scopeNote":{"oneOf":[{"type":"string","title":"Scopenote","description":"Always present. Set ONLY when we hold part of a corpus rather than all of it, and then it names both what is held and what is not. Null means no class-level exclusion applies. It is a STRUCTURED completeness claim, deliberately separate from `description` (prose a caller cannot act on). It says nothing about how recently the corpus was refreshed, a different fact: a filtered corpus can be, and `FEDERAL_REGISTER_NOTICE` is, refreshed weekly. `GET /boards` answers that one.","example":"Held: notices withdrawing a proposed rule ... About 2.4% of Federal Register notices. Not held: Paperwork Reduction Act information collections ...","uniqueKey":"data.corpusTypes.items.[INDEX].scopeNote.oneOf.0","typeLabel":"string"},{"type":"null","title":"Scopenote","description":"Always present. Set ONLY when we hold part of a corpus rather than all of it, and then it names both what is held and what is not. Null means no class-level exclusion applies. It is a STRUCTURED completeness claim, deliberately separate from `description` (prose a caller cannot act on). It says nothing about how recently the corpus was refreshed, a different fact: a filtered corpus can be, and `FEDERAL_REGISTER_NOTICE` is, refreshed weekly. `GET /boards` answers that one.","example":"Held: notices withdrawing a proposed rule ... About 2.4% of Federal Register notices. Not held: Paperwork Reduction Act information collections ...","uniqueKey":"data.corpusTypes.items.[INDEX].scopeNote.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.corpusTypes.items.[INDEX].scopeNote","typeLabel":"string | null"},"sourceScopeNotes":{"additionalProperties":{"type":"string","uniqueKey":"data.corpusTypes.items.[INDEX].sourceScopeNotes.additionalProperties","typeLabel":"string"},"type":"object","title":"Sourcescopenotes","description":"Scope statements for INDIVIDUAL sources inside this token, keyed by the `source` value you can filter on. `scopeNote` is the right unit for a token that is one corpus; it is the wrong unit for `AGENCY_GUIDANCE`, which fans out to more than thirty unrelated sources, so a partial source declares its own coverage here rather than describing every sibling. Empty when every source under this token is held whole.","examples":[{"cms_iom":"Held: the 204 chapter, appendix and exhibit documents ... Not held ... Pub. 100-12 (State Medicaid Manual) ... publish no chapters at all ..."}],"uniqueKey":"data.corpusTypes.items.[INDEX].sourceScopeNotes","typeLabel":"Sourcescopenotes · object"}},"type":"object","required":["token","description","scope"],"title":"UsCorpusTypeInfo","description":"One entry in the coverage legend: what a `corpusType` token means.","uniqueKey":"data.corpusTypes.items.[INDEX]","typeLabel":"UsCorpusTypeInfo · object"},"type":"array","title":"Corpustypes","description":"Legend of every corpusType token, its meaning, and its scope.","isRequired":true,"uniqueKey":"data.corpusTypes","typeLabel":"UsCorpusTypeInfo · object[]"},"jurisdictions":{"items":{"properties":{"code":{"type":"string","title":"Code","description":"2-letter state ISO code (lowercase) or `federal` for USC/CFR.","examples":["tx"],"isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].code","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Display name.","examples":["Texas"],"isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].name","typeLabel":"string"},"kind":{"type":"string","enum":["federal","state","territory"],"title":"Kind","description":"`federal` for USC/CFR, `state` for the 50 states, `territory` for non-state jurisdictions (DC, Puerto Rico).","isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"sectionCount":{"type":"integer","minimum":0,"title":"Sectioncount","description":"Distinct sections held for this jurisdiction, summed across its `corpora`. 0 means not yet covered.\n\nOne per provision or document, NOT per retrieval passage (see `totalPassages` for those). Repealed, transferred and reserved sections ARE counted: a legal research corpus serves them and a customer researching a historical question needs them. A SUPERSEDED prior version is not counted a second time when the section it supersedes is also served, because that is the same section twice -- but one with no current counterpart IS counted, since it is the only text we hold for that provision. Read `statusBreakdown` to see the split.","isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].sectionCount","typeLabel":"integer"},"hasData":{"type":"boolean","title":"Hasdata","description":"True when section_count > 0.","isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].hasData","typeLabel":"boolean"},"statusBreakdown":{"additionalProperties":{"additionalProperties":{"type":"integer","uniqueKey":"data.jurisdictions.items.[INDEX].statusBreakdown.additionalProperties.additionalProperties","typeLabel":"integer"},"type":"object","uniqueKey":"data.jurisdictions.items.[INDEX].statusBreakdown.additionalProperties","typeLabel":"object"},"type":"object","title":"Statusbreakdown","description":"Per-corpusType `act_status` split over the same sections `corpora` counts, e.g. `{\"REGULATION\": {\"inForce\": 12151, \"repealed\": 10640, \"transferred\": 5426}}`.\n\nPublished so a large section count can be read as maintained law plus retained history rather than as an undifferentiated total: Montana holds 28,217 regulation sections of which 12,151 are in force, and without this split that reads either as 28,217 current rules or as a coverage problem, and it is neither.\n\n⚠️ `inForce` is what the ingester recorded, and it is NOT a complete census of current law: a zero means the status was never determined, never that the corpus is entirely inoperative. It is the status recorded for the section; the currency verdict is `goodLawStatus` on each section, which is `unknown` where a jurisdiction does not publish repeal information. The `unknown` key counts sections whose status is not stated. An empty object `{}` when a jurisdiction has not been measured exactly: its section counts are then index estimates, not an exact census.","uniqueKey":"data.jurisdictions.items.[INDEX].statusBreakdown","typeLabel":"Statusbreakdown · object"},"corpora":{"additionalProperties":{"type":"integer","uniqueKey":"data.jurisdictions.items.[INDEX].corpora.additionalProperties","typeLabel":"integer"},"type":"object","title":"Corpora","description":"Per-corpusType ingested-DOCUMENT counts for this jurisdiction, keyed by the `corpusType` token (e.g. `{\"STATE\": 176778, \"REGULATION\": 51142}`). Only corpora with data are included. Pass a key as `corpusType` to `/us/statutes/search` to scope a query.","uniqueKey":"data.jurisdictions.items.[INDEX].corpora","typeLabel":"Corpora · object"},"sessionLaws":{"oneOf":[{"type":"object","title":"SessionLawJurisdictionCoverage","description":"State session laws (acts as enacted) held for this jurisdiction, by legislative session, with each session's coverage status (`complete` or `partial`), how many laws we serve, withhold or know without text, the expected total (`denominator`), `openGaps` and when it was `measuredAt`. Beside the sessions it carries the `series` and `instrumentTypes` that exist (the values `GET /us/session-laws/list` accepts) and the span of approval dates held (`earliestApprovedDate`, `latestApprovedDate`); each of those four is omitted when it cannot be read. A separate corpus: read and list the laws with `/us/session-laws`, not `/us/statutes/search`, and resolve their citations with `/us/statutes/resolve`. The whole block is absent when we hold no session laws for the jurisdiction, and whenever session-law coverage cannot be read; absence is a gap in our collection, not a statement that the jurisdiction enacts none.","required":["sessionCount","completeSessionCount","servedCount"],"properties":{"sessionCount":{"type":"integer","minimum":0,"title":"Sessioncount","description":"Sessions of this jurisdiction we hold session laws for.","examples":[2],"isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessionCount","typeLabel":"integer"},"completeSessionCount":{"type":"integer","minimum":0,"title":"Completesessioncount","description":"How many of those sessions are `complete`.","examples":[2],"isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.completeSessionCount","typeLabel":"integer"},"servedCount":{"type":"integer","minimum":0,"title":"Servedcount","description":"Laws served across every session listed.","examples":[54],"isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.servedCount","typeLabel":"integer"},"sessions":{"items":{"properties":{"code":{"type":"string","title":"Code","description":"Session code, for example `2025R`.","examples":["2025R"],"isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].code","typeLabel":"string"},"status":{"type":"string","enum":["complete","partial"],"title":"Status","description":"`complete` when every law the publisher lists for the session is accounted for. Anything less is `partial`: a law missing from a partial session is not evidence that it does not exist, and asking for one by id or citation answers `session_not_fully_collected`, free of charge, rather than a plain not found.","examples":["complete"],"isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"servedCount":{"type":"integer","minimum":0,"title":"Servedcount","description":"Laws from this session we serve: every one we answer for by id, citation or list, whether or not we hold its text (`notHeldCount` of them have none). Laws whose text is withheld are not counted here, they are `withheldCount`. `servedCount + withheldCount` is `registryCount`, less any law still being verified.","examples":[39],"isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].servedCount","typeLabel":"integer"},"label":{"oneOf":[{"type":"string","title":"Label","description":"The session's canonical label.","example":"2025 Regular Session","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","title":"Label","description":"The session's canonical label.","example":"2025 Regular Session","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].label","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"`regular`, `special`, `extraordinary`, `fiscal`, `veto` or `unknown`.","example":"regular","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"`regular`, `special`, `extraordinary`, `fiscal`, `veto` or `unknown`.","example":"regular","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].type","typeLabel":"string | null"},"year":{"oneOf":[{"type":"integer","title":"Year","description":"The year the session convened, the year `code` starts with.","example":2025,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].year.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Year","description":"The year the session convened, the year `code` starts with.","example":2025,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].year.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].year","typeLabel":"integer | null"},"withheldCount":{"type":"integer","minimum":0,"title":"Withheldcount","description":"Laws from this session we hold and list but whose text is withheld for a measured defect (`textStatus: withheld`). They are real laws: their records are served, their text is not.","default":0,"examples":[0],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].withheldCount","typeLabel":"integer"},"notHeldCount":{"type":"integer","minimum":0,"title":"Notheldcount","description":"Of the laws counted in `servedCount`, how many have no text held (`textStatus: not_held` or `pending`). A subset of `servedCount`, not an addition to it: do not add it to `servedCount` or `withheldCount`.","default":0,"examples":[0],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].notHeldCount","typeLabel":"integer"},"registryCount":{"type":"integer","minimum":0,"title":"Registrycount","description":"Every law of this session in our registry, whether or not its text is held: `servedCount + withheldCount`. Any difference is a law still being verified, which is neither.","default":0,"examples":[39],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].registryCount","typeLabel":"integer"},"collectedCount":{"type":"integer","minimum":0,"title":"Collectedcount","description":"Laws from this session whose text we have collected, served or withheld. Compare it with `denominator.value` to see how much of the session we hold.","default":0,"examples":[39],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].collectedCount","typeLabel":"integer"},"denominator":{"oneOf":[{"type":"object","title":"SessionLawDenominator","description":"How many laws the session is expected to hold, and where that figure comes from. Null when it could not be read.","required":["kind","derivation"],"example":{"derivation":"The publisher's complete listing of this session names 296 measures. We hold 43 of them; the rest are not yet collected.","kind":"complete_listing","value":296},"properties":{"kind":{"type":"string","enum":["stated_count","complete_listing","max_number","feed_total","our_recount","registry_union","none"],"title":"Kind","description":"Where the total comes from. `stated_count`: the publisher states how many measures the session enacted. `complete_listing`: the publisher's own complete list of the session's acts, which we counted. `max_number`: the highest chapter number the publisher printed. `feed_total`: the total a publisher feed reports. `our_recount`: we counted the publisher's pages ourselves. `registry_union`: the measures we know of from several sources. `none`: no total is available, so completeness cannot be judged.","examples":["complete_listing"],"isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].denominator.oneOf.0.kind","typeLabel":"enum\u003cstring>"},"derivation":{"type":"string","title":"Derivation","description":"One plain sentence saying what `value` counts and where it comes from. Written for customers: it never contains our internal audit or collection notes.","examples":["The publisher's complete listing of this session names 296 acts."],"isRequired":true,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].denominator.oneOf.0.derivation","typeLabel":"string"},"value":{"oneOf":[{"type":"integer","title":"Value","description":"The number of laws the session is expected to hold. Null when `kind` is `none`. Compare it with `registryCount` and `servedCount`.","minimum":0,"example":296,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].denominator.oneOf.0.value.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Value","description":"The number of laws the session is expected to hold. Null when `kind` is `none`. Compare it with `registryCount` and `servedCount`.","example":296,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].denominator.oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].denominator.oneOf.0.value","typeLabel":"integer | null"}},"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].denominator.oneOf.0","typeLabel":"SessionLawDenominator · object"},{"type":"null","description":"How many laws the session is expected to hold, and where that figure comes from. Null when it could not be read.","example":{"derivation":"The publisher's complete listing of this session names 296 measures. We hold 43 of them; the rest are not yet collected.","kind":"complete_listing","value":296},"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].denominator.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].denominator","typeLabel":"SessionLawDenominator · object | null"},"openGaps":{"type":"integer","minimum":0,"title":"Opengaps","description":"Laws the publisher lists for this session that we could not collect and have not yet. 0 on a `complete` session.","default":0,"examples":[0],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].openGaps","typeLabel":"integer"},"numberingHoles":{"oneOf":[{"type":"integer","title":"Numberingholes","description":"Numbers inside the session's printed range that carry no law, which may never have been issued; never counted in `openGaps`. Measured only where the total is the highest printed number and we hold at least 95% of the range, and 0 otherwise.","minimum":0,"example":12,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].numberingHoles.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Numberingholes","description":"Numbers inside the session's printed range that carry no law, which may never have been issued; never counted in `openGaps`. Measured only where the total is the highest printed number and we hold at least 95% of the range, and 0 otherwise.","example":12,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].numberingHoles.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].numberingHoles","typeLabel":"integer | null"},"denominatorStale":{"oneOf":[{"type":"boolean","title":"Denominatorstale","description":"True when our registry holds more laws than `denominator.value`, so the figure counts a narrower unit or is out of date and cannot measure what is missing; false otherwise, including where there is no total to compare. With a highest-number total, the comparison is with the size of the printed range.","example":false,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].denominatorStale.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Denominatorstale","description":"True when our registry holds more laws than `denominator.value`, so the figure counts a narrower unit or is out of date and cannot measure what is missing; false otherwise, including where there is no total to compare. With a highest-number total, the comparison is with the size of the printed range.","example":false,"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].denominatorStale.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].denominatorStale","typeLabel":"boolean | null"},"measuredAt":{"oneOf":[{"type":"string","title":"Measuredat","description":"When this session's coverage was last measured, ISO 8601 UTC.","example":"2026-10-05T09:07:12+00:00","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].measuredAt.oneOf.0","typeLabel":"string"},{"type":"null","title":"Measuredat","description":"When this session's coverage was last measured, ISO 8601 UTC.","example":"2026-10-05T09:07:12+00:00","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].measuredAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX].measuredAt","typeLabel":"string | null"}},"type":"object","required":["code","status","servedCount"],"title":"SessionLawSessionCoverage","description":"One legislative session's session-law coverage.","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions.items.[INDEX]","typeLabel":"SessionLawSessionCoverage · object"},"type":"array","title":"Sessions","description":"Oldest session first.","examples":[[{"code":"2025R","collectedCount":43,"denominator":{"derivation":"The publisher's complete listing of this session names 296 measures. We hold 43 of them; the rest are not yet collected.","kind":"complete_listing","value":296},"label":"153rd General Assembly","notHeldCount":0,"openGaps":253,"registryCount":43,"servedCount":43,"status":"partial","type":"regular","withheldCount":0,"year":2025}]],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.sessions","typeLabel":"SessionLawSessionCoverage · object[]"},"series":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.series.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Series","description":"The numbering series that exist among this jurisdiction's session laws: the values `series` accepts on `GET /us/session-laws/list`. `general` is the ordinary chapter sequence. Omitted when it cannot be read, which is not the same as no series existing.","example":["general"],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.series.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Series","description":"The numbering series that exist among this jurisdiction's session laws: the values `series` accepts on `GET /us/session-laws/list`. `general` is the ordinary chapter sequence. Omitted when it cannot be read, which is not the same as no series existing.","example":["general"],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.series.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.series","typeLabel":"string[] | null"},"instrumentTypes":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.instrumentTypes.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Instrumenttypes","description":"The kinds of measure we hold for this jurisdiction: the values `instrumentType` accepts on `GET /us/session-laws/list`. Omitted when it cannot be read.","example":["act","joint_resolution"],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.instrumentTypes.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Instrumenttypes","description":"The kinds of measure we hold for this jurisdiction: the values `instrumentType` accepts on `GET /us/session-laws/list`. Omitted when it cannot be read.","example":["act","joint_resolution"],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.instrumentTypes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.instrumentTypes","typeLabel":"string[] | null"},"earliestApprovedDate":{"oneOf":[{"type":"string","title":"Earliestapproveddate","description":"The earliest approval date among this jurisdiction's session laws, ISO 8601: the start of what the approval-date filters on `GET /us/session-laws/list` can match. Omitted when no law prints an approval date or the span cannot be read.","format":"date","example":"2025-02-10","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.earliestApprovedDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Earliestapproveddate","description":"The earliest approval date among this jurisdiction's session laws, ISO 8601: the start of what the approval-date filters on `GET /us/session-laws/list` can match. Omitted when no law prints an approval date or the span cannot be read.","example":"2025-02-10","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.earliestApprovedDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.earliestApprovedDate","typeLabel":"string\u003cdate> | null"},"latestApprovedDate":{"oneOf":[{"type":"string","title":"Latestapproveddate","description":"The latest approval date among this jurisdiction's session laws, ISO 8601: the end of what the approval-date filters on `GET /us/session-laws/list` can match. Omitted when no law prints an approval date or the span cannot be read.","format":"date","example":"2025-06-14","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.latestApprovedDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Latestapproveddate","description":"The latest approval date among this jurisdiction's session laws, ISO 8601: the end of what the approval-date filters on `GET /us/session-laws/list` can match. Omitted when no law prints an approval date or the span cannot be read.","example":"2025-06-14","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.latestApprovedDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0.latestApprovedDate","typeLabel":"string\u003cdate> | null"}},"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.0","typeLabel":"SessionLawJurisdictionCoverage · object"},{"type":"null","description":"State session laws (acts as enacted) held for this jurisdiction, by legislative session, with each session's coverage status (`complete` or `partial`), how many laws we serve, withhold or know without text, the expected total (`denominator`), `openGaps` and when it was `measuredAt`. Beside the sessions it carries the `series` and `instrumentTypes` that exist (the values `GET /us/session-laws/list` accepts) and the span of approval dates held (`earliestApprovedDate`, `latestApprovedDate`); each of those four is omitted when it cannot be read. A separate corpus: read and list the laws with `/us/session-laws`, not `/us/statutes/search`, and resolve their citations with `/us/statutes/resolve`. The whole block is absent when we hold no session laws for the jurisdiction, and whenever session-law coverage cannot be read; absence is a gap in our collection, not a statement that the jurisdiction enacts none.","uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jurisdictions.items.[INDEX].sessionLaws","typeLabel":"SessionLawJurisdictionCoverage · object | null"}},"type":"object","required":["code","name","kind","sectionCount","hasData"],"title":"UsJurisdictionCoverage","description":"One row of the /us/statutes/states response.","uniqueKey":"data.jurisdictions.items.[INDEX]","typeLabel":"UsJurisdictionCoverage · object"},"type":"array","title":"Jurisdictions","description":"One row per jurisdiction (federal first, then states and territories), each carrying its per-corpusType counts in `corpora`.","isRequired":true,"uniqueKey":"data.jurisdictions","typeLabel":"UsJurisdictionCoverage · object[]"},"totalSections":{"type":"integer","title":"Totalsections","description":"Count of distinct sections (one per provision or document) across the corpus. This is the deduplicated legal-document total, not the raw index size; see `totalPassages`.","isRequired":true,"uniqueKey":"data.totalSections","typeLabel":"integer"},"stateCountWithData":{"type":"integer","title":"Statecountwithdata","isRequired":true,"uniqueKey":"data.stateCountWithData","typeLabel":"integer"},"totalPassages":{"type":"integer","title":"Totalpassages","description":"Total indexed retrieval passages across the corpus. Longer sections and documents are split into several passages for retrieval, so this runs well above `totalSections`. The Federal Register (long agency rules) accounts for over half.","default":0,"uniqueKey":"data.totalPassages","typeLabel":"integer"},"proposedCorpora":{"items":{"properties":{"corpusType":{"type":"string","title":"Corpustype","description":"The `corpusType` token to pass to opt in.","examples":["FEDERAL_BILL"],"isRequired":true,"uniqueKey":"data.proposedCorpora.items.[INDEX].corpusType","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"Human label.","examples":["Congressional Bills (proposed)"],"isRequired":true,"uniqueKey":"data.proposedCorpora.items.[INDEX].name","typeLabel":"string"},"held":{"type":"boolean","title":"Held","description":"True when `sectionCount` > 0. False means the token is registered and returns nothing yet.","isRequired":true,"uniqueKey":"data.proposedCorpora.items.[INDEX].held","typeLabel":"boolean"},"note":{"type":"string","title":"Note","description":"What this corpus is, and is not, today.","isRequired":true,"uniqueKey":"data.proposedCorpora.items.[INDEX].note","typeLabel":"string"},"sectionCount":{"type":"integer","title":"Sectioncount","description":"Distinct documents held. Zero while the corpus is registered but not loaded.","default":0,"uniqueKey":"data.proposedCorpora.items.[INDEX].sectionCount","typeLabel":"integer"},"passageCount":{"type":"integer","title":"Passagecount","description":"Indexed retrieval passages held for this corpus.","default":0,"uniqueKey":"data.proposedCorpora.items.[INDEX].passageCount","typeLabel":"integer"},"optInOnly":{"type":"boolean","title":"Optinonly","description":"Always true: never part of an unscoped search, browse or total.","default":true,"uniqueKey":"data.proposedCorpora.items.[INDEX].optInOnly","typeLabel":"boolean"}},"type":"object","required":["corpusType","name","held","note"],"title":"UsProposedCorpusCoverage","description":"One opt-in corpus of PROPOSED text, listed apart from the law in `/us/statutes/coverage`.\n\nA proposal is never counted in `totalSections`, `totalPassages`, `stateCountWithData` or any\njurisdiction's `corpora`, because those figures answer \"how much law do we hold\".","uniqueKey":"data.proposedCorpora.items.[INDEX]","typeLabel":"UsProposedCorpusCoverage · object"},"type":"array","title":"Proposedcorpora","description":"Opt-in corpora of PROPOSED text (Congressional bills), each with its own count. They are deliberately outside `totalSections`, `totalPassages`, `stateCountWithData` and every jurisdiction's `corpora`: a proposal is not law, and those figures count law. Reach one only with `corpusType=\u003ctoken>`.","uniqueKey":"data.proposedCorpora","typeLabel":"UsProposedCorpusCoverage · object[]"},"measuredAt":{"oneOf":[{"type":"string","title":"Measuredat","description":"When these counts were last measured against the index, as the OLDEST per-jurisdiction measurement in this response. This is OUR measurement's age, not the publisher's currency: for what a section is current THROUGH, read `currentThrough` on the section, and for when a source was last checked, read `GET /boards`.\\n\\nIt exists because a jurisdiction whose measurement keeps failing is served from the last value we knew to be correct, which is the right trade (a stale count is accurate, a degraded one reports a real corpus as absent) and used to be indistinguishable from a fresh one. Null means nothing in this response has been successfully measured yet.","uniqueKey":"data.measuredAt.oneOf.0","typeLabel":"string"},{"type":"null","title":"Measuredat","description":"When these counts were last measured against the index, as the OLDEST per-jurisdiction measurement in this response. This is OUR measurement's age, not the publisher's currency: for what a section is current THROUGH, read `currentThrough` on the section, and for when a source was last checked, read `GET /boards`.\\n\\nIt exists because a jurisdiction whose measurement keeps failing is served from the last value we knew to be correct, which is the right trade (a stale count is accurate, a degraded one reports a real corpus as absent) and used to be indistinguishable from a fresh one. Null means nothing in this response has been successfully measured yet.","uniqueKey":"data.measuredAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.measuredAt","typeLabel":"string | null"}},"type":"object","required":["corpusTypes","jurisdictions","totalSections","stateCountWithData"],"title":"UsStatutesCoverageResponse","description":"Response for `GET /us/statutes/coverage`.\n\nA self-describing matrix: a legend of every `corpusType` token plus, for\neach jurisdiction, the per-corpusType ingested-document counts. Use it to learn\nexactly what is queryable where before calling `/us/statutes/search`.","isRequired":true,"uniqueKey":"data","typeLabel":"UsStatutesCoverageResponse · object"},"meta":{"properties":{"processingTimeMs":{"type":"number","title":"Processingtimems","description":"Server-side time to build the response, in milliseconds.","examples":[142.7],"isRequired":true,"uniqueKey":"meta.processingTimeMs","typeLabel":"number"},"creditsConsumed":{"type":"number","title":"Creditsconsumed","description":"Always 0: this endpoint is free.","default":0,"examples":[0],"uniqueKey":"meta.creditsConsumed","typeLabel":"number"}},"type":"object","required":["processingTimeMs"],"title":"UsFreeCallMeta","description":"`meta` on a free discovery endpoint.","isRequired":true,"uniqueKey":"meta","typeLabel":"UsFreeCallMeta · object"}},"type":"object","required":["data","meta"],"title":"UsStatutesCoverageEnvelope","description":"What `GET /us/statutes/coverage` returns: the matrix under `data`.\n\nDeclared because the route used to return a hand-built dict with no\n`response_model`, so its published schema was `{}`. Every field was\ndiscoverable only if the example happened to show it, and the MCP tool and\ngenerated clients built from the document got no types at all for the one\nendpoint that exists to be read before anything else.","uniqueKey":"","typeLabel":"UsStatutesCoverageEnvelope · object"},"example":{"data":{"corpusTypes":[{"token":"USC","description":"United States Code (federal statutes)","scope":"federal","browsable":true},{"token":"REGULATION","description":"State administrative regulations","scope":"state","browsable":true},{"token":"AGENCY_GUIDANCE","description":"Sub-regulatory agency guidance across named sources","scope":"federal","browsable":false,"sourceScopeNotes":{"cms_iom":"Held: the 204 chapter, appendix and exhibit documents CMS publishes across its Medicare Internet-Only Manuals ... Not held, and these are the publisher's own gaps rather than ours: Pub. 100-12 (State Medicaid Manual), Pub. 100-13 (Medicaid CHIP) and Pub. 100-23 (Payment Error Rate Measurement) publish no chapters at all ..."}}],"jurisdictions":[{"code":"federal","name":"Federal (USC + CFR)","kind":"federal","sectionCount":812553,"hasData":true,"corpora":{"CFR":491612,"USC":212042,"FEDERAL_REGISTER":102861,"EXECUTIVE_ACTION":3599,"AGENCY_GUIDANCE":2510,"FEDERAL_RULES":526,"CONSTITUTION":74}},{"code":"wa","name":"Washington","kind":"state","sectionCount":140326,"hasData":true,"corpora":{"STATE":89005,"REGULATION":51142,"STATE_CONSTITUTION":179}}],"totalSections":2937552,"stateCountWithData":49},"meta":{"processingTimeMs":5401.2,"creditsConsumed":0}},"examples":{"Example":{"title":"Example","value":{"data":{"corpusTypes":[{"token":"USC","description":"United States Code (federal statutes)","scope":"federal","browsable":true},{"token":"REGULATION","description":"State administrative regulations","scope":"state","browsable":true},{"token":"AGENCY_GUIDANCE","description":"Sub-regulatory agency guidance across named sources","scope":"federal","browsable":false,"sourceScopeNotes":{"cms_iom":"Held: the 204 chapter, appendix and exhibit documents CMS publishes across its Medicare Internet-Only Manuals ... Not held, and these are the publisher's own gaps rather than ours: Pub. 100-12 (State Medicaid Manual), Pub. 100-13 (Medicaid CHIP) and Pub. 100-23 (Payment Error Rate Measurement) publish no chapters at all ..."}}],"jurisdictions":[{"code":"federal","name":"Federal (USC + CFR)","kind":"federal","sectionCount":812553,"hasData":true,"corpora":{"CFR":491612,"USC":212042,"FEDERAL_REGISTER":102861,"EXECUTIVE_ACTION":3599,"AGENCY_GUIDANCE":2510,"FEDERAL_RULES":526,"CONSTITUTION":74}},{"code":"wa","name":"Washington","kind":"state","sectionCount":140326,"hasData":true,"corpora":{"STATE":89005,"REGULATION":51142,"STATE_CONSTITUTION":179}}],"totalSections":2937552,"stateCountWithData":49},"meta":{"processingTimeMs":5401.2,"creditsConsumed":0}}}},"exampleType":"examples"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"examples"},"7022dee0-0bef-47d3-9efb-2246bb4a0785":{"description":"Missing, invalid or revoked API key.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, resource_gone, bad_gateway, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","resource_gone","bad_gateway","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, resource_gone, bad_gateway, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","resource_gone","bad_gateway","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"RFC 9457 `instance`: the request path that failed. Present on the US case-law routes, whose errors are served as `application/problem+json`.","example":"/api/v1/us/cases/9999999999","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"RFC 9457 `instance`: the request path that failed. Present on the US case-law routes, whose errors are served as `application/problem+json`.","example":"/api/v1/us/cases/9999999999","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requestId","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryable","typeLabel":"boolean | null"},"retryAfterSeconds":{"oneOf":[{"type":"integer","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfterSeconds","typeLabel":"integer | null"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring (on the US case-law routes the body is RFC 9457 `application/problem+json`), e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"instance":"/api/v1/us/cases/9999999999","requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"76f315b9-14a9-4e0f-85f1-ea95dccada5a":{"description":"API key lacks `research:read` scope.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, resource_gone, bad_gateway, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","resource_gone","bad_gateway","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, resource_gone, bad_gateway, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","resource_gone","bad_gateway","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"RFC 9457 `instance`: the request path that failed. Present on the US case-law routes, whose errors are served as `application/problem+json`.","example":"/api/v1/us/cases/9999999999","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"RFC 9457 `instance`: the request path that failed. Present on the US case-law routes, whose errors are served as `application/problem+json`.","example":"/api/v1/us/cases/9999999999","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requestId","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryable","typeLabel":"boolean | null"},"retryAfterSeconds":{"oneOf":[{"type":"integer","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfterSeconds","typeLabel":"integer | null"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring (on the US case-law routes the body is RFC 9457 `application/problem+json`), e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"instance":"/api/v1/us/cases/9999999999","requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"90d6d21b-b251-4953-bef4-db345d4a0460":{"description":"`state` is not a supported jurisdiction. Same validation envelope as the POST routes: code `validation_error`, `errors[].loc` is `query.state`, and the message lists the allowed values.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, resource_gone, bad_gateway, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","resource_gone","bad_gateway","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, resource_gone, bad_gateway, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","resource_gone","bad_gateway","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"RFC 9457 `instance`: the request path that failed. Present on the US case-law routes, whose errors are served as `application/problem+json`.","example":"/api/v1/us/cases/9999999999","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"RFC 9457 `instance`: the request path that failed. Present on the US case-law routes, whose errors are served as `application/problem+json`.","example":"/api/v1/us/cases/9999999999","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requestId","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryable","typeLabel":"boolean | null"},"retryAfterSeconds":{"oneOf":[{"type":"integer","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfterSeconds","typeLabel":"integer | null"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring (on the US case-law routes the body is RFC 9457 `application/problem+json`), e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"instance":"/api/v1/us/cases/9999999999","requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"ebc1f8bd-d036-4ec1-a74b-73e443b20f88":{"description":"Rate limit exceeded.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, resource_gone, bad_gateway, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","resource_gone","bad_gateway","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, resource_gone, bad_gateway, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","resource_gone","bad_gateway","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"RFC 9457 `instance`: the request path that failed. Present on the US case-law routes, whose errors are served as `application/problem+json`.","example":"/api/v1/us/cases/9999999999","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"RFC 9457 `instance`: the request path that failed. Present on the US case-law routes, whose errors are served as `application/problem+json`.","example":"/api/v1/us/cases/9999999999","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requestId","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryable","typeLabel":"boolean | null"},"retryAfterSeconds":{"oneOf":[{"type":"integer","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfterSeconds","typeLabel":"integer | null"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring (on the US case-law routes the body is RFC 9457 `application/problem+json`), e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"instance":"/api/v1/us/cases/9999999999","requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"exampleType":"generated"},"c8c11702-b4fd-4aed-8eb7-56a58a0bc447":{"description":"Internal error (`internal_error`, retryable). Any credits charged for the call are refunded; retry with backoff and quote `requestId` to support if it persists.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, resource_gone, bad_gateway, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","resource_gone","bad_gateway","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, resource_gone, bad_gateway, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","resource_gone","bad_gateway","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer | null"},"instance":{"oneOf":[{"type":"string","title":"Instance","description":"RFC 9457 `instance`: the request path that failed. Present on the US case-law routes, whose errors are served as `application/problem+json`.","example":"/api/v1/us/cases/9999999999","uniqueKey":"instance.oneOf.0","typeLabel":"string"},{"type":"null","title":"Instance","description":"RFC 9457 `instance`: the request path that failed. Present on the US case-law routes, whose errors are served as `application/problem+json`.","example":"/api/v1/us/cases/9999999999","uniqueKey":"instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"instance","typeLabel":"string | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requestId","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryable","typeLabel":"boolean | null"},"retryAfterSeconds":{"oneOf":[{"type":"integer","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfterSeconds","typeLabel":"integer | null"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring (on the US case-law routes the body is RFC 9457 `application/problem+json`), e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"instance":"/api/v1/us/cases/9999999999","requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"}},"security":{"69a26aef-4466-4c40-82fa-c0818ef5d0c8":{"ApiKeyAuth":{"type":"http","scheme":"bearer","bearerFormat":"vq_key_*","description":"API key issued from the developer dashboard. Pass as `Authorization: Bearer vq_key_...` (preferred).","scopes":[],"schemeName":"ApiKeyAuth"}},"354913e8-9ff3-4ff3-9185-be40b423c050":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key","description":"The same API key as a bare header value: `X-API-Key: vq_key_...`. Equivalent to the Bearer form.","scopes":[],"schemeName":"ApiKeyHeader"}}},"servers":{"7da32539-fe15-4da4-b50f-44414abc5612":{"url":"https://api.vaquill.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"vq_key_*","description":"API key issued from the developer dashboard. Pass as `Authorization: Bearer vq_key_...` (preferred).","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key issued from the developer dashboard. Pass as `Authorization: Bearer vq_key_...` (preferred).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"The same API key as a bare header value: `X-API-Key: vq_key_...`. Equivalent to the Bearer form.","scopes":[],"schemeName":"ApiKeyHeader"},"schema":{"title":"X-API-Key","type":"string","description":"The same API key as a bare header value: `X-API-Key: vq_key_...`. Equivalent to the Bearer form.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"X-API-Key"}],"title":"ApiKeyHeader"}]},"originalFileLocation":"https://api.vaquill.ai/external/openapi.json"},"subdomain":"vaquill","siteName":"Vaquill AI","title":"Coverage matrix by jurisdiction and corpusType - Vaquill AI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Self-describing coverage matrix: a legend of every corpusType token (what it contains and whether it is federal or state-scoped) plus, for each jurisdiction, the ingested DOCUMENT counts per corpusType in corpora (one per section or document, not per retrieval passage; totalPassages is the passage count). Read a jurisdiction\u0026#x27;s corpora keys, then pass one as corpusType to /us/statutes/search (with state for state-scoped corpora). A corpusType absent from corpora is not held for that jurisdiction. A legend entry\u0026#x27;s browsable says whether GET /us/statutes/divisions can walk that corpus as a tree. sectionCount counts every provision held, repealed and superseded ones included, so a state\u0026#x27;s GET /us/statutes/divisions browse can total less: browse walks the current code tree and leaves out codes made up only of prior-edition copies. Compare browse with statusBreakdown..inForce, not sectionCount. Congressional bill text (119th Congress) is held as FEDERAL_BILL: proposed text, never law, opt-in only and outside every total; proposedCorpora reports its count. Enacted federal text is under SESSION_LAW and USC. Territories. Beyond the 50 states and DC, five territories are jurisdictions of their own, each with kind: territory: Puerto Rico (pr), Guam (gu), the U.S. Virgin Islands (vi), American Samoa (as) and the Northern Mariana Islands (mp). All five hold statutes, regulations and court rules. Constitutions (STATE_CONSTITUTION) are held for pr, as and mp and not for gu or vi. Attorney general opinions (STATE_AG_OPINION) are held for pr and DC only, and a register (STATE_REGISTER) for mp. Puerto Rico statutes are held in Spanish, as enacted, and resolve by their L.P.R.A. number where that number is printed on the section; the LexisNexis annotated edition (English translation, annotations, index) is not held. This reports what we hold, not how recently it was refreshed. For the age of a source call GET /boards (free): lastRetrievedAt and cadence record when we last CHECKED, not when the law last changed. Where a publisher states its own currency, that rides on each section as currentThrough. Free. Requires an API key and is rate-limited, but costs no credits. State session laws (acts as enacted) are at /us/session-laws. Where we hold any for a jurisdiction, its sessionLaws block lists its sessions (complete or partial), how many laws we serve and withhold (withheldCount, each with a stated reason), the expected total and open gaps, and the series, instrumentTypes and approval-date span that exist (the values GET /us/session-laws/list accepts). A jurisdiction with none has no block. This is the one place session-law coverage is served, so check it before you list.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vaquill AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Coverage matrix by jurisdiction and corpusType - Vaquill AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Self-describing coverage matrix: a legend of every corpusType token (what it contains and whether it is federal or state-scoped) plus, for each jurisdiction, the ingested DOCUMENT counts per corpusType in corpora (one per section or document, not per retrieval passage; totalPassages is the passage count). Read a jurisdiction\u0026#x27;s corpora keys, then pass one as corpusType to /us/statutes/search (with state for state-scoped corpora). A corpusType absent from corpora is not held for that jurisdiction. A legend entry\u0026#x27;s browsable says whether GET /us/statutes/divisions can walk that corpus as a tree. sectionCount counts every provision held, repealed and superseded ones included, so a state\u0026#x27;s GET /us/statutes/divisions browse can total less: browse walks the current code tree and leaves out codes made up only of prior-edition copies. Compare browse with statusBreakdown..inForce, not sectionCount. Congressional bill text (119th Congress) is held as FEDERAL_BILL: proposed text, never law, opt-in only and outside every total; proposedCorpora reports its count. Enacted federal text is under SESSION_LAW and USC. Territories. Beyond the 50 states and DC, five territories are jurisdictions of their own, each with kind: territory: Puerto Rico (pr), Guam (gu), the U.S. Virgin Islands (vi), American Samoa (as) and the Northern Mariana Islands (mp). All five hold statutes, regulations and court rules. Constitutions (STATE_CONSTITUTION) are held for pr, as and mp and not for gu or vi. Attorney general opinions (STATE_AG_OPINION) are held for pr and DC only, and a register (STATE_REGISTER) for mp. Puerto Rico statutes are held in Spanish, as enacted, and resolve by their L.P.R.A. number where that number is printed on the section; the LexisNexis annotated edition (English translation, annotations, index) is not held. This reports what we hold, not how recently it was refreshed. For the age of a source call GET /boards (free): lastRetrievedAt and cadence record when we last CHECKED, not when the law last changed. Where a publisher states its own currency, that rides on each section as currentThrough. Free. Requires an API key and is rate-limited, but costs no credits. State session laws (acts as enacted) are at /us/session-laws. Where we hold any for a jurisdiction, its sessionLaws block lists its sessions (complete or partial), how many laws we serve and withhold (withheldCount, each with a stated reason), the expected total and open gaps, and the series, instrumentTypes and approval-date span that exist (the values GET /us/session-laws/list accepts). A jurisdiction with none has no block. This is the one place session-law coverage is served, so check it before you list.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vaquill AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.vaquill.ai/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vaquill.mintlify.site/docs/_mintlify/api/og/v2?division=US+Statutes\u0026amp;title=Coverage+matrix+by+jurisdiction+and+corpusType\u0026amp;description=Self-describing+coverage+matrix%3A+a+legend+of+every+%60corpusType%60+token+%28what+it+contains+and+whether+it+is+federal+or+state-scoped%29+plus%2C+for+each+jurisdiction%2C+\u0026amp;theme=4f8ca970eaa5a0775e273f11\u0026amp;signature=7ea119457f0d0ab19953413a220a7ed61f2d064421306811b528c45714cbc8b8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Coverage matrix by jurisdiction and corpusType - Vaquill AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Self-describing coverage matrix: a legend of every corpusType token (what it contains and whether it is federal or state-scoped) plus, for each jurisdiction, the ingested DOCUMENT counts per corpusType in corpora (one per section or document, not per retrieval passage; totalPassages is the passage count). Read a jurisdiction\u0026#x27;s corpora keys, then pass one as corpusType to /us/statutes/search (with state for state-scoped corpora). A corpusType absent from corpora is not held for that jurisdiction. A legend entry\u0026#x27;s browsable says whether GET /us/statutes/divisions can walk that corpus as a tree. sectionCount counts every provision held, repealed and superseded ones included, so a state\u0026#x27;s GET /us/statutes/divisions browse can total less: browse walks the current code tree and leaves out codes made up only of prior-edition copies. Compare browse with statusBreakdown..inForce, not sectionCount. Congressional bill text (119th Congress) is held as FEDERAL_BILL: proposed text, never law, opt-in only and outside every total; proposedCorpora reports its count. Enacted federal text is under SESSION_LAW and USC. Territories. Beyond the 50 states and DC, five territories are jurisdictions of their own, each with kind: territory: Puerto Rico (pr), Guam (gu), the U.S. Virgin Islands (vi), American Samoa (as) and the Northern Mariana Islands (mp). All five hold statutes, regulations and court rules. Constitutions (STATE_CONSTITUTION) are held for pr, as and mp and not for gu or vi. Attorney general opinions (STATE_AG_OPINION) are held for pr and DC only, and a register (STATE_REGISTER) for mp. Puerto Rico statutes are held in Spanish, as enacted, and resolve by their L.P.R.A. number where that number is printed on the section; the LexisNexis annotated edition (English translation, annotations, index) is not held. This reports what we hold, not how recently it was refreshed. For the age of a source call GET /boards (free): lastRetrievedAt and cadence record when we last CHECKED, not when the law last changed. Where a publisher states its own currency, that rides on each section as currentThrough. Free. Requires an API key and is rate-limited, but costs no credits. State session laws (acts as enacted) are at /us/session-laws. Where we hold any for a jurisdiction, its sessionLaws block lists its sessions (complete or partial), how many laws we serve and withhold (withheldCount, each with a stated reason), the expected total and open gaps, and the series, instrumentTypes and approval-date span that exist (the values GET /us/session-laws/list accepts). A jurisdiction with none has no block. This is the one place session-law coverage is served, so check it before you list.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vaquill.mintlify.site/docs/_mintlify/api/og/v2?division=US+Statutes\u0026amp;title=Coverage+matrix+by+jurisdiction+and+corpusType\u0026amp;description=Self-describing+coverage+matrix%3A+a+legend+of+every+%60corpusType%60+token+%28what+it+contains+and+whether+it+is+federal+or+state-scoped%29+plus%2C+for+each+jurisdiction%2C+\u0026amp;theme=4f8ca970eaa5a0775e273f11\u0026amp;signature=7ea119457f0d0ab19953413a220a7ed61f2d064421306811b528c45714cbc8b8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vaquill AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6E3730\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.vaquill.ai/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.vaquill.ai/#organization\",\"name\":\"Vaquill AI\",\"url\":\"https://www.vaquill.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vaquill/HoYf91pjRoTl4-t3/logo/light.png?fit=max\u0026auto=format\u0026n=HoYf91pjRoTl4-t3\u0026q=85\u0026s=1c97b6018caaa1fee0a743b05651bb81\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.vaquill.ai/docs#website\",\"name\":\"Vaquill AI\",\"url\":\"https://www.vaquill.ai/docs\",\"publisher\":{\"@id\":\"https://www.vaquill.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype#webpage\",\"url\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype\",\"name\":\"Coverage matrix by jurisdiction and corpusType\",\"description\":\"Self-describing coverage matrix: a legend of every corpusType token (what it contains and whether it is federal or state-scoped) plus, for each jurisdiction, the ingested DOCUMENT counts per corpusType in corpora (one per section or document, not per retrieval passage; totalPassages is the passage count). Read a jurisdiction's corpora keys, then pass one as corpusType to /us/statutes/search (with state for state-scoped corpora). A corpusType absent from corpora is not held for that jurisdiction. A legend entry's browsable says whether GET /us/statutes/divisions can walk that corpus as a tree. sectionCount counts every provision held, repealed and superseded ones included, so a state's GET /us/statutes/divisions browse can total less: browse walks the current code tree and leaves out codes made up only of prior-edition copies. Compare browse with statusBreakdown..inForce, not sectionCount. Congressional bill text (119th Congress) is held as FEDERAL_BILL: proposed text, never law, opt-in only and outside every total; proposedCorpora reports its count. Enacted federal text is under SESSION_LAW and USC. Territories. Beyond the 50 states and DC, five territories are jurisdictions of their own, each with kind: territory: Puerto Rico (pr), Guam (gu), the U.S. Virgin Islands (vi), American Samoa (as) and the Northern Mariana Islands (mp). All five hold statutes, regulations and court rules. Constitutions (STATE_CONSTITUTION) are held for pr, as and mp and not for gu or vi. Attorney general opinions (STATE_AG_OPINION) are held for pr and DC only, and a register (STATE_REGISTER) for mp. Puerto Rico statutes are held in Spanish, as enacted, and resolve by their L.P.R.A. number where that number is printed on the section; the LexisNexis annotated edition (English translation, annotations, index) is not held. This reports what we hold, not how recently it was refreshed. For the age of a source call GET /boards (free): lastRetrievedAt and cadence record when we last CHECKED, not when the law last changed. Where a publisher states its own currency, that rides on each section as currentThrough. Free. Requires an API key and is rate-limited, but costs no credits. State session laws (acts as enacted) are at /us/session-laws. Where we hold any for a jurisdiction, its sessionLaws block lists its sessions (complete or partial), how many laws we serve and withhold (withheldCount, each with a stated reason), the expected total and open gaps, and the series, instrumentTypes and approval-date span that exist (the values GET /us/session-laws/list accepts). A jurisdiction with none has no block. This is the one place session-law coverage is served, so check it before you list.\",\"isPartOf\":{\"@id\":\"https://www.vaquill.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"US Statutes\",\"item\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/search-us-statutes-constitutions-court-rules-and-executive-actions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Coverage matrix by jurisdiction and corpusType\",\"item\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype#apireference\",\"headline\":\"Coverage matrix by jurisdiction and corpusType\",\"name\":\"Coverage matrix by jurisdiction and corpusType\",\"description\":\"Self-describing coverage matrix: a legend of every corpusType token (what it contains and whether it is federal or state-scoped) plus, for each jurisdiction, the ingested DOCUMENT counts per corpusType in corpora (one per section or document, not per retrieval passage; totalPassages is the passage count). Read a jurisdiction's corpora keys, then pass one as corpusType to /us/statutes/search (with state for state-scoped corpora). A corpusType absent from corpora is not held for that jurisdiction. A legend entry's browsable says whether GET /us/statutes/divisions can walk that corpus as a tree. sectionCount counts every provision held, repealed and superseded ones included, so a state's GET /us/statutes/divisions browse can total less: browse walks the current code tree and leaves out codes made up only of prior-edition copies. Compare browse with statusBreakdown..inForce, not sectionCount. Congressional bill text (119th Congress) is held as FEDERAL_BILL: proposed text, never law, opt-in only and outside every total; proposedCorpora reports its count. Enacted federal text is under SESSION_LAW and USC. Territories. Beyond the 50 states and DC, five territories are jurisdictions of their own, each with kind: territory: Puerto Rico (pr), Guam (gu), the U.S. Virgin Islands (vi), American Samoa (as) and the Northern Mariana Islands (mp). All five hold statutes, regulations and court rules. Constitutions (STATE_CONSTITUTION) are held for pr, as and mp and not for gu or vi. Attorney general opinions (STATE_AG_OPINION) are held for pr and DC only, and a register (STATE_REGISTER) for mp. Puerto Rico statutes are held in Spanish, as enacted, and resolve by their L.P.R.A. number where that number is printed on the section; the LexisNexis annotated edition (English translation, annotations, index) is not held. This reports what we hold, not how recently it was refreshed. For the age of a source call GET /boards (free): lastRetrievedAt and cadence record when we last CHECKED, not when the law last changed. Where a publisher states its own currency, that rides on each section as currentThrough. Free. Requires an API key and is rate-limited, but costs no credits. State session laws (acts as enacted) are at /us/session-laws. Where we hold any for a jurisdiction, its sessionLaws block lists its sessions (complete or partial), how many laws we serve and withhold (withheldCount, each with a stated reason), the expected total and open gaps, and the series, instrumentTypes and approval-date span that exist (the values GET /us/session-laws/list accepts). A jurisdiction with none has no block. This is the one place session-law coverage is served, so check it before you list.\",\"url\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype\",\"mainEntityOfPage\":{\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype#webpage\"},\"publisher\":{\"@id\":\"https://www.vaquill.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://www.vaquill.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vaquill AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Vaquill AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype.md","siteName":"Vaquill AI","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock","href":"/api-guide/changelog"},{"anchor":"MCP","icon":"plug","href":"/integrations/mcp/vaquill"}]},"tabs":[{"tab":"Guide","pages":[{"title":"Guide","href":"/api-guide/coverage"}]},{"tab":"US API reference","groups":[{"group":"US Statutes","pages":[{"title":"Search US statutes, constitutions, court rules, and executive actions","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/statutes/search","href":"/api-reference/us-statutes/search-us-statutes-constitutions-court-rules-and-executive-actions"},{"title":"Get statute section metadata","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}","href":"/api-reference/us-statutes/get-statute-section-metadata"},{"title":"Resolve a citation to its section","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/resolve","href":"/api-reference/us-statutes/resolve-a-citation-to-its-section"},{"title":"Resolve many citations at once","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/statutes/resolve","href":"/api-reference/us-statutes/resolve-many-citations-at-once"},{"title":"Get the sections around this one","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/related","href":"/api-reference/us-statutes/get-the-sections-around-this-one"},{"title":"Get metadata for many statute sections","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/statutes/sections","href":"/api-reference/us-statutes/get-metadata-for-many-statute-sections"},{"title":"Get statute full text","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/body","href":"/api-reference/us-statutes/get-statute-full-text"},{"title":"Count the sections in a scope","description":"How many sections sit in a jurisdiction, corpus, code, title, chapter, part,\narticle or federal rule set. The scoping filters (`code`, `article`, `chapter`,\n`part`) take the same values and pairing rules as on `/us/statutes/search`.\n\n**Cost**: 1 credit. A scope that matches nothing is refunded, because an empty\nanswer here is usually a wrong filter rather than a finding.\n\nUse it to size a job before you run it. Walking a container with\n`/us/statutes/divisions` and hydrating what you find is cheap per call and adds\nup across a whole corpus, so this is the call that tells you what you are about\nto spend before you spend it.\n\n**A natural-language `query` is refused, on purpose.** Search ranks it over a\nbounded window, so \"how many sections match this question\" has no answer beyond\nthe size of that window. Without a `query` this counts a SCOPE, which is exact.\nPair the two: count the scope here, enumerate it with `/us/statutes/divisions`,\nthen rank within it using `/us/statutes/search`.\n\n**Boolean counts.** With `matchType: \"boolean\"` and a terms-and-connectors\n`query` (the syntax of `/us/statutes/search`), this counts the sections that\nsatisfy the expression within the scope, the same figure a Boolean search\nreports as `totalMatches`. `isExact: false` marks an upper bound: the expression\nuses an operator the index cannot judge exactly (phrases, `/s`, `/p`, proximity,\n`atleastN`, wildcards inside proximity) or a filter it does not apply (anything\nbeyond `corpusType`, `state`, `actStatus` and `excludeRepealed`). Same price; a\nmalformed expression is a 422 and is not charged.\n\nThe figure counts SECTIONS. Long sections are stored as several passages and are\ncounted once.\n\n**What an unscoped count leaves out.** With no `corpusType`, past editions\n(annual CFR printings) and proposals (bills) are not counted, exactly as in\n`/us/statutes/search` and `/us/statutes/coverage`; the echo lists them under\n`excludedCategories`. Name one in `corpusType` to count it.\n\n**Agreement with `/us/statutes/divisions`.** The browse counts distinct sections, so\na section re-ingested additively (a superseded and a current copy under one id) is\none section there. A scope of up to 4,000 sections is counted the same way\n(`scope.countBasis` is `distinctActIds`), so the children's `sectionCount` values sum\nto this figure. A larger scope reports `countBasis: \"sectionPoints\"` with\n`scope.supersededSectionPoints`, the number of superseded copies in it.\n\n**Large scopes can differ by a few sections.** `countBasis: \"sectionPoints\"` counts\nstored section records, so a section stored twice under one id counts twice, and\n`/us/statutes/coverage` (distinct sections, re-measured out of band and cached) and the\nsum of `/us/statutes/divisions` children (distinct per container, cached) count it once.\nAny difference is a handful of sections, and it is zero when you narrow the scope to 4,000\nsections or fewer. The two cached figures can also trail a corpus update until their cache refreshes.\n`supersededSectionPoints` reports superseded copies only, not every duplicate,\nso it is not a bound on this difference.","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/statutes/count","href":"/api-reference/us-statutes/count-the-sections-in-a-scope"},{"title":"Coverage matrix by jurisdiction and corpusType","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/coverage","href":"/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype"},{"title":"List every source we hold, with its legal authority","description":"Every source in the corpus in one call: its key, display name, issuing agency or publisher, `corpusType`, `category`, legal `authority` and whether it is `binding`, a description, the publisher's host and the number of documents held.\n\n`authority` says what KIND of text a source is (`statute`, `regulation`, `court_rule`, `adjudication`, `guidance`, `manual`, `analysis`, `standard` and so on) and `binding` says whether that text is itself law: `true` for statutes and regulations, `false` for guidance, manuals and analysis, `null` when it depends (adjudications, historical editions, NIST standards). The same two fields ride on every search result, section and body, and `authority` is a search filter, so a caller who wants law and no commentary can ask for it.\n\n`sourceFilter` is the value to pass as `source` on `/us/statutes/search`; a whole body of law (`usc`, `state_statute`) has none and is reached with `corpusType`. `documentCount` comes from the counts `/us/statutes/coverage` already measures, summed over every jurisdiction. It is approximate, and null until the first measurement has finished (`countsMeasured` says which) and for the Federal Rules sets, FAR and DFARS, which share a parent's category.\n\nFree: authenticated and rate-limited, never charged.","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/sources","href":"/api-reference/us-statutes/list-every-source-we-hold-with-its-legal-authority"},{"title":"Browse the statutory hierarchy","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/divisions","href":"/api-reference/us-statutes/browse-the-statutory-hierarchy"},{"title":"Get this section's change history","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/changes","href":"/api-reference/us-statutes/get-this-sections-change-history"},{"title":"Which acts a state publisher lists against this section","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/enactments","href":"/api-reference/us-statutes/which-acts-a-state-publisher-lists-against-this-section"},{"title":"Get the Federal Register documents behind a CFR section","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/rulemaking","href":"/api-reference/us-statutes/get-the-federal-register-documents-behind-a-cfr-section"},{"title":"Get every Federal Register document for a CFR part","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/part/{title}/{part}/rulemaking","href":"/api-reference/us-statutes/get-every-federal-register-document-for-a-cfr-part"},{"title":"Find the citations in a text and resolve each","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/statutes/extract-citations","href":"/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each"},{"title":"Find the sections that cite this one","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/cited-by","href":"/api-reference/us-statutes/find-the-sections-that-cite-this-one"},{"title":"Get the defined terms that govern this section","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/definitions","href":"/api-reference/us-statutes/get-the-defined-terms-that-govern-this-section"},{"title":"Compare this provision against other states","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/cross-state","href":"/api-reference/us-statutes/compare-this-provision-against-other-states"},{"title":"Everything about one section in one call","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/dossier","href":"/api-reference/us-statutes/everything-about-one-section-in-one-call"}]},{"group":"Pricing","pages":[{"title":"Get API credit pricing","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/api-credits/pricing","href":"/api-reference/pricing/get-api-credit-pricing"}]},{"group":"Board Watches","pages":[{"title":"List watchable boards","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/boards","href":"/api-reference/board-watches/list-watchable-boards"},{"title":"List your board watches","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/watches","href":"/api-reference/board-watches/list-your-board-watches"},{"title":"Create a board watch","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/watches","href":"/api-reference/board-watches/create-a-board-watch"},{"title":"Send a test delivery","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/watches/{watch_id}/test","href":"/api-reference/board-watches/send-a-test-delivery"},{"title":"Delete a board watch","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json delete /api/v1/watches/{watch_id}","href":"/api-reference/board-watches/delete-a-board-watch"},{"title":"Update a board watch","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json patch /api/v1/watches/{watch_id}","href":"/api-reference/board-watches/update-a-board-watch"},{"title":"List what changed on a watch's source","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/watches/{watch_id}/changes","href":"/api-reference/board-watches/list-what-changed-on-a-watchs-source"},{"title":"Old-vs-new text for one change","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/watches/{watch_id}/changes/{change_id}/diff","href":"/api-reference/board-watches/old-vs-new-text-for-one-change"},{"title":"List delivery history for a watch","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/watches/{watch_id}/deliveries","href":"/api-reference/board-watches/list-delivery-history-for-a-watch"},{"title":"Law change alert","version":null,"deprecated":null,"openapi":"https://api.vaquill.ai/external/openapi.json webhook board.updated","href":"/api-reference/board-watches/law-change-alert"},{"title":"Webhook test delivery","version":null,"deprecated":null,"openapi":"https://api.vaquill.ai/external/openapi.json webhook board.test","href":"/api-reference/board-watches/webhook-test-delivery"}]},{"group":"Credits","pages":[{"title":"Get your credit balance","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/credits/balance","href":"/api-reference/credits/get-your-credit-balance"}]},{"group":"Agent Onboarding","pages":[{"title":"Start an agent signup and get a trial key","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/agent/signup","href":"/api-reference/agent-onboarding/start-an-agent-signup-and-get-a-trial-key"},{"title":"Check whether the email is verified","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/agent/token","href":"/api-reference/agent-onboarding/check-whether-the-email-is-verified"},{"title":"Verify the emailed code and keep the key","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/agent/verify","href":"/api-reference/agent-onboarding/verify-the-emailed-code-and-keep-the-key"}]},{"group":"US Session Laws","pages":[{"title":"Feed of changes to the session-law registry","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/changes","href":"/api-reference/us-session-laws/feed-of-changes-to-the-session-law-registry"},{"title":"Get many state session laws at once, by id or citation","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/session-laws/batch","href":"/api-reference/us-session-laws/get-many-state-session-laws-at-once-by-id-or-citation"},{"title":"Search the text of state session laws","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/session-laws/search","href":"/api-reference/us-session-laws/search-the-text-of-state-session-laws"},{"title":"List every served version of a state session law","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/{session_law_id}/versions","href":"/api-reference/us-session-laws/list-every-served-version-of-a-state-session-law"},{"title":"List a state's session laws","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/list","href":"/api-reference/us-session-laws/list-a-states-session-laws"},{"title":"Get a state session law's text, current or a past version","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/{session_law_id}/body","href":"/api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version"},{"title":"Get a state session law, by id or by citation","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/{session_law_id}","href":"/api-reference/us-session-laws/get-a-state-session-law-by-id-or-by-citation"}]},{"group":"US Case Law","pages":[{"title":"Search US court opinions","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/cases/search","href":"/api-reference/us-case-law/search-us-court-opinions"},{"title":"Resolve citations to cases","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/cases/resolve","href":"/api-reference/us-case-law/resolve-citations-to-cases"},{"title":"Get several US court decisions","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/cases/batch","href":"/api-reference/us-case-law/get-several-us-court-decisions"},{"title":"Cases added or changed since a moment","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/cases/changes","href":"/api-reference/us-case-law/cases-added-or-changed-since-a-moment"},{"title":"List US court decisions","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/cases/list","href":"/api-reference/us-case-law/list-us-court-decisions"},{"title":"Get a US court decision","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/cases/{case_id}","href":"/api-reference/us-case-law/get-a-us-court-decision"},{"title":"Case citations, in either direction","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/cases/{case_id}/citations","href":"/api-reference/us-case-law/case-citations-in-either-direction"},{"title":"Parentheticals describing a decision","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/cases/{case_id}/parentheticals","href":"/api-reference/us-case-law/parentheticals-describing-a-decision"},{"title":"Get the text of an opinion","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/opinions/{opinion_id}","href":"/api-reference/us-case-law/get-the-text-of-an-opinion"},{"title":"Get the text of several opinions","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/opinions/batch","href":"/api-reference/us-case-law/get-the-text-of-several-opinions"},{"title":"Opinion citations, in either direction","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/opinions/{opinion_id}/citations","href":"/api-reference/us-case-law/opinion-citations-in-either-direction"},{"title":"List US courts","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/courts","href":"/api-reference/us-case-law/list-us-courts"},{"title":"Get a US court","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/courts/{court_id}","href":"/api-reference/us-case-law/get-a-us-court"},{"title":"List and search judges","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/judges","href":"/api-reference/us-case-law/list-and-search-judges"},{"title":"Get a judge","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/judges/{judge_id}","href":"/api-reference/us-case-law/get-a-judge"},{"title":"List and search dockets","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/dockets/list","href":"/api-reference/us-case-law/list-and-search-dockets"},{"title":"Get a docket","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/dockets/{docket_id}","href":"/api-reference/us-case-law/get-a-docket"},{"title":"List oral arguments","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/oral-arguments/list","href":"/api-reference/us-case-law/list-oral-arguments"},{"title":"Get an oral argument","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/oral-arguments/{argument_id}","href":"/api-reference/us-case-law/get-an-oral-argument"},{"title":"List a judge's financial disclosures","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/judges/{judge_id}/disclosures","href":"/api-reference/us-case-law/list-a-judges-financial-disclosures"},{"title":"Statutes cited by a case","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/cases/{case_id}/statutes","href":"/api-reference/us-case-law/statutes-cited-by-a-case"}]},{"group":"US Rulemaking","pages":[{"title":"What the rulemaking store holds (free)","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/coverage","href":"/api-reference/us-rulemaking/what-the-rulemaking-store-holds-free"},{"title":"List and filter Regulations.gov dockets","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/dockets/list","href":"/api-reference/us-rulemaking/list-and-filter-regulationsgov-dockets"},{"title":"One Regulations.gov docket","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/dockets/{docket_id}","href":"/api-reference/us-rulemaking/one-regulationsgov-docket"},{"title":"Documents of one docket, oldest first","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/dockets/{docket_id}/documents","href":"/api-reference/us-rulemaking/documents-of-one-docket-oldest-first"},{"title":"Everything we hold for one RIN","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/rins/{rin}","href":"/api-reference/us-rulemaking/everything-we-hold-for-one-rin"},{"title":"Unified Agenda history of one RIN","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/rins/{rin}/agenda","href":"/api-reference/us-rulemaking/unified-agenda-history-of-one-rin"},{"title":"List and filter Rules Committee records","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/committee-records/list","href":"/api-reference/us-rulemaking/list-and-filter-rules-committee-records"},{"title":"One Rules Committee record with its page text","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/committee-records/{record_id}","href":"/api-reference/us-rulemaking/one-rules-committee-record-with-its-page-text"}]},{"group":"US State Registers","pages":[{"title":"What the register store holds (free)","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/registers/coverage","href":"/api-reference/us-state-registers/what-the-register-store-holds-free"},{"title":"Agencies of one state register (free)","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/registers/{state}/agencies","href":"/api-reference/us-state-registers/agencies-of-one-state-register-free"},{"title":"Issues of one state register (free)","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/registers/{state}/issues","href":"/api-reference/us-state-registers/issues-of-one-state-register-free"},{"title":"Search state register notices","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/registers/search","href":"/api-reference/us-state-registers/search-state-register-notices"},{"title":"Read one state register item","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/registers/items/{actId}","href":"/api-reference/us-state-registers/read-one-state-register-item"}]},{"group":"US Local Law","pages":[{"title":"List US local-law places, codes and outlines","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/local-law/places","href":"/api-reference/us-local-law/list-us-local-law-places-codes-and-outlines"},{"title":"Search US local law","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/local-law/search","href":"/api-reference/us-local-law/search-us-local-law"},{"title":"Get US local-law sections by id","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/local-law/sections","href":"/api-reference/us-local-law/get-us-local-law-sections-by-id"}]}]},{"tab":"India API reference","pages":[{"title":"India API reference","href":"/api-guide/coverage/india"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]}]},"basePath":"","title":"Coverage matrix by jurisdiction and corpusType - Vaquill AI","deploymentId":"dpl_BsHU5ynwUyfZMwoLvGC66duJuw65","buildId":"dpl_BsHU5ynwUyfZMwoLvGC66duJuw65","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8ktwDU8.js","snippetPresets-T_OU6iFp.js","utils-ZwMhYBEy.js","style-to-object-BY3JEAdk.js","utils-Bkq2iFgu.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-BL9fiH8n.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CmgCbVBT.js","_Uint8Array-Ai_0D4xE.js","isObject-FP1Yky1u.js","ApiExamples-DFGM09p_.js","usePlaygroundInputsStore-DkwJlKUE.js","shallow-BHRrfnLS.js","isEqual-BJ_QXy06.js","CodeSnippets-DIweseYm.js","CodeSnippet-8p36p4M7.js","use-playground-group-access-B8gEWau8.js","Page-Wf3pSVXf.js","api-description-markdown-BmnQ9fAd.js","DynamicMarkdown-BYqxB8Iw.js","SectionHeading-D-hNGwRE.js","MethodPill-CLLk3435.js","getPastedJson-CniQ58Cw.js","Check2Icon-C_Ntbivk.js","axios-CsQoIw0U.js","Markdown-DiXm32Ac.js","AssistantPageLink-C28i5dBV.js","dist-B9NA4YFQ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}