Every version of one STATE session law that we served or adopted, newest first, and which of them is
current. The text of a law can be corrected after we first serve it (a better extraction of the same
source, a re-collection), and the version you read yesterday is then not the one a plain call returns
today. This route lists the versions with what identifies each (when we recorded it, its length, its
hash, how the text was taken) and how its text can be read. It carries no text: read one versionโs text
with GET /us/session-laws/{sessionLawId}/body?version=N.
Cost: 1 credit per call, however many versions the law has. A law with a single version
answers a list of one and is charged: โthis law has never changedโ is the answer you paid for. Reading
a versionโs text is a separate call at the body price (6 credits per page), the same price as
reading the current text. A request that fails validation (422) is never charged; a law that is not
found (404) is never charged; a failure on our side (500, 503) is refunded.
Id only. This route takes a sessionLawId, not a citation: resolve a citation once with
GET /us/session-laws/{sessionLawId} and use the id it returns. A federal id (SAL_...) is a 404
(federal_session_law), as on /body.
What a version says.version is the number to send as version on /body. Numbers can have gaps:
a version we recorded and never served or adopted is not listed. Exactly one listed version has
isCurrent: true, and currentVersion repeats its number: it is the text a plain /body call serves.
recordedAt dates OUR copy of the text, never the act (see approvedDate on the law for that).
totalChars and textSha256 identify the text: two versions with the same hash have the same text, and
only the record around it changed. citation, title and approvedDate are as that version recorded
them, so a correction that fixed a title shows here.
How a versionโs text can be read.textAccess says what reading it takes. served: a plain call to
/body?version=N reads it. includeUnverified: the law is held back (textStatus: withheld) and this
text is readable only with includeUnverified=true, labelled by textReliability and reasonCode so
you know it may show deleted or vetoed law as if it were enacted. none: there is no text to read for
this version, or the lawโs text may not be published (a licence that bars use, or text that failed our
own validation). The law-level textStatus, textReliability and reasonCode are the same fields, and
mean the same, as on /body. textReliability is omitted when no text of the law may be read, and
reasonCode when the law is served and verified.
Reading an older version. Send version=N to /body. The page, its nextCursor and textSha256
belong to that versionโs text, so a cursor from one version is a 409 on another. To check that nothing
changed under you, compare textSha256 here with the one you read.
Example
curl "https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions" \ -H "Authorization: Bearer $VAQUILL_API_KEY"# then read the first version's text, one page at the body pricecurl "https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?version=1" \ -H "Authorization: Bearer $VAQUILL_API_KEY"
GET /us/session-laws/{sessionLawId}/body reads the text of the current version, or of the one you
name with version. It also takes includeUnverified=true for a law we hold back.
GET /us/session-laws/{sessionLawId} is the lawโs record (dates, sources, code sections affected,
whether its text is held); it always describes the current version.
GET /us/session-laws/changes is the registryโs change feed: a corrected entry there is how you
learn that a copy of a law you hold may be stale, and this route is where you see what changed.
GET /us/statutes/coverage says which sessions we hold and how complete each is, under each
jurisdictionโs sessionLaws block.
Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read them with
GET /us/statutes/section/{actId}.
Nulls. A field of a version with no value (citation, title, approvedDate, totalChars,
textSha256, textMethod, amendatoryMarkup, markupConvention) is null. textReliability and
reasonCode on the law are the exception: they are OMITTED when they do not apply, never null. The
examples on this page leave the nulls out for brevity.
Rate limits. Calls count against your keyโs per-minute budget like every Data API route; a 429
carries Retry-After.
Optional. 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and the same request replays the original 2xx response for 24 hours without charging again. The same key with a different request is rejected. Scope is the API key, method, path and body. The stored response body is a query-derived cache controlled by the account's data retention setting cacheQueryDerivedData: when it is false the body is never stored and a retry answers 409 idempotency_replay_unavailable, without charging again.
A STATE session law's id, for example SSL_MN_2025S1_G_Y2025_C1, from a /us/session-laws/list result.
A citation also works here on GET /us/session-laws/{sessionLawId}, and resolvedFrom says what your input matched. Name the state in the citation: Minn. Laws 2025, ch. 1, 2025 Minn. Laws ch. 1, Ch. 1, Laws of Minnesota 2025, Ch. 2025-12, Laws of Fla., 2025 Wash. Sess. Laws ch. 12, La. Acts 2025, No. 12, Pa. Act 12 of 2025, Minn. S.F. 1552 (2025), MN: Laws 2025, ch. 1. A form only one state uses needs no state: P.A. 104-0001 (Illinois), Pub. Act No. 26-151 (Connecticut), S.L. 2025-12 (North Carolina), Stats. 2025, ch. 12 (California), D.C. Law 25-713. The publisher's printed form (CHAPTER 2025-12, S.F.No. 1552) and the citation we print on every law also work. A form several states share (Laws 2025, ch. 1, HB 123, Act 12 of 2025) is a 404 with reason: needs_jurisdiction, the states it exists in and one candidate per state: we never guess the state. A citation naming several laws of one state (Minnesota 2025 has two Chapter 1s) is a 404 listing all of them, candidateCount and truncated saying whether the list is complete, and defaultSessionLawId the regular session's law where there is exactly one conventional reading. An id or citation that matches nothing in a session we have only partly collected is a 404 with reason: session_not_fully_collected and that session's coverage: the law may exist and not be held yet, so it is never charged, the resolve price included. A citation costs the route's price PLUS the /us/statutes/resolve price (2 credits), the second kept whether or not it resolves (an unresolved or ambiguous citation is a charged verdict) and refunded only on a partly collected session or a failure. URL-encode the citation; one containing / cannot travel in a path segment.
Federal session laws (SAL_..., Pub. L. 118-5, the Statutes at Large) are served by /us/statutes/section, not here, and code citations (26 U.S.C. ยง 1) by /us/statutes/resolve.
Required string length: 1 - 300
Example:
"SSL_MN_2025S1_G_Y2025_C1"
Response
The law's versions, newest first, exactly one of them current. A law with a single version answers a list of one, which is charged.
Response for GET /us/session-laws/{sessionLawId}/versions.
Whether we serve this law's text. held: the text is served by /us/session-laws/{sessionLawId}/body. withheld: we hold the text but a measured defect keeps it from being served, and withheldReason says what. not_held: we know the act exists and do not hold its text. pending: collected and not yet verified.
Credits actually charged for this call, never the list price. It includes the /us/statutes/resolve fee when a citation was sent where an id goes. 0 when the call was not charged or was refunded (a body that answers available: false).
How far to trust the CURRENT text of this law, the same field as on /body: verified when the text passed our strike-through check, unverified when that check has not been completed, known_issue when we have evidence the text shows deleted law as if enacted. A served law can be any of the three (its text is still served); a held-back law is unverified or known_issue and its text is read with includeUnverified=true. Omitted when no text of this law may be read.
The version that is current. Null only when no version is current, which a served law never is.
Example:
2
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Vaquill AI","description":"US primary law as a developer API. The US Code, the CFR, the Federal Register, state and territory statute codes, state regulations, constitutions and court rules, with Bluebook citation resolution and point-in-time retrieval over REST, MCP and SQL.","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://vaquill.ai/about"},{"label":"Contact","href":"https://vaquill.ai/contact"},{"label":"Data Sources \u0026 Credits","href":"https://vaquill.ai/partners"},{"label":"Blog","href":"https://vaquill.ai/blog"},{"label":"Engineering","href":"https://vaquill.ai/engineering"}]},{"header":"Developers","items":[{"label":"Data API","href":"https://vaquill.ai/legal-api"},{"label":"MCP Servers","href":"https://vaquill.ai/mcp"},{"label":"API Reference","href":"/api-reference/us-statutes/search-us-statutes-constitutions-court-rules-and-executive-actions"},{"label":"Open US Law Dataset","href":"https://vaquill.ai/open-us-law"}]},{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://vaquill.ai/privacy"},{"label":"Terms of Service","href":"https://vaquill.ai/terms"},{"label":"DPA","href":"https://vaquill.ai/dpa"},{"label":"Cookie Policy","href":"https://vaquill.ai/cookies"},{"label":"Refund Policy","href":"https://vaquill.ai/refund-policy"},{"label":"Delete My Data","href":"https://vaquill.ai/delete-data"},{"label":"Security","href":"https://vaquill.ai/security"},{"label":"Accessibility","href":"https://vaquill.ai/accessibility"},{"label":"Do Not Sell or Share My Personal Information","href":"https://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":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aeeddf969e61846fb374a5a","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"Guide","count":56},{"language":"default","tag":"US API reference","count":46},{"language":"default","tag":"India API reference","count":30},{"language":"default","tag":"Endpoints","count":28},{"language":"default","tag":"Indian Acts and Legislation","count":18},{"language":"default","tag":"US Statutes","count":18},{"language":"default","tag":"Guides","count":15},{"language":"default","tag":"Core concepts","count":15},{"language":"default","tag":"Integrations","count":14},{"language":"default","tag":"Get started","count":11}]},"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"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-session-laws/list-every-served-version-of-a-state-session-law","slug":"/api-reference/us-session-laws/list-every-served-version-of-a-state-session-law","pageMetadata":{"title":"List every served version of a state session law","description":"Every version of one STATE session law that we served or adopted, newest first, and which of them is\ncurrent. The text of a law can be corrected after we first serve it (a better extraction of the same\nsource, a re-collection), and the version you read yesterday is then not the one a plain call returns\ntoday. This route lists the versions with what identifies each (when we recorded it, its length, its\nhash, how the text was taken) and how its text can be read. It carries no text: read one version's text\nwith `GET /us/session-laws/{sessionLawId}/body?version=N`.\n\n**Cost**: 1 credit per call, however many versions the law has. A law with a single version\nanswers a list of one and is charged: \"this law has never changed\" is the answer you paid for. Reading\na version's text is a separate call at the body price (6 credits per page), the same price as\nreading the current text. A request that fails validation (422) is never charged; a law that is not\nfound (404) is never charged; a failure on our side (500, 503) is refunded.\n\n**Id only.** This route takes a `sessionLawId`, not a citation: resolve a citation once with\n`GET /us/session-laws/{sessionLawId}` and use the id it returns. A federal id (`SAL_...`) is a 404\n(`federal_session_law`), as on `/body`.\n\n**What a version says.** `version` is the number to send as `version` on `/body`. Numbers can have gaps:\na version we recorded and never served or adopted is not listed. Exactly one listed version has\n`isCurrent: true`, and `currentVersion` repeats its number: it is the text a plain `/body` call serves.\n`recordedAt` dates OUR copy of the text, never the act (see `approvedDate` on the law for that).\n`totalChars` and `textSha256` identify the text: two versions with the same hash have the same text, and\nonly the record around it changed. `citation`, `title` and `approvedDate` are as that version recorded\nthem, so a correction that fixed a title shows here.\n\n**How a version's text can be read.** `textAccess` says what reading it takes. `served`: a plain call to\n`/body?version=N` reads it. `includeUnverified`: the law is held back (`textStatus: withheld`) and this\ntext is readable only with `includeUnverified=true`, labelled by `textReliability` and `reasonCode` so\nyou know it may show deleted or vetoed law as if it were enacted. `none`: there is no text to read for\nthis version, or the law's text may not be published (a licence that bars use, or text that failed our\nown validation). The law-level `textStatus`, `textReliability` and `reasonCode` are the same fields, and\nmean the same, as on `/body`. `textReliability` is omitted when no text of the law may be read, and\n`reasonCode` when the law is served and verified.\n\n**Reading an older version.** Send `version=N` to `/body`. The page, its `nextCursor` and `textSha256`\nbelong to that version's text, so a cursor from one version is a 409 on another. To check that nothing\nchanged under you, compare `textSha256` here with the one you read.\n\n**Example**\n\n```bash\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# then read the first version's text, one page at the body price\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?version=1\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n```\n\n```javascript\nconst id = \"SSL_MN_2025S1_G_Y2025_C1\";\nconst res = await fetch(`https://api.vaquill.ai/api/v1/us/session-laws/${encodeURIComponent(id)}/versions`, {\n headers: { Authorization: `Bearer ${process.env.VAQUILL_API_KEY}` },\n});\nconst { versions, currentVersion } = await res.json();\nconst older = versions.filter((v) => !v.isCurrent \u0026\u0026 v.textAccess === \"served\");\n```\n\n**Related endpoints**\n\n- `GET /us/session-laws/{sessionLawId}/body` reads the text of the current version, or of the one you\n name with `version`. It also takes `includeUnverified=true` for a law we hold back.\n- `GET /us/session-laws/{sessionLawId}` is the law's record (dates, sources, code sections affected,\n whether its text is held); it always describes the current version.\n- `GET /us/session-laws/changes` is the registry's change feed: a `corrected` entry there is how you\n learn that a copy of a law you hold may be stale, and this route is where you see what changed.\n- `GET /us/statutes/coverage` says which sessions we hold and how complete each is, under each\n jurisdiction's `sessionLaws` block.\n- Federal session laws (the Statutes at Large, `SAL_` ids) are not served here. Read them with\n `GET /us/statutes/section/{actId}`.\n\n**Nulls.** A field of a version with no value (`citation`, `title`, `approvedDate`, `totalChars`,\n`textSha256`, `textMethod`, `amendatoryMarkup`, `markupConvention`) is `null`. `textReliability` and\n`reasonCode` on the law are the exception: they are OMITTED when they do not apply, never null. The\nexamples on this page leave the nulls out for brevity.\n\n**Rate limits.** Calls count against your key's per-minute budget like every Data API route; a 429\ncarries `Retry-After`.","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","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 li: \"li\",\n p: \"p\",\n pre: \"pre\",\n span: \"span\",\n strong: \"strong\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n }, {CodeBlock} = _components;\n if (!CodeBlock) _missingMdxReference(\"CodeBlock\", true);\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Every version of one STATE session law that we served or adopted, newest first, and which of them is\\ncurrent. The text of a law can be corrected after we first serve it (a better extraction of the same\\nsource, a re-collection), and the version you read yesterday is then not the one a plain call returns\\ntoday. This route lists the versions with what identifies each (when we recorded it, its length, its\\nhash, how the text was taken) and how its text can be read. It carries no text: read one versionโs text\\nwith \", _jsx(_components.code, {\n children: \"GET /us/session-laws/{sessionLawId}/body?version=N\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Cost\"\n }), \": 1 credit per call, however many versions the law has. A law with a single version\\nanswers a list of one and is charged: โthis law has never changedโ is the answer you paid for. Reading\\na versionโs text is a separate call at the body price (6 credits per page), the same price as\\nreading the current text. A request that fails validation (422) is never charged; a law that is not\\nfound (404) is never charged; a failure on our side (500, 503) is refunded.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Id only.\"\n }), \" This route takes a \", _jsx(_components.code, {\n children: \"sessionLawId\"\n }), \", not a citation: resolve a citation once with\\n\", _jsx(_components.code, {\n children: \"GET /us/session-laws/{sessionLawId}\"\n }), \" and use the id it returns. A federal id (\", _jsx(_components.code, {\n children: \"SAL_...\"\n }), \") is a 404\\n(\", _jsx(_components.code, {\n children: \"federal_session_law\"\n }), \"), as on \", _jsx(_components.code, {\n children: \"/body\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"What a version says.\"\n }), \" \", _jsx(_components.code, {\n children: \"version\"\n }), \" is the number to send as \", _jsx(_components.code, {\n children: \"version\"\n }), \" on \", _jsx(_components.code, {\n children: \"/body\"\n }), \". Numbers can have gaps:\\na version we recorded and never served or adopted is not listed. Exactly one listed version has\\n\", _jsx(_components.code, {\n children: \"isCurrent: true\"\n }), \", and \", _jsx(_components.code, {\n children: \"currentVersion\"\n }), \" repeats its number: it is the text a plain \", _jsx(_components.code, {\n children: \"/body\"\n }), \" call serves.\\n\", _jsx(_components.code, {\n children: \"recordedAt\"\n }), \" dates OUR copy of the text, never the act (see \", _jsx(_components.code, {\n children: \"approvedDate\"\n }), \" on the law for that).\\n\", _jsx(_components.code, {\n children: \"totalChars\"\n }), \" and \", _jsx(_components.code, {\n children: \"textSha256\"\n }), \" identify the text: two versions with the same hash have the same text, and\\nonly the record around it changed. \", _jsx(_components.code, {\n children: \"citation\"\n }), \", \", _jsx(_components.code, {\n children: \"title\"\n }), \" and \", _jsx(_components.code, {\n children: \"approvedDate\"\n }), \" are as that version recorded\\nthem, so a correction that fixed a title shows here.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"How a versionโs text can be read.\"\n }), \" \", _jsx(_components.code, {\n children: \"textAccess\"\n }), \" says what reading it takes. \", _jsx(_components.code, {\n children: \"served\"\n }), \": a plain call to\\n\", _jsx(_components.code, {\n children: \"/body?version=N\"\n }), \" reads it. \", _jsx(_components.code, {\n children: \"includeUnverified\"\n }), \": the law is held back (\", _jsx(_components.code, {\n children: \"textStatus: withheld\"\n }), \") and this\\ntext is readable only with \", _jsx(_components.code, {\n children: \"includeUnverified=true\"\n }), \", labelled by \", _jsx(_components.code, {\n children: \"textReliability\"\n }), \" and \", _jsx(_components.code, {\n children: \"reasonCode\"\n }), \" so\\nyou know it may show deleted or vetoed law as if it were enacted. \", _jsx(_components.code, {\n children: \"none\"\n }), \": there is no text to read for\\nthis version, or the lawโs text may not be published (a licence that bars use, or text that failed our\\nown validation). The law-level \", _jsx(_components.code, {\n children: \"textStatus\"\n }), \", \", _jsx(_components.code, {\n children: \"textReliability\"\n }), \" and \", _jsx(_components.code, {\n children: \"reasonCode\"\n }), \" are the same fields, and\\nmean the same, as on \", _jsx(_components.code, {\n children: \"/body\"\n }), \". \", _jsx(_components.code, {\n children: \"textReliability\"\n }), \" is omitted when no text of the law may be read, and\\n\", _jsx(_components.code, {\n children: \"reasonCode\"\n }), \" when the law is served and verified.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Reading an older version.\"\n }), \" Send \", _jsx(_components.code, {\n children: \"version=N\"\n }), \" to \", _jsx(_components.code, {\n children: \"/body\"\n }), \". The page, its \", _jsx(_components.code, {\n children: \"nextCursor\"\n }), \" and \", _jsx(_components.code, {\n children: \"textSha256\"\n }), \"\\nbelong to that versionโs text, so a cursor from one version is a 409 on another. To check that nothing\\nchanged under you, compare \", _jsx(_components.code, {\n children: \"textSha256\"\n }), \" here with the one you read.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Example\"\n })\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"6\",\n language: \"shellscript\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"shellscript\",\n children: _jsxs(_components.code, {\n language: \"shellscript\",\n numberOfLines: \"6\",\n children: [_jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#953800\",\n \"--shiki-dark\": \"#DCDCAA\"\n },\n children: \"curl\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \" \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#D7BA7D\"\n },\n children: \" \\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \" -H\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \" \\\"Authorization: Bearer \"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"$VAQUILL_API_KEY\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\"\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#6E7781\",\n \"--shiki-dark\": \"#6A9955\"\n },\n children: \"# then read the first version's text, one page at the body price\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#953800\",\n \"--shiki-dark\": \"#DCDCAA\"\n },\n children: \"curl\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \" \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?version=1\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#D7BA7D\"\n },\n children: \" \\\\\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \" -H\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \" \\\"Authorization: Bearer \"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"$VAQUILL_API_KEY\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"\\\"\"\n })]\n }), \"\\n\"]\n })\n })\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"6\",\n language: \"javascript\",\n children: _jsx(_components.pre, {\n className: \"shiki shiki-themes github-light-default dark-plus\",\n style: {\n backgroundColor: \"#ffffff\",\n \"--shiki-dark-bg\": \"#0B0C0E\",\n color: \"#1f2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n language: \"javascript\",\n children: _jsxs(_components.code, {\n language: \"javascript\",\n numberOfLines: \"6\",\n children: [_jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"const\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#4FC1FF\"\n },\n children: \" id\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" =\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \" \\\"SSL_MN_2025S1_G_Y2025_C1\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \";\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"const\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#4FC1FF\"\n },\n children: \" res\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" =\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#C586C0\"\n },\n children: \" await\"\n }), _jsx(_components.span, {\n style: {\n color: \"#8250DF\",\n \"--shiki-dark\": \"#DCDCAA\"\n },\n children: \" fetch\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"(\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"`https://api.vaquill.ai/api/v1/us/session-laws/\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"${\"\n }), _jsx(_components.span, {\n style: {\n color: \"#8250DF\",\n \"--shiki-dark\": \"#DCDCAA\"\n },\n children: \"encodeURIComponent\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"(\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"id\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \")\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"}\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"/versions`\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" headers:\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" { \"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"Authorization:\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \" `Bearer \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"${\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"process\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \".\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"env\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \".\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#4FC1FF\"\n },\n children: \"VAQUILL_API_KEY\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"}\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \"`\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" },\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"});\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"const\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" { \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#4FC1FF\"\n },\n children: \"versions\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \", \"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#4FC1FF\"\n },\n children: \"currentVersion\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" } \"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"=\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#C586C0\"\n },\n children: \" await\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" res\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \".\"\n }), _jsx(_components.span, {\n style: {\n color: \"#8250DF\",\n \"--shiki-dark\": \"#DCDCAA\"\n },\n children: \"json\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"();\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"const\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#4FC1FF\"\n },\n children: \" older\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" =\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" versions\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \".\"\n }), _jsx(_components.span, {\n style: {\n color: \"#8250DF\",\n \"--shiki-dark\": \"#DCDCAA\"\n },\n children: \"filter\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"((\"\n }), _jsx(_components.span, {\n style: {\n color: \"#953800\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"v\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \") \"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#569CD6\"\n },\n children: \"=>\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" !\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"v\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \".\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"isCurrent\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" \u0026\u0026\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" v\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \".\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"textAccess\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" ===\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0A3069\",\n \"--shiki-dark\": \"#CE9178\"\n },\n children: \" \\\"served\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \");\"\n })]\n }), \"\\n\"]\n })\n })\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Related endpoints\"\n })\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"GET /us/session-laws/{sessionLawId}/body\"\n }), \" reads the text of the current version, or of the one you\\nname with \", _jsx(_components.code, {\n children: \"version\"\n }), \". It also takes \", _jsx(_components.code, {\n children: \"includeUnverified=true\"\n }), \" for a law we hold back.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"GET /us/session-laws/{sessionLawId}\"\n }), \" is the lawโs record (dates, sources, code sections affected,\\nwhether its text is held); it always describes the current version.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"GET /us/session-laws/changes\"\n }), \" is the registryโs change feed: a \", _jsx(_components.code, {\n children: \"corrected\"\n }), \" entry there is how you\\nlearn that a copy of a law you hold may be stale, and this route is where you see what changed.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"GET /us/statutes/coverage\"\n }), \" says which sessions we hold and how complete each is, under each\\njurisdictionโs \", _jsx(_components.code, {\n children: \"sessionLaws\"\n }), \" block.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [\"Federal session laws (the Statutes at Large, \", _jsx(_components.code, {\n children: \"SAL_\"\n }), \" ids) are not served here. Read them with\\n\", _jsx(_components.code, {\n children: \"GET /us/statutes/section/{actId}\"\n }), \".\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Nulls.\"\n }), \" A field of a version with no value (\", _jsx(_components.code, {\n children: \"citation\"\n }), \", \", _jsx(_components.code, {\n children: \"title\"\n }), \", \", _jsx(_components.code, {\n children: \"approvedDate\"\n }), \", \", _jsx(_components.code, {\n children: \"totalChars\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"textSha256\"\n }), \", \", _jsx(_components.code, {\n children: \"textMethod\"\n }), \", \", _jsx(_components.code, {\n children: \"amendatoryMarkup\"\n }), \", \", _jsx(_components.code, {\n children: \"markupConvention\"\n }), \") is \", _jsx(_components.code, {\n children: \"null\"\n }), \". \", _jsx(_components.code, {\n children: \"textReliability\"\n }), \" and\\n\", _jsx(_components.code, {\n children: \"reasonCode\"\n }), \" on the law are the exception: they are OMITTED when they do not apply, never null. The\\nexamples on this page leave the nulls out for brevity.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Rate limits.\"\n }), \" Calls count against your keyโs per-minute budget like every Data API route; a 429\\ncarries \", _jsx(_components.code, {\n children: \"Retry-After\"\n }), \".\"]\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};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\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":"List every served version of a state session law","description":"Every version of one STATE session law that we served or adopted, newest first, and which of them is\ncurrent. The text of a law can be corrected after we first serve it (a better extraction of the same\nsource, a re-collection), and the version you read yesterday is then not the one a plain call returns\ntoday. This route lists the versions with what identifies each (when we recorded it, its length, its\nhash, how the text was taken) and how its text can be read. It carries no text: read one version's text\nwith `GET /us/session-laws/{sessionLawId}/body?version=N`.\n\n**Cost**: 1 credit per call, however many versions the law has. A law with a single version\nanswers a list of one and is charged: \"this law has never changed\" is the answer you paid for. Reading\na version's text is a separate call at the body price (6 credits per page), the same price as\nreading the current text. A request that fails validation (422) is never charged; a law that is not\nfound (404) is never charged; a failure on our side (500, 503) is refunded.\n\n**Id only.** This route takes a `sessionLawId`, not a citation: resolve a citation once with\n`GET /us/session-laws/{sessionLawId}` and use the id it returns. A federal id (`SAL_...`) is a 404\n(`federal_session_law`), as on `/body`.\n\n**What a version says.** `version` is the number to send as `version` on `/body`. Numbers can have gaps:\na version we recorded and never served or adopted is not listed. Exactly one listed version has\n`isCurrent: true`, and `currentVersion` repeats its number: it is the text a plain `/body` call serves.\n`recordedAt` dates OUR copy of the text, never the act (see `approvedDate` on the law for that).\n`totalChars` and `textSha256` identify the text: two versions with the same hash have the same text, and\nonly the record around it changed. `citation`, `title` and `approvedDate` are as that version recorded\nthem, so a correction that fixed a title shows here.\n\n**How a version's text can be read.** `textAccess` says what reading it takes. `served`: a plain call to\n`/body?version=N` reads it. `includeUnverified`: the law is held back (`textStatus: withheld`) and this\ntext is readable only with `includeUnverified=true`, labelled by `textReliability` and `reasonCode` so\nyou know it may show deleted or vetoed law as if it were enacted. `none`: there is no text to read for\nthis version, or the law's text may not be published (a licence that bars use, or text that failed our\nown validation). The law-level `textStatus`, `textReliability` and `reasonCode` are the same fields, and\nmean the same, as on `/body`. `textReliability` is omitted when no text of the law may be read, and\n`reasonCode` when the law is served and verified.\n\n**Reading an older version.** Send `version=N` to `/body`. The page, its `nextCursor` and `textSha256`\nbelong to that version's text, so a cursor from one version is a 409 on another. To check that nothing\nchanged under you, compare `textSha256` here with the one you read.\n\n**Example**\n\n```bash\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# then read the first version's text, one page at the body price\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?version=1\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n```\n\n```javascript\nconst id = \"SSL_MN_2025S1_G_Y2025_C1\";\nconst res = await fetch(`https://api.vaquill.ai/api/v1/us/session-laws/${encodeURIComponent(id)}/versions`, {\n headers: { Authorization: `Bearer ${process.env.VAQUILL_API_KEY}` },\n});\nconst { versions, currentVersion } = await res.json();\nconst older = versions.filter((v) => !v.isCurrent \u0026\u0026 v.textAccess === \"served\");\n```\n\n**Related endpoints**\n\n- `GET /us/session-laws/{sessionLawId}/body` reads the text of the current version, or of the one you\n name with `version`. It also takes `includeUnverified=true` for a law we hold back.\n- `GET /us/session-laws/{sessionLawId}` is the law's record (dates, sources, code sections affected,\n whether its text is held); it always describes the current version.\n- `GET /us/session-laws/changes` is the registry's change feed: a `corrected` entry there is how you\n learn that a copy of a law you hold may be stale, and this route is where you see what changed.\n- `GET /us/statutes/coverage` says which sessions we hold and how complete each is, under each\n jurisdiction's `sessionLaws` block.\n- Federal session laws (the Statutes at Large, `SAL_` ids) are not served here. Read them with\n `GET /us/statutes/section/{actId}`.\n\n**Nulls.** A field of a version with no value (`citation`, `title`, `approvedDate`, `totalChars`,\n`textSha256`, `textMethod`, `amendatoryMarkup`, `markupConvention`) is `null`. `textReliability` and\n`reasonCode` on the law are the exception: they are OMITTED when they do not apply, never null. The\nexamples on this page leave the nulls out for brevity.\n\n**Rate limits.** Calls count against your key's per-minute budget like every Data API route; a 429\ncarries `Retry-After`.","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","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["US Session Laws"],"summary":"List every served version of a state session law","description":"Every version of one STATE session law that we served or adopted, newest first, and which of them is\ncurrent. The text of a law can be corrected after we first serve it (a better extraction of the same\nsource, a re-collection), and the version you read yesterday is then not the one a plain call returns\ntoday. This route lists the versions with what identifies each (when we recorded it, its length, its\nhash, how the text was taken) and how its text can be read. It carries no text: read one version's text\nwith `GET /us/session-laws/{sessionLawId}/body?version=N`.\n\n**Cost**: 1 credit per call, however many versions the law has. A law with a single version\nanswers a list of one and is charged: \"this law has never changed\" is the answer you paid for. Reading\na version's text is a separate call at the body price (6 credits per page), the same price as\nreading the current text. A request that fails validation (422) is never charged; a law that is not\nfound (404) is never charged; a failure on our side (500, 503) is refunded.\n\n**Id only.** This route takes a `sessionLawId`, not a citation: resolve a citation once with\n`GET /us/session-laws/{sessionLawId}` and use the id it returns. A federal id (`SAL_...`) is a 404\n(`federal_session_law`), as on `/body`.\n\n**What a version says.** `version` is the number to send as `version` on `/body`. Numbers can have gaps:\na version we recorded and never served or adopted is not listed. Exactly one listed version has\n`isCurrent: true`, and `currentVersion` repeats its number: it is the text a plain `/body` call serves.\n`recordedAt` dates OUR copy of the text, never the act (see `approvedDate` on the law for that).\n`totalChars` and `textSha256` identify the text: two versions with the same hash have the same text, and\nonly the record around it changed. `citation`, `title` and `approvedDate` are as that version recorded\nthem, so a correction that fixed a title shows here.\n\n**How a version's text can be read.** `textAccess` says what reading it takes. `served`: a plain call to\n`/body?version=N` reads it. `includeUnverified`: the law is held back (`textStatus: withheld`) and this\ntext is readable only with `includeUnverified=true`, labelled by `textReliability` and `reasonCode` so\nyou know it may show deleted or vetoed law as if it were enacted. `none`: there is no text to read for\nthis version, or the law's text may not be published (a licence that bars use, or text that failed our\nown validation). The law-level `textStatus`, `textReliability` and `reasonCode` are the same fields, and\nmean the same, as on `/body`. `textReliability` is omitted when no text of the law may be read, and\n`reasonCode` when the law is served and verified.\n\n**Reading an older version.** Send `version=N` to `/body`. The page, its `nextCursor` and `textSha256`\nbelong to that version's text, so a cursor from one version is a 409 on another. To check that nothing\nchanged under you, compare `textSha256` here with the one you read.\n\n**Example**\n\n```bash\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# then read the first version's text, one page at the body price\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?version=1\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n```\n\n```javascript\nconst id = \"SSL_MN_2025S1_G_Y2025_C1\";\nconst res = await fetch(`https://api.vaquill.ai/api/v1/us/session-laws/${encodeURIComponent(id)}/versions`, {\n headers: { Authorization: `Bearer ${process.env.VAQUILL_API_KEY}` },\n});\nconst { versions, currentVersion } = await res.json();\nconst older = versions.filter((v) => !v.isCurrent \u0026\u0026 v.textAccess === \"served\");\n```\n\n**Related endpoints**\n\n- `GET /us/session-laws/{sessionLawId}/body` reads the text of the current version, or of the one you\n name with `version`. It also takes `includeUnverified=true` for a law we hold back.\n- `GET /us/session-laws/{sessionLawId}` is the law's record (dates, sources, code sections affected,\n whether its text is held); it always describes the current version.\n- `GET /us/session-laws/changes` is the registry's change feed: a `corrected` entry there is how you\n learn that a copy of a law you hold may be stale, and this route is where you see what changed.\n- `GET /us/statutes/coverage` says which sessions we hold and how complete each is, under each\n jurisdiction's `sessionLaws` block.\n- Federal session laws (the Statutes at Large, `SAL_` ids) are not served here. Read them with\n `GET /us/statutes/section/{actId}`.\n\n**Nulls.** A field of a version with no value (`citation`, `title`, `approvedDate`, `totalChars`,\n`textSha256`, `textMethod`, `amendatoryMarkup`, `markupConvention`) is `null`. `textReliability` and\n`reasonCode` on the law are the exception: they are OMITTED when they do not apply, never null. The\nexamples on this page leave the nulls out for brevity.\n\n**Rate limits.** Calls count against your key's per-minute budget like every Data API route; a 429\ncarries `Retry-After`.","operationId":"get_session_law_versions","parameters":["2fdfd8ea-c648-4b9c-84ce-86a16a29f0d2","c73332ef-5e1f-4747-b705-95883d0fad09"],"responses":{"200":"ea531797-4640-42c4-aa62-ef2da0e73b23","401":"cf28e1f5-62ed-4b35-8c1e-cde248241ffc","402":"94fc6e4f-2fba-4f2f-877f-d2e07da3a18f","403":"75c4cefc-f928-4951-8eb7-a9fdf37a1364","404":"200cb340-65cf-46da-b488-6ef63c0cefc5","409":"b637f69d-3eb0-481b-b971-c4cb4b196b05","422":"a367876a-9537-4dbf-a509-9291ebb2124f","429":"2af5dc0c-09b0-4754-911b-35c07fb301cd","500":"2ac89aae-22a0-4583-a6fd-bb7ffc15db1a","503":"8ef5e4ec-ac8d-4ee6-96b9-7db4fb8f52f0"},"method":"get","type":"path","servers":["72a9d95a-e7d7-4dbe-946e-0f3975dd0517"],"security":["507a4177-c353-457f-b275-c6e5689326cb","fd51ae53-9413-4b29-a7c2-32a68ced30e6"],"path":"/api/v1/us/session-laws/{session_law_id}/versions","baseUrlOptions":["https://api.vaquill.ai"],"title":"List every served version of a state session law","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"2fdfd8ea-c648-4b9c-84ce-86a16a29f0d2":{"name":"session_law_id","in":"path","required":true,"schema":{"type":"string","minLength":1,"maxLength":300,"description":"A STATE session law's id, for example `SSL_MN_2025S1_G_Y2025_C1`, from a `/us/session-laws/list` result.\n\nA citation also works here on `GET /us/session-laws/{sessionLawId}`, and `resolvedFrom` says what your input matched. Name the state in the citation: `Minn. Laws 2025, ch. 1`, `2025 Minn. Laws ch. 1`, `Ch. 1, Laws of Minnesota 2025`, `Ch. 2025-12, Laws of Fla.`, `2025 Wash. Sess. Laws ch. 12`, `La. Acts 2025, No. 12`, `Pa. Act 12 of 2025`, `Minn. S.F. 1552 (2025)`, `MN: Laws 2025, ch. 1`. A form only one state uses needs no state: `P.A. 104-0001` (Illinois), `Pub. Act No. 26-151` (Connecticut), `S.L. 2025-12` (North Carolina), `Stats. 2025, ch. 12` (California), `D.C. Law 25-713`. The publisher's printed form (`CHAPTER 2025-12`, `S.F.No. 1552`) and the `citation` we print on every law also work. A form several states share (`Laws 2025, ch. 1`, `HB 123`, `Act 12 of 2025`) is a 404 with `reason: needs_jurisdiction`, the states it exists in and one candidate per state: we never guess the state. A citation naming several laws of one state (Minnesota 2025 has two Chapter 1s) is a 404 listing all of them, `candidateCount` and `truncated` saying whether the list is complete, and `defaultSessionLawId` the regular session's law where there is exactly one conventional reading. An id or citation that matches nothing in a session we have only partly collected is a 404 with `reason: session_not_fully_collected` and that session's coverage: the law may exist and not be held yet, so it is never charged, the resolve price included. A citation costs the route's price PLUS the `/us/statutes/resolve` price (2 credits), the second kept whether or not it resolves (an unresolved or ambiguous citation is a charged verdict) and refunded only on a partly collected session or a failure. URL-encode the citation; one containing `/` cannot travel in a path segment.\n\nFederal session laws (`SAL_...`, `Pub. L. 118-5`, the Statutes at Large) are served by `/us/statutes/section`, not here, and code citations (`26 U.S.C. ยง 1`) by `/us/statutes/resolve`.","examples":["SSL_MN_2025S1_G_Y2025_C1"],"title":"Session Law Id","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"A STATE session law's id, for example `SSL_MN_2025S1_G_Y2025_C1`, from a `/us/session-laws/list` result.\n\nA citation also works here on `GET /us/session-laws/{sessionLawId}`, and `resolvedFrom` says what your input matched. Name the state in the citation: `Minn. Laws 2025, ch. 1`, `2025 Minn. Laws ch. 1`, `Ch. 1, Laws of Minnesota 2025`, `Ch. 2025-12, Laws of Fla.`, `2025 Wash. Sess. Laws ch. 12`, `La. Acts 2025, No. 12`, `Pa. Act 12 of 2025`, `Minn. S.F. 1552 (2025)`, `MN: Laws 2025, ch. 1`. A form only one state uses needs no state: `P.A. 104-0001` (Illinois), `Pub. Act No. 26-151` (Connecticut), `S.L. 2025-12` (North Carolina), `Stats. 2025, ch. 12` (California), `D.C. Law 25-713`. The publisher's printed form (`CHAPTER 2025-12`, `S.F.No. 1552`) and the `citation` we print on every law also work. A form several states share (`Laws 2025, ch. 1`, `HB 123`, `Act 12 of 2025`) is a 404 with `reason: needs_jurisdiction`, the states it exists in and one candidate per state: we never guess the state. A citation naming several laws of one state (Minnesota 2025 has two Chapter 1s) is a 404 listing all of them, `candidateCount` and `truncated` saying whether the list is complete, and `defaultSessionLawId` the regular session's law where there is exactly one conventional reading. An id or citation that matches nothing in a session we have only partly collected is a 404 with `reason: session_not_fully_collected` and that session's coverage: the law may exist and not be held yet, so it is never charged, the resolve price included. A citation costs the route's price PLUS the `/us/statutes/resolve` price (2 credits), the second kept whether or not it resolves (an unresolved or ambiguous citation is a charged verdict) and refunded only on a partly collected session or a failure. URL-encode the citation; one containing `/` cannot travel in a path segment.\n\nFederal session laws (`SAL_...`, `Pub. L. 118-5`, the Statutes at Large) are served by `/us/statutes/section`, not here, and code citations (`26 U.S.C. ยง 1`) by `/us/statutes/resolve`."},"c73332ef-5e1f-4747-b705-95883d0fad09":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"Idempotency-Key","description":"Optional. 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and the same request replays the original 2xx response for 24 hours without charging again. The same key with a different request is rejected. Scope is the API key, method, path and body. The stored response body is a query-derived cache controlled by the account's data retention setting cacheQueryDerivedData: when it is false the body is never stored and a retry answers 409 idempotency_replay_unavailable, without charging again.","maxLength":255,"minLength":16,"pattern":"^[\\x21-\\x7e]+$","example":"3f9c2a1e-7b44-4d0a-9c1e-5a6b7c8d9e0f","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Idempotency-Key","description":"Optional. 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and the same request replays the original 2xx response for 24 hours without charging again. The same key with a different request is rejected. Scope is the API key, method, path and body. The stored response body is a query-derived cache controlled by the account's data retention setting cacheQueryDerivedData: when it is false the body is never stored and a retry answers 409 idempotency_replay_unavailable, without charging again.","example":"3f9c2a1e-7b44-4d0a-9c1e-5a6b7c8d9e0f","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Optional. 16 to 255 visible ASCII characters (a UUIDv4 is ideal). A retry with the same key and the same request replays the original 2xx response for 24 hours without charging again. The same key with a different request is rejected. Scope is the API key, method, path and body. The stored response body is a query-derived cache controlled by the account's data retention setting cacheQueryDerivedData: when it is false the body is never stored and a retry answers 409 idempotency_replay_unavailable, without charging again."}},"responses":{"ea531797-4640-42c4-aa62-ef2da0e73b23":{"description":"The law's versions, newest first, exactly one of them current. A law with a single version answers a list of one, which is charged.","content":{"application/json":{"schema":{"properties":{"sessionLawId":{"type":"string","title":"Sessionlawid","description":"The law these versions belong to.","examples":["SSL_MN_2025S1_G_Y2025_C1"],"isRequired":true,"uniqueKey":"sessionLawId","typeLabel":"string"},"textStatus":{"type":"string","enum":["held","withheld","not_held","pending"],"title":"Textstatus","description":"Whether we serve this law's text. `held`: the text is served by `/us/session-laws/{sessionLawId}/body`. `withheld`: we hold the text but a measured defect keeps it from being served, and `withheldReason` says what. `not_held`: we know the act exists and do not hold its text. `pending`: collected and not yet verified.","examples":["held"],"isRequired":true,"uniqueKey":"textStatus","typeLabel":"enum\u003cstring>"},"count":{"type":"integer","title":"Count","description":"Number of versions listed.","examples":[2],"isRequired":true,"uniqueKey":"count","typeLabel":"integer"},"processingTimeMs":{"type":"number","title":"Processingtimems","description":"Server-side time for this request in milliseconds, excluding network transit. Not billed on.","default":0,"examples":[747.5],"uniqueKey":"processingTimeMs","typeLabel":"number"},"creditsConsumed":{"type":"integer","title":"Creditsconsumed","description":"Credits actually charged for this call, never the list price. It includes the `/us/statutes/resolve` fee when a citation was sent where an id goes. 0 when the call was not charged or was refunded (a body that answers `available: false`).","default":0,"examples":[2],"uniqueKey":"creditsConsumed","typeLabel":"integer"},"textReliability":{"oneOf":[{"type":"string","title":"Textreliability","description":"How far to trust the CURRENT text of this law, the same field as on `/body`: `verified` when the text passed our strike-through check, `unverified` when that check has not been completed, `known_issue` when we have evidence the text shows deleted law as if enacted. A served law can be any of the three (its text is still served); a held-back law is `unverified` or `known_issue` and its text is read with `includeUnverified=true`. Omitted when no text of this law may be read.","enum":["verified","unverified","known_issue"],"example":"verified","uniqueKey":"textReliability.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Textreliability","description":"How far to trust the CURRENT text of this law, the same field as on `/body`: `verified` when the text passed our strike-through check, `unverified` when that check has not been completed, `known_issue` when we have evidence the text shows deleted law as if enacted. A served law can be any of the three (its text is still served); a held-back law is `unverified` or `known_issue` and its text is read with `includeUnverified=true`. Omitted when no text of this law may be read.","example":"verified","uniqueKey":"textReliability.oneOf.1","typeLabel":"null"}],"uniqueKey":"textReliability","typeLabel":"enum\u003cstring> | null"},"reasonCode":{"oneOf":[{"type":"string","title":"Reasoncode","description":"Why the text is not `verified`, the same token as on `/body`. Omitted when the text is `verified`.","example":"strike_unchecked","uniqueKey":"reasonCode.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reasoncode","description":"Why the text is not `verified`, the same token as on `/body`. Omitted when the text is `verified`.","example":"strike_unchecked","uniqueKey":"reasonCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasonCode","typeLabel":"string | null"},"versions":{"items":{"properties":{"version":{"type":"integer","title":"Version","description":"The version number, 1 for the first we recorded. Send it as `version` on `GET /us/session-laws/{sessionLawId}/body`. Numbers can have gaps: a version we recorded and never served or adopted is not listed.","examples":[2],"isRequired":true,"uniqueKey":"versions.items.[INDEX].version","typeLabel":"integer"},"isCurrent":{"type":"boolean","title":"Iscurrent","description":"True for the version `GET /us/session-laws/{sessionLawId}` and a plain `/body` call serve now. Exactly one listed version is current.","examples":[true],"isRequired":true,"uniqueKey":"versions.items.[INDEX].isCurrent","typeLabel":"boolean"},"recordedAt":{"type":"string","title":"Recordedat","description":"When we recorded this version, ISO 8601 in UTC. Not an approval or effective date of the act: it dates our copy of the text.","examples":["2026-10-13T09:04:11.120118+00:00"],"isRequired":true,"uniqueKey":"versions.items.[INDEX].recordedAt","typeLabel":"string"},"textAccess":{"type":"string","enum":["served","includeUnverified","none"],"title":"Textaccess","description":"How this version's text can be read with `GET /us/session-laws/{sessionLawId}/body?version=N`. `served`: the law is served and this version has text, so a plain call reads it. `includeUnverified`: the law is held back (`textStatus: withheld`) and this text is readable only with `includeUnverified=true`, labelled by `textReliability`. `none`: there is no text to read for this version, or the law's text may not be published.","examples":["served"],"isRequired":true,"uniqueKey":"versions.items.[INDEX].textAccess","typeLabel":"enum\u003cstring>"},"citation":{"oneOf":[{"type":"string","title":"Citation","description":"The act's citation as the publisher printed it in this version. Null when none was recorded.","example":"CHAPTER 1--S.F.No. 3","uniqueKey":"versions.items.[INDEX].citation.oneOf.0","typeLabel":"string"},{"type":"null","title":"Citation","description":"The act's citation as the publisher printed it in this version. Null when none was recorded.","example":"CHAPTER 1--S.F.No. 3","uniqueKey":"versions.items.[INDEX].citation.oneOf.1","typeLabel":"null"}],"uniqueKey":"versions.items.[INDEX].citation","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"The act's title in this version. Null when none was recorded.","example":"Agriculture finance and policy; omnibus bill","uniqueKey":"versions.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"The act's title in this version. Null when none was recorded.","example":"Agriculture finance and policy; omnibus bill","uniqueKey":"versions.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"uniqueKey":"versions.items.[INDEX].title","typeLabel":"string | null"},"approvedDate":{"oneOf":[{"type":"string","title":"Approveddate","description":"Approval date recorded in this version, ISO 8601. Null when none was recorded.","format":"date","example":"2025-06-14","uniqueKey":"versions.items.[INDEX].approvedDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Approveddate","description":"Approval date recorded in this version, ISO 8601. Null when none was recorded.","example":"2025-06-14","uniqueKey":"versions.items.[INDEX].approvedDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"versions.items.[INDEX].approvedDate","typeLabel":"string\u003cdate> | null"},"totalChars":{"oneOf":[{"type":"integer","title":"Totalchars","description":"Length of this version's text in characters. Null when this version has no text.","example":310454,"uniqueKey":"versions.items.[INDEX].totalChars.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Totalchars","description":"Length of this version's text in characters. Null when this version has no text.","example":310454,"uniqueKey":"versions.items.[INDEX].totalChars.oneOf.1","typeLabel":"null"}],"uniqueKey":"versions.items.[INDEX].totalChars","typeLabel":"integer | null"},"textSha256":{"oneOf":[{"type":"string","title":"Textsha256","description":"SHA-256 (hex) of the full text of this law. It changes only when the text does, so it is the cheap way to tell whether a copy you hold is current. Body pages carry the same value. Two versions with the same hash have the same text: only the record around it changed.","example":"02693d5b55d4709bdd36fdccee4a9737d2655a3988a90daeb6b7c486ce50260b","uniqueKey":"versions.items.[INDEX].textSha256.oneOf.0","typeLabel":"string"},{"type":"null","title":"Textsha256","description":"SHA-256 (hex) of the full text of this law. It changes only when the text does, so it is the cheap way to tell whether a copy you hold is current. Body pages carry the same value. Two versions with the same hash have the same text: only the record around it changed.","example":"02693d5b55d4709bdd36fdccee4a9737d2655a3988a90daeb6b7c486ce50260b","uniqueKey":"versions.items.[INDEX].textSha256.oneOf.1","typeLabel":"null"}],"uniqueKey":"versions.items.[INDEX].textSha256","typeLabel":"string | null"},"textMethod":{"oneOf":[{"type":"string","title":"Textmethod","description":"How the text of this version was taken from the source: for example `pdf_text_layer`, `html`, `xml`. Null when this version has no text.","example":"pdf_text_layer","uniqueKey":"versions.items.[INDEX].textMethod.oneOf.0","typeLabel":"string"},{"type":"null","title":"Textmethod","description":"How the text of this version was taken from the source: for example `pdf_text_layer`, `html`, `xml`. Null when this version has no text.","example":"pdf_text_layer","uniqueKey":"versions.items.[INDEX].textMethod.oneOf.1","typeLabel":"null"}],"uniqueKey":"versions.items.[INDEX].textMethod","typeLabel":"string | null"},"amendatoryMarkup":{"oneOf":[{"type":"string","title":"Amendatorymarkup","description":"Whether the language an amending act strikes and inserts survives in the text. `preserved`: it is in `text`, in the convention `markupConvention` names. `lost`: the publisher printed it and our text does not keep it, so deleted words can read as law: check the source before quoting. `absent`: the act carries no such markup that we found. `not_applicable`: there is no text to carry it.","example":"preserved","uniqueKey":"versions.items.[INDEX].amendatoryMarkup.oneOf.0","typeLabel":"string"},{"type":"null","title":"Amendatorymarkup","description":"Whether the language an amending act strikes and inserts survives in the text. `preserved`: it is in `text`, in the convention `markupConvention` names. `lost`: the publisher printed it and our text does not keep it, so deleted words can read as law: check the source before quoting. `absent`: the act carries no such markup that we found. `not_applicable`: there is no text to carry it.","example":"preserved","uniqueKey":"versions.items.[INDEX].amendatoryMarkup.oneOf.1","typeLabel":"null"}],"uniqueKey":"versions.items.[INDEX].amendatoryMarkup","typeLabel":"string | null"},"markupConvention":{"oneOf":[{"type":"string","title":"Markupconvention","description":"How preserved markup is written, set only when `amendatoryMarkup` is `preserved`. `wdiff`: deleted language is `[-like this-]` and inserted language `{+like this+}`. `publisher_literal`: the publisher's own words are left as printed (Minnesota prints `new text begin` / `new text end` and `deleted text begin` / `deleted text end` markers). `mixed`: both in one text.","example":"publisher_literal","uniqueKey":"versions.items.[INDEX].markupConvention.oneOf.0","typeLabel":"string"},{"type":"null","title":"Markupconvention","description":"How preserved markup is written, set only when `amendatoryMarkup` is `preserved`. `wdiff`: deleted language is `[-like this-]` and inserted language `{+like this+}`. `publisher_literal`: the publisher's own words are left as printed (Minnesota prints `new text begin` / `new text end` and `deleted text begin` / `deleted text end` markers). `mixed`: both in one text.","example":"publisher_literal","uniqueKey":"versions.items.[INDEX].markupConvention.oneOf.1","typeLabel":"null"}],"uniqueKey":"versions.items.[INDEX].markupConvention","typeLabel":"string | null"}},"type":"object","required":["version","isCurrent","recordedAt","textAccess"],"title":"SessionLawVersion","description":"One version of a session law.","uniqueKey":"versions.items.[INDEX]","typeLabel":"SessionLawVersion ยท object"},"type":"array","title":"Versions","description":"Every version we served or adopted, newest first. Always at least the current one.","uniqueKey":"versions","typeLabel":"SessionLawVersion ยท object[]"},"currentVersion":{"oneOf":[{"type":"integer","title":"Currentversion","description":"The `version` that is current. Null only when no version is current, which a served law never is.","example":2,"uniqueKey":"currentVersion.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Currentversion","description":"The `version` that is current. Null only when no version is current, which a served law never is.","example":2,"uniqueKey":"currentVersion.oneOf.1","typeLabel":"null"}],"uniqueKey":"currentVersion","typeLabel":"integer | null"}},"type":"object","required":["sessionLawId","textStatus","count"],"title":"SessionLawVersionsResponse","description":"Response for `GET /us/session-laws/{sessionLawId}/versions`.","uniqueKey":"","typeLabel":"SessionLawVersionsResponse ยท object"},"examples":{"corrected":{"title":"corrected","value":{"sessionLawId":"SSL_MN_2025S1_G_Y2025_C1","textStatus":"held","textReliability":"verified","versions":[{"version":2,"isCurrent":true,"recordedAt":"2026-10-13T09:04:11.120118+00:00","citation":"CHAPTER 1--S.F.No. 3","title":"Environment and natural resources appropriations","approvedDate":"2025-06-14","totalChars":310454,"textSha256":"02693d5b55d4709bdd36fdccee4a9737d2655a3988a90daeb6b7c486ce50260b","textMethod":"html","amendatoryMarkup":"preserved","markupConvention":"publisher_literal","textAccess":"served"},{"version":1,"isCurrent":false,"recordedAt":"2026-10-05T09:04:11.120118+00:00","citation":"CHAPTER 1--S.F.No. 3","title":"Environment and natural resources appropriations","approvedDate":"2025-06-14","totalChars":309876,"textSha256":"b4e1a07c95d3f6280c1d7a3e5f9b2d4681a0c3e7f5b9d2a4c6e8f0a1b3d5c7e9","textMethod":"pdf_text_layer","amendatoryMarkup":"lost","textAccess":"served"}],"count":2,"currentVersion":2,"creditsConsumed":1,"processingTimeMs":38.2}},"singleVersion":{"title":"singleVersion","value":{"sessionLawId":"SSL_MN_2025R_G_Y2025_C1","textStatus":"held","textReliability":"verified","versions":[{"version":1,"isCurrent":true,"recordedAt":"2026-10-05T09:04:11.120118+00:00","citation":"CHAPTER 1--S.F.No. 1552","approvedDate":"2025-03-17","totalChars":5470,"textSha256":"55c7a8d08647e41f87e23fc2016881a6583911a1d5cfa8687403442e9096451b","textMethod":"html","amendatoryMarkup":"preserved","markupConvention":"publisher_literal","textAccess":"served"}],"count":1,"currentVersion":1,"creditsConsumed":1,"processingTimeMs":21.5}},"heldBack":{"title":"heldBack","value":{"sessionLawId":"SSL_LA_2025R_G_C2","textStatus":"withheld","textReliability":"known_issue","reasonCode":"struck_text_merged","versions":[{"version":1,"isCurrent":true,"recordedAt":"2026-10-05T09:04:11.120118+00:00","citation":"ACT No. 2","approvedDate":"2025-06-20","totalChars":48213,"textSha256":"7d21c5f08a3b94e6d1f0275ac8b3e94f62d0a17b5c8e3f9042a6d1b7e5c30f84","textMethod":"pdf_text_layer","amendatoryMarkup":"absent","textAccess":"includeUnverified"}],"count":1,"currentVersion":1,"creditsConsumed":1,"processingTimeMs":24.9}},"notServed":{"title":"notServed","value":{"sessionLawId":"SSL_LA_2025R_G_C3","textStatus":"withheld","reasonCode":"validation_failed","versions":[{"version":1,"isCurrent":true,"recordedAt":"2026-10-05T09:04:11.120118+00:00","citation":"ACT No. 3","approvedDate":"2025-06-20","textAccess":"none"}],"count":1,"currentVersion":1,"creditsConsumed":1,"processingTimeMs":19.7}}},"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-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"examples"},"cf28e1f5-62ed-4b35-8c1e-cde248241ffc":{"description":"Missing, invalid or revoked API key. Not charged.","content":{"application/json":{"example":{"detail":"Invalid or expired API key"},"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","corpusType"]],"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":["Input should be 'USC', 'CFR' or 'STATE'"],"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":["literal_error"],"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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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"},"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":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","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"}},"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, 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":"Invalid or expired API key"}}},"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-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"examples"},"94fc6e4f-2fba-4f2f-877f-d2e07da3a18f":{"description":"Insufficient credits for this call. Nothing was done and nothing was charged. Read your balance, free, at `GET /credits/balance`.","content":{"application/json":{"example":{"detail":"Insufficient credits"},"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","corpusType"]],"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":["Input should be 'USC', 'CFR' or 'STATE'"],"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":["literal_error"],"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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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"},"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":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","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"}},"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, 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 credits"}}},"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-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"examples"},"75c4cefc-f928-4951-8eb7-a9fdf37a1364":{"description":"The API key lacks the `research:read` scope. Not charged.","content":{"application/json":{"example":{"detail":"Insufficient permissions for this operation"},"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","corpusType"]],"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":["Input should be 'USC', 'CFR' or 'STATE'"],"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":["literal_error"],"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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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"},"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":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","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"}},"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, 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 permissions for this operation"}}},"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-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"examples"},"200cb340-65cf-46da-b488-6ef63c0cefc5":{"description":"Unknown id, a federal act, or an endpoint name where the id goes. `reason` says which. Never charged.","content":{"application/json":{"examples":{"not_in_registry":{"title":"not_in_registry","value":{"detail":"Session law not found. No law in the registry carries this id. Take ids from a /us/session-laws/list result. This route takes ids only, not citations: GET /us/session-laws/{sessionLawId} accepts a citation and returns the id to send here.","sessionLawId":"SSL_MN_1801R_G_Y1801_C9999","reason":"not_in_registry","didYouMean":[]}},"wrong_case":{"title":"wrong_case","value":{"detail":"Session law not found. Ids are case-sensitive and this one exists in a different case; see didYouMean.","sessionLawId":"ssl_mn_2025r_g_y2025_c1","reason":"wrong_case","didYouMean":["SSL_MN_2025R_G_Y2025_C1"]}},"federal_session_law":{"title":"federal_session_law","value":{"detail":"Session law not found. This endpoint covers STATE session laws; federal session laws (the Statutes at Large) are served by GET /us/statutes/section/{actId}. A federal id (`SAL_...`) is not charged; a federal citation typed in its place keeps the /us/statutes/resolve price, like any unresolved citation.","sessionLawId":"SAL_PL118-5","reason":"federal_session_law","didYouMean":[]}},"missing_session_law_id":{"title":"missing_session_law_id","value":{"detail":"Session law not found. The URL has no session-law id in it: the segment where the id goes names an endpoint, for example /us/session-laws/{sessionLawId}/body. Nothing was charged.","sessionLawId":"body","reason":"missing_session_law_id","didYouMean":[]}},"session_not_fully_collected":{"title":"session_not_fully_collected","value":{"detail":"Session law not found. Nothing matched, and the session this points into is only partly collected, so the law may exist and not be held yet. `sessionCoverage` says how much of the session we hold. Nothing was charged: a miss in a partly collected session is never billed.","sessionLawId":"SSL_DE_2025R_G_C3","reason":"session_not_fully_collected","didYouMean":[],"sessionCoverage":{"code":"2025R","label":"153rd General Assembly","type":"regular","year":2025,"status":"partial","servedCount":43,"withheldCount":0,"notHeldCount":0,"registryCount":43,"collectedCount":43,"denominator":{"kind":"complete_listing","value":296,"derivation":"The publisher's complete listing of this session names 296 measures. We hold 43 of them; the rest are not yet collected."},"openGaps":253,"numberingHoles":0,"denominatorStale":false}}}},"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to show a user. Branch on `reason`, not on this string: the wording can change.","examples":["Session law not found. No law in the registry carries this id. Take ids from a /us/session-laws/list result, or send the citation in its place."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"sessionLawId":{"type":"string","title":"Sessionlawid","description":"The identifier exactly as you sent it.","examples":["SSL_MN_1801R_G_Y1801_C9999"],"isRequired":true,"uniqueKey":"sessionLawId","typeLabel":"string"},"reason":{"type":"string","enum":["not_in_registry","wrong_case","unresolved_citation","ambiguous_citation","federal_session_law","missing_session_law_id","needs_jurisdiction","session_not_fully_collected"],"title":"Reason","description":"`not_in_registry`: no law carries this id. `wrong_case`: it exists in another letter case, see `didYouMean`. `unresolved_citation`: you sent a citation and no law carries it. `ambiguous_citation`: the citation names several laws, all in `didYouMean`, none chosen for you; `defaultSessionLawId` is the publisher's conventional reading when one is recorded. `federal_session_law`: federal acts are served by /us/statutes/section. `missing_session_law_id`: the URL names an endpoint where the id goes. `needs_jurisdiction`: the citation is in a form several states share and names none, so none was chosen for you; `jurisdictions` lists the states where it exists and `didYouMean` one law per state. `session_not_fully_collected`: nothing matched, and the session the id or citation points into is only partly collected, so the law may exist; `sessionCoverage` says how much of the session we hold. The route's price is never charged on a 404; a citation's resolution fee is kept on `unresolved_citation`, `ambiguous_citation` and `needs_jurisdiction`, and refunded on `session_not_fully_collected`: a miss in a partly collected session is never charged.","examples":["not_in_registry"],"isRequired":true,"uniqueKey":"reason","typeLabel":"enum\u003cstring>"},"didYouMean":{"items":{"type":"string","uniqueKey":"didYouMean.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Didyoumean","description":"Real `sessionLawId`s the input points at: the one that exists in a different case, or every law an ambiguous citation names (at most 20, the conventional reading first). Empty when nothing matched.","examples":[["SSL_KY_2025R_G_Y2025_C100","SSL_MO_2025R_G_Y2025_BHB2"]],"uniqueKey":"didYouMean","typeLabel":"string[]"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"On `ambiguous_citation`, the conventional reading when the registry records one, otherwise null. Informational: it is never served for you.","example":null,"uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"On `ambiguous_citation`, the conventional reading when the registry records one, otherwise null. Informational: it is never served for you.","example":null,"uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"On `needs_jurisdiction`, every state (lower-case postal code) where the citation you sent exists. Name one of them in the citation and send it again. Absent on every other reason.","example":["il","mn","tx"],"uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"On `needs_jurisdiction`, every state (lower-case postal code) where the citation you sent exists. Name one of them in the citation and send it again. Absent on every other reason.","example":["il","mn","tx"],"uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"On `ambiguous_citation` and `needs_jurisdiction`, how many laws the citation names in all. Compare it with `len(didYouMean)`: when it is larger, `truncated` is true and the list is a sample, not the full set.","example":22,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"On `ambiguous_citation` and `needs_jurisdiction`, how many laws the citation names in all. Compare it with `len(didYouMean)`: when it is larger, `truncated` is true and the list is a sample, not the full set.","example":22,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"True when `didYouMean` was capped (at most 20 ids) and `candidateCount` is larger than the list. Absent on reasons that carry no candidates.","example":true,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"True when `didYouMean` was capped (at most 20 ids) and `candidateCount` is larger than the list. Absent on reasons that carry no candidates.","example":true,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"SessionLawSessionCoverage","description":"On `session_not_fully_collected`, the partly collected session the id or citation points into: how many laws we hold of how many it is expected to have (`denominator`), and how many are still open. Absent on every other reason. The same block is in `sessionLaws.sessions` on `GET /us/statutes/coverage`.","required":["code","status","servedCount"],"properties":{"code":{"type":"string","title":"Code","description":"Session code, for example `2025R`.","examples":["2025R"],"isRequired":true,"uniqueKey":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.servedCount","typeLabel":"integer"},"label":{"oneOf":[{"type":"string","title":"Label","description":"The session's canonical label.","example":"2025 Regular Session","uniqueKey":"sessionCoverage.oneOf.0.label.oneOf.0","typeLabel":"string"},{"type":"null","title":"Label","description":"The session's canonical label.","example":"2025 Regular Session","uniqueKey":"sessionCoverage.oneOf.0.label.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage.oneOf.0.label","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"`regular`, `special`, `extraordinary`, `fiscal`, `veto` or `unknown`.","example":"regular","uniqueKey":"sessionCoverage.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"`regular`, `special`, `extraordinary`, `fiscal`, `veto` or `unknown`.","example":"regular","uniqueKey":"sessionCoverage.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage.oneOf.0.type","typeLabel":"string | null"},"year":{"oneOf":[{"type":"integer","title":"Year","description":"The year the session convened, the year `code` starts with.","example":2025,"uniqueKey":"sessionCoverage.oneOf.0.year.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Year","description":"The year the session convened, the year `code` starts with.","example":2025,"uniqueKey":"sessionCoverage.oneOf.0.year.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.denominator.oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage.oneOf.0.denominator.oneOf.0.value","typeLabel":"integer | null"}},"uniqueKey":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.denominator.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.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; null when not measured, and never counted in `openGaps`.","minimum":0,"example":12,"uniqueKey":"sessionCoverage.oneOf.0.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; null when not measured, and never counted in `openGaps`.","example":12,"uniqueKey":"sessionCoverage.oneOf.0.numberingHoles.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage.oneOf.0.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; null when not assessed.","example":false,"uniqueKey":"sessionCoverage.oneOf.0.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; null when not assessed.","example":false,"uniqueKey":"sessionCoverage.oneOf.0.denominatorStale.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.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":"sessionCoverage.oneOf.0.measuredAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage.oneOf.0.measuredAt","typeLabel":"string | null"}},"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"SessionLawSessionCoverage ยท object"},{"type":"null","description":"On `session_not_fully_collected`, the partly collected session the id or citation points into: how many laws we hold of how many it is expected to have (`denominator`), and how many are still open. Absent on every other reason. The same block is in `sessionLaws.sessions` on `GET /us/statutes/coverage`.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"SessionLawSessionCoverage ยท object | null"}},"type":"object","required":["detail","sessionLawId","reason"],"title":"SessionLawNotFoundError","description":"The 404 from `GET /us/session-laws/{sessionLawId}` and its `/body`.","uniqueKey":"","typeLabel":"SessionLawNotFoundError ยท object"},"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-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"examples"},"b637f69d-3eb0-481b-b971-c4cb4b196b05":{"description":"Idempotency conflict. `idempotency_in_progress`: the original request with this key is still running (retry after `Retry-After`). `idempotency_replay_unavailable`: it completed but its response was too large to replay; nothing is charged again, so check the credit balance instead of retrying.","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","corpusType"]],"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":["Input should be 'USC', 'CFR' or 'STATE'"],"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":["literal_error"],"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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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"},"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":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","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"}},"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, 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","corpusType"],"msg":"Input should be 'USC', 'CFR' or 'STATE'","type":"literal_error"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"USC_99_9999","reason":"not_in_registry","didYouMean":["\u003cstring>"]}}},"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-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"a367876a-9537-4dbf-a509-9291ebb2124f":{"description":"A parameter failed validation: `sessionLawId` empty or over 300 characters. Never charged. `errors[].loc` names the parameter exactly as you send it. `idempotency_key_reused`: the `Idempotency-Key` was already used with a different request.","content":{"application/json":{"examples":{"idTooLong":{"title":"idTooLong","value":{"detail":"Invalid request parameters","errors":[{"loc":["path","session_law_id"],"msg":"String should have at most 300 characters","type":"string_too_long"}]}},"emptyId":{"title":"emptyId","value":{"detail":"Invalid request parameters","errors":[{"loc":["path","session_law_id"],"msg":"String should have at least 1 character","type":"string_too_short"}]}}},"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","corpusType"]],"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":["Input should be 'USC', 'CFR' or 'STATE'"],"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":["literal_error"],"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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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"},"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":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","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"}},"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, 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"},"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-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"examples"},"2af5dc0c-09b0-4754-911b-35c07fb301cd":{"description":"Rate limit exceeded for your key. Not charged. Wait `Retry-After` seconds.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}},"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-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"example":{"detail":"Rate limit exceeded. Try again in 12 seconds."},"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","corpusType"]],"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":["Input should be 'USC', 'CFR' or 'STATE'"],"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":["literal_error"],"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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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"},"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":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","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"}},"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, 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":"Rate limit exceeded. Try again in 12 seconds."}}},"exampleType":"examples"}},"exampleType":"examples"},"2ac89aae-22a0-4583-a6fd-bb7ffc15db1a":{"description":"An unexpected failure on our side. The charge is refunded.","content":{"application/json":{"example":{"detail":"Internal server error"},"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","corpusType"]],"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":["Input should be 'USC', 'CFR' or 'STATE'"],"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":["literal_error"],"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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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"},"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":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","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"}},"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, 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":"Internal server error"}}},"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-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"examples"},"8ef5e4ec-ac8d-4ee6-96b9-7db4fb8f52f0":{"description":"The session-laws database is temporarily unavailable. The charge is refunded; retry.","content":{"application/json":{"example":{"detail":"The US session-laws database is temporarily unavailable. Please retry."},"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","corpusType"]],"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":["Input should be 'USC', 'CFR' or 'STATE'"],"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":["literal_error"],"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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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"},"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":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","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"}},"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, 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":"The US session-laws database is temporarily unavailable. Please retry."}}},"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-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"examples"}},"security":{"507a4177-c353-457f-b275-c6e5689326cb":{"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"}},"fd51ae53-9413-4b29-a7c2-32a68ced30e6":{"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":{"72a9d95a-e7d7-4dbe-946e-0f3975dd0517":{"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":"List every served version of a state session law - Vaquill AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/us-session-laws/list-every-served-version-of-a-state-session-law.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=\"Every version of one STATE session law that we served or adopted, newest first, and which of them is current. The text of a law can be corrected after we first serve it (a better extraction of the same source, a re-collection), and the version you read yesterday is then not the one a plain call returns today. This route lists the versions with what identifies each (when we recorded it, its length, its hash, how the text was taken) and how its text can be read. It carries no text: read one version\u0026#x27;s text with GET /us/session-laws/{sessionLawId}/body?version=N. Cost: 1 credit per call, however many versions the law has. A law with a single version answers a list of one and is charged: \u0026quot;this law has never changed\u0026quot; is the answer you paid for. Reading a version\u0026#x27;s text is a separate call at the body price (6 credits per page), the same price as reading the current text. A request that fails validation (422) is never charged; a law that is not found (404) is never charged; a failure on our side (500, 503) is refunded. Id only. This route takes a sessionLawId, not a citation: resolve a citation once with GET /us/session-laws/{sessionLawId} and use the id it returns. A federal id (SAL_...) is a 404 (federal_session_law), as on /body. What a version says. version is the number to send as version on /body. Numbers can have gaps: a version we recorded and never served or adopted is not listed. Exactly one listed version has isCurrent: true, and currentVersion repeats its number: it is the text a plain /body call serves. recordedAt dates OUR copy of the text, never the act (see approvedDate on the law for that). totalChars and textSha256 identify the text: two versions with the same hash have the same text, and only the record around it changed. citation, title and approvedDate are as that version recorded them, so a correction that fixed a title shows here. How a version\u0026#x27;s text can be read. textAccess says what reading it takes. served: a plain call to /body?version=N reads it. includeUnverified: the law is held back (textStatus: withheld) and this text is readable only with includeUnverified=true, labelled by textReliability and reasonCode so you know it may show deleted or vetoed law as if it were enacted. none: there is no text to read for this version, or the law\u0026#x27;s text may not be published (a licence that bars use, or text that failed our own validation). The law-level textStatus, textReliability and reasonCode are the same fields, and mean the same, as on /body. textReliability is omitted when no text of the law may be read, and reasonCode when the law is served and verified. Reading an older version. Send version=N to /body. The page, its nextCursor and textSha256 belong to that version\u0026#x27;s text, so a cursor from one version is a 409 on another. To check that nothing changed under you, compare textSha256 here with the one you read. Example bash curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; # then read the first version\u0026#x27;s text, one page at the body price curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?version=1\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; ``javascript const id = \u0026quot;SSL_MN_2025S1_G_Y2025_C1\u0026quot;; const res = await fetch(https://api.vaquill.ai/api/v1/us/session-laws/${encodeURIComponent(id)}/versions, { headers: { Authorization: Bearer ${process.env.VAQUILL_API_KEY} }, }); const { versions, currentVersion } = await res.json(); const older = versions.filter((v) =\u0026gt; !v.isCurrent \u0026amp;\u0026amp; v.textAccess === \u0026quot;served\u0026quot;); ` Related endpoints - GET /us/session-laws/{sessionLawId}/body reads the text of the current version, or of the one you name with version. It also takes includeUnverified=true for a law we hold back. - GET /us/session-laws/{sessionLawId} is the law\u0026#x27;s record (dates, sources, code sections affected, whether its text is held); it always describes the current version. - GET /us/session-laws/changes is the registry\u0026#x27;s change feed: a corrected entry there is how you learn that a copy of a law you hold may be stale, and this route is where you see what changed. - GET /us/statutes/coverage says which sessions we hold and how complete each is, under each jurisdiction\u0026#x27;s sessionLaws block. - Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read them with GET /us/statutes/section/{actId}. Nulls. A field of a version with no value (citation, title, approvedDate, totalChars, textSha256, textMethod, amendatoryMarkup, markupConvention) is null. textReliability and reasonCode on the law are the exception: they are OMITTED when they do not apply, never null. The examples on this page leave the nulls out for brevity. Rate limits. Calls count against your key\u0026#x27;s per-minute budget like every Data API route; a 429 carries Retry-After`.\">\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=\"List every served version of a state session law - Vaquill AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every version of one STATE session law that we served or adopted, newest first, and which of them is current. The text of a law can be corrected after we first serve it (a better extraction of the same source, a re-collection), and the version you read yesterday is then not the one a plain call returns today. This route lists the versions with what identifies each (when we recorded it, its length, its hash, how the text was taken) and how its text can be read. It carries no text: read one version\u0026#x27;s text with GET /us/session-laws/{sessionLawId}/body?version=N. Cost: 1 credit per call, however many versions the law has. A law with a single version answers a list of one and is charged: \u0026quot;this law has never changed\u0026quot; is the answer you paid for. Reading a version\u0026#x27;s text is a separate call at the body price (6 credits per page), the same price as reading the current text. A request that fails validation (422) is never charged; a law that is not found (404) is never charged; a failure on our side (500, 503) is refunded. Id only. This route takes a sessionLawId, not a citation: resolve a citation once with GET /us/session-laws/{sessionLawId} and use the id it returns. A federal id (SAL_...) is a 404 (federal_session_law), as on /body. What a version says. version is the number to send as version on /body. Numbers can have gaps: a version we recorded and never served or adopted is not listed. Exactly one listed version has isCurrent: true, and currentVersion repeats its number: it is the text a plain /body call serves. recordedAt dates OUR copy of the text, never the act (see approvedDate on the law for that). totalChars and textSha256 identify the text: two versions with the same hash have the same text, and only the record around it changed. citation, title and approvedDate are as that version recorded them, so a correction that fixed a title shows here. How a version\u0026#x27;s text can be read. textAccess says what reading it takes. served: a plain call to /body?version=N reads it. includeUnverified: the law is held back (textStatus: withheld) and this text is readable only with includeUnverified=true, labelled by textReliability and reasonCode so you know it may show deleted or vetoed law as if it were enacted. none: there is no text to read for this version, or the law\u0026#x27;s text may not be published (a licence that bars use, or text that failed our own validation). The law-level textStatus, textReliability and reasonCode are the same fields, and mean the same, as on /body. textReliability is omitted when no text of the law may be read, and reasonCode when the law is served and verified. Reading an older version. Send version=N to /body. The page, its nextCursor and textSha256 belong to that version\u0026#x27;s text, so a cursor from one version is a 409 on another. To check that nothing changed under you, compare textSha256 here with the one you read. Example bash curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; # then read the first version\u0026#x27;s text, one page at the body price curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?version=1\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; ``javascript const id = \u0026quot;SSL_MN_2025S1_G_Y2025_C1\u0026quot;; const res = await fetch(https://api.vaquill.ai/api/v1/us/session-laws/${encodeURIComponent(id)}/versions, { headers: { Authorization: Bearer ${process.env.VAQUILL_API_KEY} }, }); const { versions, currentVersion } = await res.json(); const older = versions.filter((v) =\u0026gt; !v.isCurrent \u0026amp;\u0026amp; v.textAccess === \u0026quot;served\u0026quot;); ` Related endpoints - GET /us/session-laws/{sessionLawId}/body reads the text of the current version, or of the one you name with version. It also takes includeUnverified=true for a law we hold back. - GET /us/session-laws/{sessionLawId} is the law\u0026#x27;s record (dates, sources, code sections affected, whether its text is held); it always describes the current version. - GET /us/session-laws/changes is the registry\u0026#x27;s change feed: a corrected entry there is how you learn that a copy of a law you hold may be stale, and this route is where you see what changed. - GET /us/statutes/coverage says which sessions we hold and how complete each is, under each jurisdiction\u0026#x27;s sessionLaws block. - Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read them with GET /us/statutes/section/{actId}. Nulls. A field of a version with no value (citation, title, approvedDate, totalChars, textSha256, textMethod, amendatoryMarkup, markupConvention) is null. textReliability and reasonCode on the law are the exception: they are OMITTED when they do not apply, never null. The examples on this page leave the nulls out for brevity. Rate limits. Calls count against your key\u0026#x27;s per-minute budget like every Data API route; a 429 carries Retry-After`.\">\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-session-laws/list-every-served-version-of-a-state-session-law\">\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+Session+Laws\u0026amp;title=List+every+served+version+of+a+state+session+law\u0026amp;description=Every+version+of+one+STATE+session+law+that+we+served+or+adopted%2C+newest+first%2C+and+which+of+them+is%0Acurrent.+The+text+of+a+law+can+be+corrected+after+we+first+\u0026amp;theme=c0fd5b007b30a7a110519c4a\u0026amp;signature=5c7c2cf31be994d5e4f00c1495d352f722f1c7a1dc3ab776188fb676e0fbf403\">\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=\"List every served version of a state session law - Vaquill AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every version of one STATE session law that we served or adopted, newest first, and which of them is current. The text of a law can be corrected after we first serve it (a better extraction of the same source, a re-collection), and the version you read yesterday is then not the one a plain call returns today. This route lists the versions with what identifies each (when we recorded it, its length, its hash, how the text was taken) and how its text can be read. It carries no text: read one version\u0026#x27;s text with GET /us/session-laws/{sessionLawId}/body?version=N. Cost: 1 credit per call, however many versions the law has. A law with a single version answers a list of one and is charged: \u0026quot;this law has never changed\u0026quot; is the answer you paid for. Reading a version\u0026#x27;s text is a separate call at the body price (6 credits per page), the same price as reading the current text. A request that fails validation (422) is never charged; a law that is not found (404) is never charged; a failure on our side (500, 503) is refunded. Id only. This route takes a sessionLawId, not a citation: resolve a citation once with GET /us/session-laws/{sessionLawId} and use the id it returns. A federal id (SAL_...) is a 404 (federal_session_law), as on /body. What a version says. version is the number to send as version on /body. Numbers can have gaps: a version we recorded and never served or adopted is not listed. Exactly one listed version has isCurrent: true, and currentVersion repeats its number: it is the text a plain /body call serves. recordedAt dates OUR copy of the text, never the act (see approvedDate on the law for that). totalChars and textSha256 identify the text: two versions with the same hash have the same text, and only the record around it changed. citation, title and approvedDate are as that version recorded them, so a correction that fixed a title shows here. How a version\u0026#x27;s text can be read. textAccess says what reading it takes. served: a plain call to /body?version=N reads it. includeUnverified: the law is held back (textStatus: withheld) and this text is readable only with includeUnverified=true, labelled by textReliability and reasonCode so you know it may show deleted or vetoed law as if it were enacted. none: there is no text to read for this version, or the law\u0026#x27;s text may not be published (a licence that bars use, or text that failed our own validation). The law-level textStatus, textReliability and reasonCode are the same fields, and mean the same, as on /body. textReliability is omitted when no text of the law may be read, and reasonCode when the law is served and verified. Reading an older version. Send version=N to /body. The page, its nextCursor and textSha256 belong to that version\u0026#x27;s text, so a cursor from one version is a 409 on another. To check that nothing changed under you, compare textSha256 here with the one you read. Example bash curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; # then read the first version\u0026#x27;s text, one page at the body price curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?version=1\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; ``javascript const id = \u0026quot;SSL_MN_2025S1_G_Y2025_C1\u0026quot;; const res = await fetch(https://api.vaquill.ai/api/v1/us/session-laws/${encodeURIComponent(id)}/versions, { headers: { Authorization: Bearer ${process.env.VAQUILL_API_KEY} }, }); const { versions, currentVersion } = await res.json(); const older = versions.filter((v) =\u0026gt; !v.isCurrent \u0026amp;\u0026amp; v.textAccess === \u0026quot;served\u0026quot;); ` Related endpoints - GET /us/session-laws/{sessionLawId}/body reads the text of the current version, or of the one you name with version. It also takes includeUnverified=true for a law we hold back. - GET /us/session-laws/{sessionLawId} is the law\u0026#x27;s record (dates, sources, code sections affected, whether its text is held); it always describes the current version. - GET /us/session-laws/changes is the registry\u0026#x27;s change feed: a corrected entry there is how you learn that a copy of a law you hold may be stale, and this route is where you see what changed. - GET /us/statutes/coverage says which sessions we hold and how complete each is, under each jurisdiction\u0026#x27;s sessionLaws block. - Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read them with GET /us/statutes/section/{actId}. Nulls. A field of a version with no value (citation, title, approvedDate, totalChars, textSha256, textMethod, amendatoryMarkup, markupConvention) is null. textReliability and reasonCode on the law are the exception: they are OMITTED when they do not apply, never null. The examples on this page leave the nulls out for brevity. Rate limits. Calls count against your key\u0026#x27;s per-minute budget like every Data API route; a 429 carries Retry-After`.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vaquill.mintlify.site/docs/_mintlify/api/og/v2?division=US+Session+Laws\u0026amp;title=List+every+served+version+of+a+state+session+law\u0026amp;description=Every+version+of+one+STATE+session+law+that+we+served+or+adopted%2C+newest+first%2C+and+which+of+them+is%0Acurrent.+The+text+of+a+law+can+be+corrected+after+we+first+\u0026amp;theme=c0fd5b007b30a7a110519c4a\u0026amp;signature=5c7c2cf31be994d5e4f00c1495d352f722f1c7a1dc3ab776188fb676e0fbf403\">\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-session-laws/list-every-served-version-of-a-state-session-law\">\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-session-laws/list-every-served-version-of-a-state-session-law.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-session-laws/list-every-served-version-of-a-state-session-law#webpage\",\"url\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/list-every-served-version-of-a-state-session-law\",\"name\":\"List every served version of a state session law\",\"description\":\"Every version of one STATE session law that we served or adopted, newest first, and which of them is current. The text of a law can be corrected after we first serve it (a better extraction of the same source, a re-collection), and the version you read yesterday is then not the one a plain call returns today. This route lists the versions with what identifies each (when we recorded it, its length, its hash, how the text was taken) and how its text can be read. It carries no text: read one version's text with GET /us/session-laws/{sessionLawId}/body?version=N. Cost: 1 credit per call, however many versions the law has. A law with a single version answers a list of one and is charged: \\\"this law has never changed\\\" is the answer you paid for. Reading a version's text is a separate call at the body price (6 credits per page), the same price as reading the current text. A request that fails validation (422) is never charged; a law that is not found (404) is never charged; a failure on our side (500, 503) is refunded. Id only. This route takes a sessionLawId, not a citation: resolve a citation once with GET /us/session-laws/{sessionLawId} and use the id it returns. A federal id (SAL_...) is a 404 (federal_session_law), as on /body. What a version says. version is the number to send as version on /body. Numbers can have gaps: a version we recorded and never served or adopted is not listed. Exactly one listed version has isCurrent: true, and currentVersion repeats its number: it is the text a plain /body call serves. recordedAt dates OUR copy of the text, never the act (see approvedDate on the law for that). totalChars and textSha256 identify the text: two versions with the same hash have the same text, and only the record around it changed. citation, title and approvedDate are as that version recorded them, so a correction that fixed a title shows here. How a version's text can be read. textAccess says what reading it takes. served: a plain call to /body?version=N reads it. includeUnverified: the law is held back (textStatus: withheld) and this text is readable only with includeUnverified=true, labelled by textReliability and reasonCode so you know it may show deleted or vetoed law as if it were enacted. none: there is no text to read for this version, or the law's text may not be published (a licence that bars use, or text that failed our own validation). The law-level textStatus, textReliability and reasonCode are the same fields, and mean the same, as on /body. textReliability is omitted when no text of the law may be read, and reasonCode when the law is served and verified. Reading an older version. Send version=N to /body. The page, its nextCursor and textSha256 belong to that version's text, so a cursor from one version is a 409 on another. To check that nothing changed under you, compare textSha256 here with the one you read. Example bash curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" # then read the first version's text, one page at the body price curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?version=1\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" ``javascript const id = \\\"SSL_MN_2025S1_G_Y2025_C1\\\"; const res = await fetch(https://api.vaquill.ai/api/v1/us/session-laws/${encodeURIComponent(id)}/versions, { headers: { Authorization: Bearer ${process.env.VAQUILL_API_KEY} }, }); const { versions, currentVersion } = await res.json(); const older = versions.filter((v) => !v.isCurrent \u0026\u0026 v.textAccess === \\\"served\\\"); ` Related endpoints - GET /us/session-laws/{sessionLawId}/body reads the text of the current version, or of the one you name with version. It also takes includeUnverified=true for a law we hold back. - GET /us/session-laws/{sessionLawId} is the law's record (dates, sources, code sections affected, whether its text is held); it always describes the current version. - GET /us/session-laws/changes is the registry's change feed: a corrected entry there is how you learn that a copy of a law you hold may be stale, and this route is where you see what changed. - GET /us/statutes/coverage says which sessions we hold and how complete each is, under each jurisdiction's sessionLaws block. - Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read them with GET /us/statutes/section/{actId}. Nulls. A field of a version with no value (citation, title, approvedDate, totalChars, textSha256, textMethod, amendatoryMarkup, markupConvention) is null. textReliability and reasonCode on the law are the exception: they are OMITTED when they do not apply, never null. The examples on this page leave the nulls out for brevity. Rate limits. Calls count against your key's per-minute budget like every Data API route; a 429 carries Retry-After`.\",\"isPartOf\":{\"@id\":\"https://www.vaquill.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/list-every-served-version-of-a-state-session-law#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/list-every-served-version-of-a-state-session-law#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"US Session Laws\",\"item\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/feed-of-changes-to-the-session-law-registry\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List every served version of a state session law\",\"item\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/list-every-served-version-of-a-state-session-law\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/list-every-served-version-of-a-state-session-law#apireference\",\"headline\":\"List every served version of a state session law\",\"name\":\"List every served version of a state session law\",\"description\":\"Every version of one STATE session law that we served or adopted, newest first, and which of them is current. The text of a law can be corrected after we first serve it (a better extraction of the same source, a re-collection), and the version you read yesterday is then not the one a plain call returns today. This route lists the versions with what identifies each (when we recorded it, its length, its hash, how the text was taken) and how its text can be read. It carries no text: read one version's text with GET /us/session-laws/{sessionLawId}/body?version=N. Cost: 1 credit per call, however many versions the law has. A law with a single version answers a list of one and is charged: \\\"this law has never changed\\\" is the answer you paid for. Reading a version's text is a separate call at the body price (6 credits per page), the same price as reading the current text. A request that fails validation (422) is never charged; a law that is not found (404) is never charged; a failure on our side (500, 503) is refunded. Id only. This route takes a sessionLawId, not a citation: resolve a citation once with GET /us/session-laws/{sessionLawId} and use the id it returns. A federal id (SAL_...) is a 404 (federal_session_law), as on /body. What a version says. version is the number to send as version on /body. Numbers can have gaps: a version we recorded and never served or adopted is not listed. Exactly one listed version has isCurrent: true, and currentVersion repeats its number: it is the text a plain /body call serves. recordedAt dates OUR copy of the text, never the act (see approvedDate on the law for that). totalChars and textSha256 identify the text: two versions with the same hash have the same text, and only the record around it changed. citation, title and approvedDate are as that version recorded them, so a correction that fixed a title shows here. How a version's text can be read. textAccess says what reading it takes. served: a plain call to /body?version=N reads it. includeUnverified: the law is held back (textStatus: withheld) and this text is readable only with includeUnverified=true, labelled by textReliability and reasonCode so you know it may show deleted or vetoed law as if it were enacted. none: there is no text to read for this version, or the law's text may not be published (a licence that bars use, or text that failed our own validation). The law-level textStatus, textReliability and reasonCode are the same fields, and mean the same, as on /body. textReliability is omitted when no text of the law may be read, and reasonCode when the law is served and verified. Reading an older version. Send version=N to /body. The page, its nextCursor and textSha256 belong to that version's text, so a cursor from one version is a 409 on another. To check that nothing changed under you, compare textSha256 here with the one you read. Example bash curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" # then read the first version's text, one page at the body price curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?version=1\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" ``javascript const id = \\\"SSL_MN_2025S1_G_Y2025_C1\\\"; const res = await fetch(https://api.vaquill.ai/api/v1/us/session-laws/${encodeURIComponent(id)}/versions, { headers: { Authorization: Bearer ${process.env.VAQUILL_API_KEY} }, }); const { versions, currentVersion } = await res.json(); const older = versions.filter((v) => !v.isCurrent \u0026\u0026 v.textAccess === \\\"served\\\"); ` Related endpoints - GET /us/session-laws/{sessionLawId}/body reads the text of the current version, or of the one you name with version. It also takes includeUnverified=true for a law we hold back. - GET /us/session-laws/{sessionLawId} is the law's record (dates, sources, code sections affected, whether its text is held); it always describes the current version. - GET /us/session-laws/changes is the registry's change feed: a corrected entry there is how you learn that a copy of a law you hold may be stale, and this route is where you see what changed. - GET /us/statutes/coverage says which sessions we hold and how complete each is, under each jurisdiction's sessionLaws block. - Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read them with GET /us/statutes/section/{actId}. Nulls. A field of a version with no value (citation, title, approvedDate, totalChars, textSha256, textMethod, amendatoryMarkup, markupConvention) is null. textReliability and reasonCode on the law are the exception: they are OMITTED when they do not apply, never null. The examples on this page leave the nulls out for brevity. Rate limits. Calls count against your key's per-minute budget like every Data API route; a 429 carries Retry-After`.\",\"url\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/list-every-served-version-of-a-state-session-law\",\"mainEntityOfPage\":{\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/list-every-served-version-of-a-state-session-law#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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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","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":"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"}]},{"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":"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","description":"Find state session laws by what they SAY. Send a question in plain words, words from a title, a quoted\nphrase, a citation (`63-3004`), a code section or a bill number (`S.F.No. 1552`). You get the laws, best\nfirst, each with the passage of its text that matched and a snippet around your words.\n\n**Cost**: 4 credits per page, each page a new search. An empty result is an answer (\"nothing\nmatches\") and is charged. A request that fails validation (422) is never charged; a failure on our side\n(500, 503) is refunded. To read a law you found, use `GET /us/session-laws/{sessionLawId}` (record) or\nits `/body` (text), which are priced on their own.\n\n**What is searched.** The ENACTED text: the law as it reads once the act takes effect. Language an act\nstrikes out is not searched and never appears in a snippet, so a repealed word cannot match as if it were\nlaw. Only laws we serve with text are searched (see `GET /us/statutes/coverage`, `sessionLaws`, for what\neach state holds). Laws whose text we withhold are not returned, unless you send `includeUnverified`\n(default `false`): then a withheld law whose reason we can label may appear, each such result carrying\n`holdingState: quarantined`, `textReliability` and `reasonCode`, and it is matched by its title, code\nsection, citation or bill number rather than by the words of its text.\n\n**How it ranks.** Keyword relevance (BM25), not meaning. Words are matched as written and stemmed\n(`licensing` finds `licensed`), so a question has to share vocabulary with the act:\n`teeth cleaning professional` does not find an act that says `dental hygienist`. A law matched by its\ntitle AND its text, or by an exact part of your query, ranks above one matched a single way. Quote a\nphrase to require it verbatim.\n\n**What a result says about itself.** `matchType` is `exact` when a quoted phrase, citation, code\nsection or bill number you typed matched, otherwise `text`; `matchedBy` lists every way. Neither says\nthe law is the right one: a question with no true answer still returns its closest words, and there is no\n\"no good match\" flag because keyword scores do not separate the two cases. Read the snippet.\n\n**Paging.** `limit` is 1 to 25. `offset` plus `limit` reaches at most the 60 best matches; narrow with\n`jurisdiction`, `session`, `series`, `instrumentType` or the approval dates rather than paging deeper.\n\n```bash\ncurl -X POST \"https://api.vaquill.ai/api/v1/us/session-laws/search\" \\\n -H \"Authorization: Bearer vq_key_...\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\"query\": \"can the sheriff pay with a debit card\", \"jurisdiction\": \"al\", \"limit\": 5}'\n```\n\n```javascript\nconst res = await fetch(\"https://api.vaquill.ai/api/v1/us/session-laws/search\", {\n method: \"POST\",\n headers: { Authorization: \"Bearer vq_key_...\", \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ query: '\"credit card or debit card\"', jurisdiction: \"al\", limit: 5 }),\n});\nconst { results } = await res.json();\n```\n\n**Related.** `GET /us/session-laws/list` filters one state's laws by session, series and date;\n`POST /us/session-laws/batch` reads up to 50 laws by id; `GET /us/statutes/section/{actId}/enactments`\nlists the acts a publisher's own tables tie to a code section.","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","description":"List the session laws of one state: every act its legislature enacted, filtered\nby session, approval date or effective date. This is how you ask \"what became law\nin Texas this session\", \"what was signed in April\" or \"what takes effect on\nSeptember 1, 2025\", and how you turn the answer into `sessionLawId`s for the get\nand body endpoints. A session law is the act as enacted, before it is folded into\na code; v1 serves STATE acts.\n\n**Cost**: 1 credit per page of up to 200 rows (default\n50), however many rows the page holds. An empty page is an answer and is\ncharged when it means nothing matches your filters. A request that fails validation (422)\nis never charged; a failure on our side (500, 503) is refunded.\n\n**Empty pages.** A page with no rows carries `coverage`, what we hold of the session you\nnamed (or of the state, when you named none), so you can tell \"nothing matches\" from \"we\nhave not collected this\". `coverage.status` is `complete` (we hold every law the publisher\nlists for it: the empty page is a true negative, and it is charged), `partial` (the\ncollection stopped short, so the law you want may exist) or `not_held` (we hold nothing of\nit). On `partial` and `not_held` the page is NOT charged and `creditsConsumed` is 0: we\ndo not bill an empty answer that may be our gap. The one exception is a request that\nnames only the state, where some sessions we hold are complete and some partial: the page\nis charged, since for the complete ones it is a true negative, and `coverage.partialSessions`\nnames the sessions to doubt (send one as `session` to ask about it alone). If coverage\ncannot be read the page is charged as before and `coverage` is omitted.\n\n**Filters.** `jurisdiction` is required and scopes everything; the rest narrow it\nand combine with AND. A value that is malformed is a 422, and so is a range whose end is before its\nstart (`approvedTo` before `approvedFrom`, `effectiveTo` before `effectiveFrom`). A value that is well\nformed and matches nothing (an unknown `session`, a date range with no laws) is a\n200 with `results: []`. Dates are `YYYY-MM-DD`.\n\n- Everything from one session: `session` (`2025R`, `2025S1`).\n- Approved in a window: `approvedFrom` / `approvedTo`.\n- Taking effect in a window: `effectiveFrom` / `effectiveTo`. For one day send the\n same date to both. This matches laws whose first-to-last effective dates overlap\n your window, so read `effectiveFirst` and `effectiveLast` on each row and\n `effectiveDates` on the law. A law with no held effective date (not every state\n prints them) never matches.\n- Narrow by `series`, `instrumentType`, `hasText` or `textStatus`.\n- What became law and what did not: `isLaw` (`false` for the vetoed and pocket-vetoed\n measures; a measure whose outcome does not settle it has a null `isLaw` and matches\n neither value) and `enactmentOutcome`, repeated for several outcomes\n (`enactmentOutcome=vetoed\u0026enactmentOutcome=pocket_veto`).\n- A sync job: `updatedSince` returns the laws whose record changed on or after a date\n (midnight UTC, by `updatedAt`), so a job that stores its last run pulls only what is new\n or corrected.\n- Find by words: `q`, a case-insensitive substring of the `title` or the bill number as\n the publisher prints it (3 to 100 characters). It is a substring match inside one\n state, not a search engine.\n- A derived approval date (`approvedDateDerived: true`) is not matched by `approvedFrom`\n and `approvedTo`, which read the registry's own approval date.\n\n**Paging.** Rows come in `session.code` order, then `sessionLawId`, both as TEXT in the\ndatabase's collation, not in chapter order: `..._C10` sorts before `..._C2`, and the id's\nseries and numbering-year segments sort before the chapter. Sort client-side by `number`\nif you need chapter order. The order is the same on every page and for every filter,\nso a cursor never skips or repeats a row. Send\n`nextCursor` back as `cursor`, with the same filters, while `hasMore` is true (a\ncursor sent with different filters is a 422, `cursor_query_mismatch`: restart\nwithout it). The cursor is a keyset (it names the last row you saw), so laws added between your\ncalls never repeat or skip a row you have passed. `count` is the size of this\npage, never a total.\n\n**Text.** Rows include laws whose text we do not hold (`textStatus: not_held`) or\nhold and withhold (`withheld`, with `withheldReason`): the row is still a real law.\nPass `hasText=true` for just the laws `/{sessionLawId}/body` will serve. A row is\nthe summary only: the full dates, sources and code sections are on\n`GET /us/session-laws/{sessionLawId}`. Each row carries `charCount` and\n`estimatedBodyPages`, so you can price reading a law before you open it.\n`citableAs` is the law cited the way a lawyer writes it (`Minn. Laws 2025, ch. 1`), and\n`licenseNote` says what its licence class permits.\n\n**Cost of reading a law.** Reading a whole law is `estimatedBodyPages` times the price\nof one body page (6 credits). Both are on the record: `charCount` is its length\nin characters and `estimatedBodyPages` is that divided by the page size (about\n30,000 characters), rounded up, and null unless the text is served. Most acts\ntake a page or two. The longest we hold, Ohio's 2025 budget act (HB 96, 9,571,132\ncharacters), takes about 320 pages, 1,920 credits to read in\nfull, so check `estimatedBodyPages` before you page through an omnibus act. Each body\nresponse then carries `pagePrice` (what that page cost) and `estimatedRemainingCredits`\n(the pages still to come times the price) so you can stop whenever you have enough.\n\n**Example**\n\n```bash\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/list?jurisdiction=tx\u0026effectiveFrom=2025-09-01\u0026effectiveTo=2025-09-01\u0026limit=25\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# only what changed since your last sync, and only measures that did not become law\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/list?jurisdiction=mn\u0026updatedSince=2026-10-01\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/list?jurisdiction=mn\u0026isLaw=false\u0026enactmentOutcome=vetoed\u0026enactmentOutcome=pocket_veto\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# find by words in the title or the printed bill number\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/list?jurisdiction=mn\u0026q=court%20fees\" -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n```\n\n```javascript\nconst url = new URL(\"https://api.vaquill.ai/api/v1/us/session-laws/list\");\nurl.search = new URLSearchParams({ jurisdiction: \"mn\", session: \"2025R\" });\nconst res = await fetch(url, {\n headers: { Authorization: `Bearer ${process.env.VAQUILL_API_KEY}` },\n});\nconst { results, nextCursor, hasMore } = await res.json();\n```\n\n**Related endpoints**\n\n- `GET /us/statutes/resolve` answers a citation that names a state session law\n rather than a code section with a `sessionLaw` block (`matched`, or `ambiguous`\n with every candidate), pointing here. It never changes `resolved` or `section`.\n- `GET /us/statutes/coverage` lists, per jurisdiction under `sessionLaws`, which\n sessions we hold session laws for and whether each is `complete` or `partial`.\n Read it first: a law missing from a `partial` session is not evidence that it\n does not exist.\n- Federal session laws (the Statutes at Large, `SAL_` ids) are not served here. Read\n them with `GET /us/statutes/section/{actId}`.\n\n**Nulls.** Every field of a response is always present: one with no value is `null`\n(or `[]` for a list). The examples on this page leave the nulls out for brevity. The\nexceptions are blocks that exist only when they apply and are OMITTED otherwise, never\nnull: `publisher`, `provenance` and `session.coverageStatus` on a law, and `coverage` on a\nlist page that has rows.\n\n**Rate limits.** Calls count against your key's per-minute budget like every Data\nAPI route; a 429 carries `Retry-After`.","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 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"}]}]},{"tab":"India API reference","pages":[{"title":"India API reference","href":"/api-guide/coverage/india"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]}]},"basePath":"","title":"List every served version of a state session law - Vaquill AI","buildId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","deploymentId":"dpl_BSPUBxEoKhhK7HzXVDPxdPvWx4xc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Do6EtGSl.js","utils-id4tQ6My.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-Byrixac4.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-nakYa3Zl.js","snippetPresets-Bq-pUS7h.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CujTC_9K.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-FneVUsVu.js","shallow-DY9WpUCz.js","getApiPlaygroundDisplay-Bz8WpPfA.js","CodeSnippet-DgCuJg4G.js","CodeSnippets-Dub9c4T0.js","Page-CePXnjd1.js","getPastedJson-xdI8y2XB.js","icon--yVw5vkr.js","MethodPill-C47t7MdS.js","DuplicateIcon-BzwJ2LeC.js","createIcon-BzggGy84.js","DynamicMarkdown-AlxJK8VR.js","SectionHeading-CMlwFxdK.js","axios-vUo_bRtp.js","Markdown-BNgNrPsi.js","clsx-apD-Q0Oo.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-qmLwQyWY.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Dc4qTkWx.js"]}