Get a state session law's text, current or a past version
The act’s text exactly as printed, one page of about 30,000 characters at a
time, cut at a paragraph break where one is near. Follow nextCursor while
hasMore is true; pageStart / pageEnd / totalChars are character offsets
into the whole text, and concatenating the pages in order reproduces it.
Cost: 6 credits per page served. Read estimatedBodyPages on the law first
(charCount divided by about 30,000). A short act is one page; an omnibus act can
be many. Each page is charged on its own, so you can stop whenever you have enough.
pagePrice is what this page cost, totalPages the estimated pages in all, and
estimatedRemainingCredits the pages still to come times the price.
Cost of reading a law. Reading a whole law is estimatedBodyPages times the price
of one body page (6 credits). Both are on the record: charCount is its length
in characters and estimatedBodyPages is that divided by the page size (about
30,000 characters), rounded up, and null unless the text is served. Most acts
take a page or two. The longest we hold, Ohio’s 2025 budget act (HB 96, 9,571,132
characters), takes about 320 pages, 1,920 credits to read in
full, so check estimatedBodyPages before you page through an omnibus act. Each body
response then carries pagePrice (what that page cost) and estimatedRemainingCredits
(the pages still to come times the price) so you can stop whenever you have enough.
Where a page starts. Follow nextCursor from the page before, or send startChar,
a character offset into the text (0-based, the scale of pageStart and totalChars),
to jump straight to a place you know without paging from the start. Send one or the
other, never both (a 422, uncharged). A startChar page costs and sizes the same as any
other, and returns a normal signed nextCursor. startChar has no version binding of
its own, so add expectTextSha256 (the textSha256 you read the text under, in
lowercase hex, 16 characters or more): if the text was re-collected since, the answer is
a 409 and nothing is charged. A startChar at or beyond the end is a 422, refunded.
There is no page-size parameter: a page is always about 30,000 characters, so
its price is fixed.
Attribution. Every outcome carries citation, jurisdiction, session,
approvedDate and sourceUrl, so a page is attributable on its own. sourceUrl is the
official copy on a government host and is present when the text is withheld or not held,
so a reader always has somewhere to go.
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.
Not served, not charged. When we do not serve the text (textStatus is not
held), the answer is a 200 with available: false and a reason (not_held,
withheld, pending or empty_text), creditsConsumed: 0, the
withheldReason for a withheld law, and the official sourceUrl. A federal id (SAL_...) is a 404
(federal_session_law); read federal session laws with
GET /us/statutes/section/{actId}. An unknown id is a 404; a stale cursor or a mismatched expectTextSha256 is a 409
(start again without cursor); a malformed or expired cursor, cursor with startChar,
or a startChar past the end is a 422. None of these is
charged, and a failure on our side (500, 503) is refunded.
Past versions: version. A law’s text can be corrected after we first serve it, and we keep every
version we served or adopted. List them with GET /us/session-laws/{sessionLawId}/versions, then send
one of those numbers as version to read that version’s text. Omit it for the current version. The
response then names version and isCurrentVersion, and the page, nextCursor and textSha256 belong
to that version, so a cursor from one version is a 409 on another. The price is unchanged: 6
credits per page, whichever version you read. A version the law does not have is a 404 and is
refunded; below 1 is a 422 and never charged. Without version (and without includeUnverified)
the response is exactly what it was before these parameters existed.
Text we hold back: includeUnverified. A law whose text has a defect we have not cleared is
withheld, and by default /body answers available: false, free. Send includeUnverified=true to
read its text anyway when the reason it is held back is one we can label. The page then carries
textReliability (unverified: a check has not been completed, or known_issue: we have evidence of
the defect), a stable reasonCode and a one-sentence notice to show beside the text: the text MAY
show deleted (struck) or vetoed law as if it were enacted, so check the printed act at sourceUrl
before relying on it. The codes that serve the text, flagged, are markup_unverified,
strike_unchecked, struck_text_shown_as_current, struck_text_merged, veto_unchecked and
licence_unconfirmed. Some text is never served, opted in or not: a law whose licence bars use
(licence_barred), text that failed our own validation (validation_failed), a session we cannot yet
tell apart from another (session_unresolved), a source we have not yet audited (collector_unaudited)
and a reason we have not classified (unclassified).
Those answer available: false, free, with the reasonCode and no text. A served law with
includeUnverified=true reads as usual and says textReliability: verified. A page you read this way
costs 6 credits like any other, and it can be combined with version. The fields version,
isCurrentVersion, textReliability, reasonCode and notice are OMITTED unless you asked for them.
Amendatory markup. An amending act prints the language it deletes and inserts.
Where amendatoryMarkup is preserved, that markup is in text in the convention
markupConvention names: wdiff writes deleted language [-like this-] and
inserted language {+like this+}; publisher_literal keeps the publisher’s own
markers as printed (Minnesota’s new text begin and deleted text begin); mixed
has both. Where it is lost, the publisher printed markup our text does not keep,
so deleted words can read as law: check the source before quoting. Only the as
printed text is served; there is no clean “as enacted” view.
Example
curl "https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body" \ -H "Authorization: Bearer $VAQUILL_API_KEY"# jump to a character offset, pinned to the version of the text you readcurl "https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?startChar=29987&expectTextSha256=02693d5b55d4709b" \ -H "Authorization: Bearer $VAQUILL_API_KEY"# an older version of the text (list the versions first)curl "https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions" \ -H "Authorization: Bearer $VAQUILL_API_KEY"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"# the text of a law we hold back, labelled with how far to trust itcurl "https://api.vaquill.ai/api/v1/us/session-laws/SSL_LA_2025R_G_C2/body?includeUnverified=true" \ -H "Authorization: Bearer $VAQUILL_API_KEY"
const MY_BUDGET = 100; // the most you will spend to finish reading, in creditslet cursor;let text = "";do { const url = new URL("https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body"); if (cursor) url.searchParams.set("cursor", cursor); const res = await fetch(url, { headers: { Authorization: `Bearer ${process.env.VAQUILL_API_KEY}` }, }); const page = await res.json(); if (!page.available) break; // withheld or not held: page.sourceUrl is the official copy text += page.text; if (page.estimatedRemainingCredits > MY_BUDGET) break; // stop whenever you have enough cursor = page.nextCursor;} while (cursor);
Related endpoints
GET /us/statutes/resolve answers a citation that names a state session law
rather than a code section with a sessionLaw block (matched, or ambiguous
with every candidate), pointing here. It never changes resolved or section.
GET /us/statutes/coverage lists, per jurisdiction under sessionLaws, which
sessions we hold session laws for and whether each is complete or partial.
Read it first: a law missing from a partial session is not evidence that it
does not exist.
Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read
them with GET /us/statutes/section/{actId}.
Nulls. Every field of a response is always present: one with no value is null
(or [] for a list). The examples on this page leave the nulls out for brevity. The
exceptions are blocks that exist only when they apply and are OMITTED otherwise, never
null: publisher, provenance and session.coverageStatus on a law, and coverage on a
list page that has rows.
Rate limits. Calls count against your key’s per-minute budget like every Data
API route; a 429 carries Retry-After.
GET
/
api
/
v1
/
us
/
session-laws
/
{session_law_id}
/
body
Get a state session law's text, current or a past version
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.
Where to resume: the previous page's nextCursor, unchanged. Omit for the first page. It is opaque, signed and tied to the exact text it was cut from: a value we did not issue (reason: invalid_cursor), from an older cursor format (cursor_expired) or past the end of the text (cursor_past_end) is a 422, and one from before the text was re-collected is a 409 (start again without it). None is charged. Send either cursor or startChar, never both (a 422, never charged).
Start the page at this character offset into the text (0-based, the same scale as pageStart and totalChars): an alternative to cursor for jumping to a place you already know, such as the character where a section begins, without paging from the start. The page that comes back is the same size and price as any other, its nextCursor is a normal signed cursor you can follow, and a page is still cut at a paragraph break near its end. Send either startChar or cursor, never both (a 422, never charged). 0 to 100,000,000; a value at or beyond the end of the text is a 422 and is refunded. There is no page-size parameter: the price per page is fixed.
The textSha256 you read the text under, in lowercase hex (the whole 64 characters, or any prefix of 16 or more). When this law's text no longer has that hash (it was re-collected), the answer is a 409 and nothing is charged, exactly as for a cursor cut from an earlier version: use it with startChar, which otherwise has no version binding of its own. Anything that is not 16 to 64 lowercase hex characters is a 422.
Read this version of the act's text instead of the current one: a version from GET /us/session-laws/{sessionLawId}/versions. Omit for the current version. The page, its nextCursor and textSha256 belong to that version's text, so a cursor from one version is a 409 on another. A number that is not one of the law's listed versions is a 404 and is refunded; a value below 1 is a 422 and is never charged. Priced as any body page. On a law we hold back, an older version is readable only with includeUnverified=true, exactly as its current text is.
Opt in to the TEXT of a law we hold but do not serve (textStatus: withheld). Default false: such a law answers available: false, as before, and nothing else changes. With true its text is returned when the reason it is held back is one we can label, and every page then carries textReliability (unverified or known_issue), reasonCode and a notice to show beside the text: the text MAY show deleted or vetoed law as if it were enacted. A law whose licence bars use, or whose text failed our own validation, is never served, opted in or not (available: false with a reasonCode). Priced as any body page. A served law answers as usual, with textReliability: verified.
Example:
true
Response
One page of the act's text, or available: false (not charged) when we do not serve it.
Response for GET /us/session-laws/{sessionLawId}/body.
The act's citation as its publisher prints it, the same as citation on GET /us/session-laws/{sessionLawId}. Carried here so a page is attributable on its own, with no second call.
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).
Date the governor approved the act, ISO 8601, as on GET /us/session-laws/{sessionLawId}: never an effective date. Null when none is held. See approvedDateDerived.
True only when approvedDate was filled from the publisher's dated signature label rather than held as the approval date. See the same field on GET /us/session-laws/{sessionLawId}.
The official page or file this text was collected from, on a government publisher's host. Present on EVERY outcome, a withheld or not-held law included, so a reader is never at a dead end: where we do not serve the text, this is where to read it. Null only when we hold no government text source for the law.
The publisher's page for this act (never a Vaquill URL): the legislature's page for the bill where it keeps one, else sourceUrl. See the same field on GET /us/session-laws/{sessionLawId}.
Present only when textStatus is withheld: what is wrong with the text we hold. A plain sentence to show, not an enum to branch on.
Example:
"LA: struck (deleted) law is merged into the text as if current while the record declares the markup preserved or absent (audit 2026-10-03). Awaiting a re-run with strike and underline recovery."
This page of the act's text, exactly as printed, in reading order. Concatenating every page's text in order reproduces the whole text. Where amendatoryMarkup is preserved, struck and inserted language is in the text in the convention markupConvention names. Null when available is false.
Example:
"CHAPTER 1--S.F.No. 1552\n\nAn act\n\nrelating to agriculture; ..."
Estimated pages in the whole text: totalChars divided by the page size, rounded up. Pages are cut back to a paragraph break, so a long act can run a few percent over. Null when no text is served.
Credits charged for the page in this response, the same as creditsConsumed on this route: the price of one page when a page was served, 0 when none was (available is false). Each further page costs the same.
Estimated credits to read the rest of the text from pageEnd: the pages still to come (totalChars less pageEnd, over the page size, rounded up) times the price of a page. 0 on the last page. Null when no text is served. An estimate: a page cut back to a paragraph break can add a page on a long act. Reading a whole law costs estimatedBodyPages times the price of one body page (6 credits per page on GET /us/session-laws/{sessionLawId}/body). Ohio's 2025 budget act (HB 96) is 9,571,132 characters, about 320 pages or 1,920 credits to read in full; most acts are a page or two.
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.
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.
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.
Opaque cursor for the next page: send it as cursor on the same path. Null on the last page. It is tied to this exact text, so a cursor from before the text was re-collected is a 409.
Which version of the act this page belongs to, the version of GET /us/session-laws/{sessionLawId}/versions. Present only when you sent version or includeUnverified; absent otherwise (the current version).
How far to trust this text. Present when you sent includeUnverified=true, and on every read whose text is not verified. verified: the text passed our strike-through check. unverified: a check has not been completed, so the text MAY show deleted or vetoed law as if enacted. known_issue: we have evidence it does. A served law can be any of the three and its text is served either way. Branch on reasonCode, show notice.
Present when the text is not verified, or when includeUnverified=true refuses it: a stable token, one of markup_unverified, strike_unchecked, struck_text_shown_as_current, struck_text_merged, veto_unchecked, licence_unconfirmed, markup_contradicted, struck_text_evidenced, markup_lost, strike_unconfirmed (the text is served with a flag) or validation_failed, session_unresolved, collector_unaudited, licence_barred, unclassified (the text is not served). The sentence in withheldReason is for people; branch on this.
One plain sentence saying what is uncertain about this text and what to do about it. Present exactly when textReliability is unverified or known_issue. Show it beside the text.
Example:
"Deleted (struck) language in the source has not yet been checked against this text, so it may read as enacted law. Do not rely on this text without checking the printed act."
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/get-a-state-session-laws-text-current-or-a-past-version","slug":"/api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version","pageMetadata":{"title":"Get a state session law's text, current or a past version","description":"The act's text exactly as printed, one page of about 30,000 characters at a\ntime, cut at a paragraph break where one is near. Follow `nextCursor` while\n`hasMore` is true; `pageStart` / `pageEnd` / `totalChars` are character offsets\ninto the whole text, and concatenating the pages in order reproduces it.\n\n**Cost**: 6 credits per page served. Read `estimatedBodyPages` on the law first\n(`charCount` divided by about 30,000). A short act is one page; an omnibus act can\nbe many. Each page is charged on its own, so you can stop whenever you have enough.\n`pagePrice` is what this page cost, `totalPages` the estimated pages in all, and\n`estimatedRemainingCredits` the pages still to come times the price.\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**Where a page starts.** Follow `nextCursor` from the page before, or send `startChar`,\na character offset into the text (0-based, the scale of `pageStart` and `totalChars`),\nto jump straight to a place you know without paging from the start. Send one or the\nother, never both (a 422, uncharged). A `startChar` page costs and sizes the same as any\nother, and returns a normal signed `nextCursor`. `startChar` has no version binding of\nits own, so add `expectTextSha256` (the `textSha256` you read the text under, in\nlowercase hex, 16 characters or more): if the text was re-collected since, the answer is\na 409 and nothing is charged. A `startChar` at or beyond the end is a 422, refunded.\nThere is no page-size parameter: a page is always about 30,000 characters, so\nits price is fixed.\n\n**Attribution.** Every outcome carries `citation`, `jurisdiction`, `session`,\n`approvedDate` and `sourceUrl`, so a page is attributable on its own. `sourceUrl` is the\nofficial copy on a government host and is present when the text is withheld or not held,\nso a reader always has somewhere to go.\n\n**Id only.** This route takes a `sessionLawId`, not a citation: resolve a citation\nonce with `GET /us/session-laws/{sessionLawId}` and use the id it returns.\n\n**Not served, not charged.** When we do not serve the text (`textStatus` is not\n`held`), the answer is a 200 with `available: false` and a `reason` (`not_held`,\n`withheld`, `pending` or `empty_text`), `creditsConsumed: 0`, the\n`withheldReason` for a withheld law, and the official `sourceUrl`. A federal id (`SAL_...`) is a 404\n(`federal_session_law`); read federal session laws with\n`GET /us/statutes/section/{actId}`. An unknown id is a 404; a stale cursor or a mismatched `expectTextSha256` is a 409\n(start again without `cursor`); a malformed or expired cursor, `cursor` with `startChar`,\nor a `startChar` past the end is a 422. None of these is\ncharged, and a failure on our side (500, 503) is refunded.\n\n**Past versions: `version`.** A law's text can be corrected after we first serve it, and we keep every\nversion we served or adopted. List them with `GET /us/session-laws/{sessionLawId}/versions`, then send\none of those numbers as `version` to read that version's text. Omit it for the current version. The\nresponse then names `version` and `isCurrentVersion`, and the page, `nextCursor` and `textSha256` belong\nto that version, so a cursor from one version is a 409 on another. The price is unchanged: 6\ncredits per page, whichever version you read. A `version` the law does not have is a 404 and is\nrefunded; below 1 is a 422 and never charged. Without `version` (and without `includeUnverified`)\nthe response is exactly what it was before these parameters existed.\n\n**Text we hold back: `includeUnverified`.** A law whose text has a defect we have not cleared is\n`withheld`, and by default `/body` answers `available: false`, free. Send `includeUnverified=true` to\nread its text anyway when the reason it is held back is one we can label. The page then carries\n`textReliability` (`unverified`: a check has not been completed, or `known_issue`: we have evidence of\nthe defect), a stable `reasonCode` and a one-sentence `notice` to show beside the text: the text MAY\nshow deleted (struck) or vetoed law as if it were enacted, so check the printed act at `sourceUrl`\nbefore relying on it. The codes that serve the text, flagged, are `markup_unverified`,\n`strike_unchecked`, `struck_text_shown_as_current`, `struck_text_merged`, `veto_unchecked` and\n`licence_unconfirmed`. Some text is never served, opted in or not: a law whose licence bars use\n(`licence_barred`), text that failed our own validation (`validation_failed`), a session we cannot yet\ntell apart from another (`session_unresolved`), a source we have not yet audited (`collector_unaudited`)\nand a reason we have not classified (`unclassified`).\nThose answer `available: false`, free, with the `reasonCode` and no text. A served law with\n`includeUnverified=true` reads as usual and says `textReliability: verified`. A page you read this way\ncosts 6 credits like any other, and it can be combined with `version`. The fields `version`,\n`isCurrentVersion`, `textReliability`, `reasonCode` and `notice` are OMITTED unless you asked for them.\n\n**Amendatory markup.** An amending act prints the language it deletes and inserts.\nWhere `amendatoryMarkup` is `preserved`, that markup is in `text` in the convention\n`markupConvention` names: `wdiff` writes deleted language `[-like this-]` and\ninserted language `{+like this+}`; `publisher_literal` keeps the publisher's own\nmarkers as printed (Minnesota's `new text begin` and `deleted text begin`); `mixed`\nhas both. Where it is `lost`, the publisher printed markup our text does not keep,\nso deleted words can read as law: check the source before quoting. Only the as\nprinted text is served; there is no clean \"as enacted\" view.\n\n**Example**\n\n```bash\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# jump to a character offset, pinned to the version of the text you read\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?startChar=29987\u0026expectTextSha256=02693d5b55d4709b\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# an older version of the text (list the versions first)\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\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# the text of a law we hold back, labelled with how far to trust it\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_LA_2025R_G_C2/body?includeUnverified=true\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n```\n\n```javascript\nconst MY_BUDGET = 100; // the most you will spend to finish reading, in credits\nlet cursor;\nlet text = \"\";\ndo {\n const url = new URL(\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\");\n if (cursor) url.searchParams.set(\"cursor\", cursor);\n const res = await fetch(url, {\n headers: { Authorization: `Bearer ${process.env.VAQUILL_API_KEY}` },\n });\n const page = await res.json();\n if (!page.available) break; // withheld or not held: page.sourceUrl is the official copy\n text += page.text;\n if (page.estimatedRemainingCredits > MY_BUDGET) break; // stop whenever you have enough\n cursor = page.nextCursor;\n} while (cursor);\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/{session_law_id}/body","href":"/api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version","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: [\"The act’s text exactly as printed, one page of about 30,000 characters at a\\ntime, cut at a paragraph break where one is near. Follow \", _jsx(_components.code, {\n children: \"nextCursor\"\n }), \" while\\n\", _jsx(_components.code, {\n children: \"hasMore\"\n }), \" is true; \", _jsx(_components.code, {\n children: \"pageStart\"\n }), \" / \", _jsx(_components.code, {\n children: \"pageEnd\"\n }), \" / \", _jsx(_components.code, {\n children: \"totalChars\"\n }), \" are character offsets\\ninto the whole text, and concatenating the pages in order reproduces it.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Cost\"\n }), \": 6 credits per page served. Read \", _jsx(_components.code, {\n children: \"estimatedBodyPages\"\n }), \" on the law first\\n(\", _jsx(_components.code, {\n children: \"charCount\"\n }), \" divided by about 30,000). A short act is one page; an omnibus act can\\nbe many. Each page is charged on its own, so you can stop whenever you have enough.\\n\", _jsx(_components.code, {\n children: \"pagePrice\"\n }), \" is what this page cost, \", _jsx(_components.code, {\n children: \"totalPages\"\n }), \" the estimated pages in all, and\\n\", _jsx(_components.code, {\n children: \"estimatedRemainingCredits\"\n }), \" the pages still to come times the price.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Cost of reading a law.\"\n }), \" Reading a whole law is \", _jsx(_components.code, {\n children: \"estimatedBodyPages\"\n }), \" times the price\\nof one body page (6 credits). Both are on the record: \", _jsx(_components.code, {\n children: \"charCount\"\n }), \" is its length\\nin characters and \", _jsx(_components.code, {\n children: \"estimatedBodyPages\"\n }), \" 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 \", _jsx(_components.code, {\n children: \"estimatedBodyPages\"\n }), \" before you page through an omnibus act. Each body\\nresponse then carries \", _jsx(_components.code, {\n children: \"pagePrice\"\n }), \" (what that page cost) and \", _jsx(_components.code, {\n children: \"estimatedRemainingCredits\"\n }), \"\\n(the pages still to come times the price) so you can stop whenever you have enough.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Where a page starts.\"\n }), \" Follow \", _jsx(_components.code, {\n children: \"nextCursor\"\n }), \" from the page before, or send \", _jsx(_components.code, {\n children: \"startChar\"\n }), \",\\na character offset into the text (0-based, the scale of \", _jsx(_components.code, {\n children: \"pageStart\"\n }), \" and \", _jsx(_components.code, {\n children: \"totalChars\"\n }), \"),\\nto jump straight to a place you know without paging from the start. Send one or the\\nother, never both (a 422, uncharged). A \", _jsx(_components.code, {\n children: \"startChar\"\n }), \" page costs and sizes the same as any\\nother, and returns a normal signed \", _jsx(_components.code, {\n children: \"nextCursor\"\n }), \". \", _jsx(_components.code, {\n children: \"startChar\"\n }), \" has no version binding of\\nits own, so add \", _jsx(_components.code, {\n children: \"expectTextSha256\"\n }), \" (the \", _jsx(_components.code, {\n children: \"textSha256\"\n }), \" you read the text under, in\\nlowercase hex, 16 characters or more): if the text was re-collected since, the answer is\\na 409 and nothing is charged. A \", _jsx(_components.code, {\n children: \"startChar\"\n }), \" at or beyond the end is a 422, refunded.\\nThere is no page-size parameter: a page is always about 30,000 characters, so\\nits price is fixed.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Attribution.\"\n }), \" Every outcome carries \", _jsx(_components.code, {\n children: \"citation\"\n }), \", \", _jsx(_components.code, {\n children: \"jurisdiction\"\n }), \", \", _jsx(_components.code, {\n children: \"session\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"approvedDate\"\n }), \" and \", _jsx(_components.code, {\n children: \"sourceUrl\"\n }), \", so a page is attributable on its own. \", _jsx(_components.code, {\n children: \"sourceUrl\"\n }), \" is the\\nofficial copy on a government host and is present when the text is withheld or not held,\\nso a reader always has somewhere to go.\"]\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\\nonce with \", _jsx(_components.code, {\n children: \"GET /us/session-laws/{sessionLawId}\"\n }), \" and use the id it returns.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Not served, not charged.\"\n }), \" When we do not serve the text (\", _jsx(_components.code, {\n children: \"textStatus\"\n }), \" is not\\n\", _jsx(_components.code, {\n children: \"held\"\n }), \"), the answer is a 200 with \", _jsx(_components.code, {\n children: \"available: false\"\n }), \" and a \", _jsx(_components.code, {\n children: \"reason\"\n }), \" (\", _jsx(_components.code, {\n children: \"not_held\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"withheld\"\n }), \", \", _jsx(_components.code, {\n children: \"pending\"\n }), \" or \", _jsx(_components.code, {\n children: \"empty_text\"\n }), \"), \", _jsx(_components.code, {\n children: \"creditsConsumed: 0\"\n }), \", the\\n\", _jsx(_components.code, {\n children: \"withheldReason\"\n }), \" for a withheld law, and the official \", _jsx(_components.code, {\n children: \"sourceUrl\"\n }), \". A federal id (\", _jsx(_components.code, {\n children: \"SAL_...\"\n }), \") is a 404\\n(\", _jsx(_components.code, {\n children: \"federal_session_law\"\n }), \"); read federal session laws with\\n\", _jsx(_components.code, {\n children: \"GET /us/statutes/section/{actId}\"\n }), \". An unknown id is a 404; a stale cursor or a mismatched \", _jsx(_components.code, {\n children: \"expectTextSha256\"\n }), \" is a 409\\n(start again without \", _jsx(_components.code, {\n children: \"cursor\"\n }), \"); a malformed or expired cursor, \", _jsx(_components.code, {\n children: \"cursor\"\n }), \" with \", _jsx(_components.code, {\n children: \"startChar\"\n }), \",\\nor a \", _jsx(_components.code, {\n children: \"startChar\"\n }), \" past the end is a 422. None of these is\\ncharged, and a failure on our side (500, 503) is refunded.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsxs(_components.strong, {\n children: [\"Past versions: \", _jsx(_components.code, {\n children: \"version\"\n }), \".\"]\n }), \" A law’s text can be corrected after we first serve it, and we keep every\\nversion we served or adopted. List them with \", _jsx(_components.code, {\n children: \"GET /us/session-laws/{sessionLawId}/versions\"\n }), \", then send\\none of those numbers as \", _jsx(_components.code, {\n children: \"version\"\n }), \" to read that version’s text. Omit it for the current version. The\\nresponse then names \", _jsx(_components.code, {\n children: \"version\"\n }), \" and \", _jsx(_components.code, {\n children: \"isCurrentVersion\"\n }), \", and the page, \", _jsx(_components.code, {\n children: \"nextCursor\"\n }), \" and \", _jsx(_components.code, {\n children: \"textSha256\"\n }), \" belong\\nto that version, so a cursor from one version is a 409 on another. The price is unchanged: 6\\ncredits per page, whichever version you read. A \", _jsx(_components.code, {\n children: \"version\"\n }), \" the law does not have is a 404 and is\\nrefunded; below 1 is a 422 and never charged. Without \", _jsx(_components.code, {\n children: \"version\"\n }), \" (and without \", _jsx(_components.code, {\n children: \"includeUnverified\"\n }), \")\\nthe response is exactly what it was before these parameters existed.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsxs(_components.strong, {\n children: [\"Text we hold back: \", _jsx(_components.code, {\n children: \"includeUnverified\"\n }), \".\"]\n }), \" A law whose text has a defect we have not cleared is\\n\", _jsx(_components.code, {\n children: \"withheld\"\n }), \", and by default \", _jsx(_components.code, {\n children: \"/body\"\n }), \" answers \", _jsx(_components.code, {\n children: \"available: false\"\n }), \", free. Send \", _jsx(_components.code, {\n children: \"includeUnverified=true\"\n }), \" to\\nread its text anyway when the reason it is held back is one we can label. The page then carries\\n\", _jsx(_components.code, {\n children: \"textReliability\"\n }), \" (\", _jsx(_components.code, {\n children: \"unverified\"\n }), \": a check has not been completed, or \", _jsx(_components.code, {\n children: \"known_issue\"\n }), \": we have evidence of\\nthe defect), a stable \", _jsx(_components.code, {\n children: \"reasonCode\"\n }), \" and a one-sentence \", _jsx(_components.code, {\n children: \"notice\"\n }), \" to show beside the text: the text MAY\\nshow deleted (struck) or vetoed law as if it were enacted, so check the printed act at \", _jsx(_components.code, {\n children: \"sourceUrl\"\n }), \"\\nbefore relying on it. The codes that serve the text, flagged, are \", _jsx(_components.code, {\n children: \"markup_unverified\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"strike_unchecked\"\n }), \", \", _jsx(_components.code, {\n children: \"struck_text_shown_as_current\"\n }), \", \", _jsx(_components.code, {\n children: \"struck_text_merged\"\n }), \", \", _jsx(_components.code, {\n children: \"veto_unchecked\"\n }), \" and\\n\", _jsx(_components.code, {\n children: \"licence_unconfirmed\"\n }), \". Some text is never served, opted in or not: a law whose licence bars use\\n(\", _jsx(_components.code, {\n children: \"licence_barred\"\n }), \"), text that failed our own validation (\", _jsx(_components.code, {\n children: \"validation_failed\"\n }), \"), a session we cannot yet\\ntell apart from another (\", _jsx(_components.code, {\n children: \"session_unresolved\"\n }), \"), a source we have not yet audited (\", _jsx(_components.code, {\n children: \"collector_unaudited\"\n }), \")\\nand a reason we have not classified (\", _jsx(_components.code, {\n children: \"unclassified\"\n }), \").\\nThose answer \", _jsx(_components.code, {\n children: \"available: false\"\n }), \", free, with the \", _jsx(_components.code, {\n children: \"reasonCode\"\n }), \" and no text. A served law with\\n\", _jsx(_components.code, {\n children: \"includeUnverified=true\"\n }), \" reads as usual and says \", _jsx(_components.code, {\n children: \"textReliability: verified\"\n }), \". A page you read this way\\ncosts 6 credits like any other, and it can be combined with \", _jsx(_components.code, {\n children: \"version\"\n }), \". The fields \", _jsx(_components.code, {\n children: \"version\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"isCurrentVersion\"\n }), \", \", _jsx(_components.code, {\n children: \"textReliability\"\n }), \", \", _jsx(_components.code, {\n children: \"reasonCode\"\n }), \" and \", _jsx(_components.code, {\n children: \"notice\"\n }), \" are OMITTED unless you asked for them.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Amendatory markup.\"\n }), \" An amending act prints the language it deletes and inserts.\\nWhere \", _jsx(_components.code, {\n children: \"amendatoryMarkup\"\n }), \" is \", _jsx(_components.code, {\n children: \"preserved\"\n }), \", that markup is in \", _jsx(_components.code, {\n children: \"text\"\n }), \" in the convention\\n\", _jsx(_components.code, {\n children: \"markupConvention\"\n }), \" names: \", _jsx(_components.code, {\n children: \"wdiff\"\n }), \" writes deleted language \", _jsx(_components.code, {\n children: \"[-like this-]\"\n }), \" and\\ninserted language \", _jsx(_components.code, {\n children: \"{+like this+}\"\n }), \"; \", _jsx(_components.code, {\n children: \"publisher_literal\"\n }), \" keeps the publisher’s own\\nmarkers as printed (Minnesota’s \", _jsx(_components.code, {\n children: \"new text begin\"\n }), \" and \", _jsx(_components.code, {\n children: \"deleted text begin\"\n }), \"); \", _jsx(_components.code, {\n children: \"mixed\"\n }), \"\\nhas both. Where it is \", _jsx(_components.code, {\n children: \"lost\"\n }), \", the publisher printed markup our text does not keep,\\nso deleted words can read as law: check the source before quoting. Only the as\\nprinted text is served; there is no clean “as enacted” view.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsx(_components.strong, {\n children: \"Example\"\n })\n }), \"\\n\", _jsx(CodeBlock, {\n numberOfLines: \"16\",\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: \"16\",\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/body\\\"\"\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: \"# jump to a character offset, pinned to the version of the text you read\"\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?startChar=29987\u0026expectTextSha256=02693d5b55d4709b\\\"\"\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: \"# an older version of the text (list the versions first)\"\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/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\", _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\", _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: \"# the text of a law we hold back, labelled with how far to trust it\"\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_LA_2025R_G_C2/body?includeUnverified=true\\\"\"\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: \"15\",\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: \"15\",\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: \" MY_BUDGET\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" =\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#B5CEA8\"\n },\n children: \" 100\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"; \"\n }), _jsx(_components.span, {\n style: {\n color: \"#6E7781\",\n \"--shiki-dark\": \"#6A9955\"\n },\n children: \"// the most you will spend to finish reading, in credits\"\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: \"let\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" cursor\"\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: \"let\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \" text\"\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: \" \\\"\\\"\"\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\": \"#C586C0\"\n },\n children: \"do\"\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: \" url\"\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\": \"#569CD6\"\n },\n children: \" new\"\n }), _jsx(_components.span, {\n style: {\n color: \"#8250DF\",\n \"--shiki-dark\": \"#DCDCAA\"\n },\n children: \" URL\"\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/SSL_MN_2025S1_G_Y2025_C1/body\\\"\"\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\": \"#C586C0\"\n },\n children: \" if\"\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: \"cursor\"\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: \"url\"\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: \"searchParams\"\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: \"set\"\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: \"\\\"cursor\\\"\"\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: \"cursor\"\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: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"url\"\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: \"#0550AE\",\n \"--shiki-dark\": \"#4FC1FF\"\n },\n children: \" page\"\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\": \"#C586C0\"\n },\n children: \" if\"\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: \"#1F2328\",\n \"--shiki-dark\": \"#9CDCFE\"\n },\n children: \"page\"\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: \"available\"\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\": \"#C586C0\"\n },\n children: \"break\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"; \"\n }), _jsx(_components.span, {\n style: {\n color: \"#6E7781\",\n \"--shiki-dark\": \"#6A9955\"\n },\n children: \"// withheld or not held: page.sourceUrl is the official copy\"\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: \" text\"\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: \" page\"\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: \"text\"\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\": \"#C586C0\"\n },\n children: \" if\"\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: \"page\"\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: \"estimatedRemainingCredits\"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \" >\"\n }), _jsx(_components.span, {\n style: {\n color: \"#0550AE\",\n \"--shiki-dark\": \"#4FC1FF\"\n },\n children: \" MY_BUDGET\"\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\": \"#C586C0\"\n },\n children: \"break\"\n }), _jsx(_components.span, {\n style: {\n color: \"#1F2328\",\n \"--shiki-dark\": \"#D4D4D4\"\n },\n children: \"; \"\n }), _jsx(_components.span, {\n style: {\n color: \"#6E7781\",\n \"--shiki-dark\": \"#6A9955\"\n },\n children: \"// stop whenever you have enough\"\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: \" cursor\"\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: \" page\"\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: \"nextCursor\"\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\": \"#D4D4D4\"\n },\n children: \"} \"\n }), _jsx(_components.span, {\n style: {\n color: \"#CF222E\",\n \"--shiki-dark\": \"#C586C0\"\n },\n children: \"while\"\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: \"cursor\"\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/statutes/resolve\"\n }), \" answers a citation that names a state session law\\nrather than a code section with a \", _jsx(_components.code, {\n children: \"sessionLaw\"\n }), \" block (\", _jsx(_components.code, {\n children: \"matched\"\n }), \", or \", _jsx(_components.code, {\n children: \"ambiguous\"\n }), \"\\nwith every candidate), pointing here. It never changes \", _jsx(_components.code, {\n children: \"resolved\"\n }), \" or \", _jsx(_components.code, {\n children: \"section\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"GET /us/statutes/coverage\"\n }), \" lists, per jurisdiction under \", _jsx(_components.code, {\n children: \"sessionLaws\"\n }), \", which\\nsessions we hold session laws for and whether each is \", _jsx(_components.code, {\n children: \"complete\"\n }), \" or \", _jsx(_components.code, {\n children: \"partial\"\n }), \".\\nRead it first: a law missing from a \", _jsx(_components.code, {\n children: \"partial\"\n }), \" session is not evidence that it\\ndoes not exist.\"]\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\\nthem with \", _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 }), \" Every field of a response is always present: one with no value is \", _jsx(_components.code, {\n children: \"null\"\n }), \"\\n(or \", _jsx(_components.code, {\n children: \"[]\"\n }), \" 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: \", _jsx(_components.code, {\n children: \"publisher\"\n }), \", \", _jsx(_components.code, {\n children: \"provenance\"\n }), \" and \", _jsx(_components.code, {\n children: \"session.coverageStatus\"\n }), \" on a law, and \", _jsx(_components.code, {\n children: \"coverage\"\n }), \" on a\\nlist page that has rows.\"]\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\\nAPI route; a 429 carries \", _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":"Get a state session law's text, current or a past version","description":"The act's text exactly as printed, one page of about 30,000 characters at a\ntime, cut at a paragraph break where one is near. Follow `nextCursor` while\n`hasMore` is true; `pageStart` / `pageEnd` / `totalChars` are character offsets\ninto the whole text, and concatenating the pages in order reproduces it.\n\n**Cost**: 6 credits per page served. Read `estimatedBodyPages` on the law first\n(`charCount` divided by about 30,000). A short act is one page; an omnibus act can\nbe many. Each page is charged on its own, so you can stop whenever you have enough.\n`pagePrice` is what this page cost, `totalPages` the estimated pages in all, and\n`estimatedRemainingCredits` the pages still to come times the price.\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**Where a page starts.** Follow `nextCursor` from the page before, or send `startChar`,\na character offset into the text (0-based, the scale of `pageStart` and `totalChars`),\nto jump straight to a place you know without paging from the start. Send one or the\nother, never both (a 422, uncharged). A `startChar` page costs and sizes the same as any\nother, and returns a normal signed `nextCursor`. `startChar` has no version binding of\nits own, so add `expectTextSha256` (the `textSha256` you read the text under, in\nlowercase hex, 16 characters or more): if the text was re-collected since, the answer is\na 409 and nothing is charged. A `startChar` at or beyond the end is a 422, refunded.\nThere is no page-size parameter: a page is always about 30,000 characters, so\nits price is fixed.\n\n**Attribution.** Every outcome carries `citation`, `jurisdiction`, `session`,\n`approvedDate` and `sourceUrl`, so a page is attributable on its own. `sourceUrl` is the\nofficial copy on a government host and is present when the text is withheld or not held,\nso a reader always has somewhere to go.\n\n**Id only.** This route takes a `sessionLawId`, not a citation: resolve a citation\nonce with `GET /us/session-laws/{sessionLawId}` and use the id it returns.\n\n**Not served, not charged.** When we do not serve the text (`textStatus` is not\n`held`), the answer is a 200 with `available: false` and a `reason` (`not_held`,\n`withheld`, `pending` or `empty_text`), `creditsConsumed: 0`, the\n`withheldReason` for a withheld law, and the official `sourceUrl`. A federal id (`SAL_...`) is a 404\n(`federal_session_law`); read federal session laws with\n`GET /us/statutes/section/{actId}`. An unknown id is a 404; a stale cursor or a mismatched `expectTextSha256` is a 409\n(start again without `cursor`); a malformed or expired cursor, `cursor` with `startChar`,\nor a `startChar` past the end is a 422. None of these is\ncharged, and a failure on our side (500, 503) is refunded.\n\n**Past versions: `version`.** A law's text can be corrected after we first serve it, and we keep every\nversion we served or adopted. List them with `GET /us/session-laws/{sessionLawId}/versions`, then send\none of those numbers as `version` to read that version's text. Omit it for the current version. The\nresponse then names `version` and `isCurrentVersion`, and the page, `nextCursor` and `textSha256` belong\nto that version, so a cursor from one version is a 409 on another. The price is unchanged: 6\ncredits per page, whichever version you read. A `version` the law does not have is a 404 and is\nrefunded; below 1 is a 422 and never charged. Without `version` (and without `includeUnverified`)\nthe response is exactly what it was before these parameters existed.\n\n**Text we hold back: `includeUnverified`.** A law whose text has a defect we have not cleared is\n`withheld`, and by default `/body` answers `available: false`, free. Send `includeUnverified=true` to\nread its text anyway when the reason it is held back is one we can label. The page then carries\n`textReliability` (`unverified`: a check has not been completed, or `known_issue`: we have evidence of\nthe defect), a stable `reasonCode` and a one-sentence `notice` to show beside the text: the text MAY\nshow deleted (struck) or vetoed law as if it were enacted, so check the printed act at `sourceUrl`\nbefore relying on it. The codes that serve the text, flagged, are `markup_unverified`,\n`strike_unchecked`, `struck_text_shown_as_current`, `struck_text_merged`, `veto_unchecked` and\n`licence_unconfirmed`. Some text is never served, opted in or not: a law whose licence bars use\n(`licence_barred`), text that failed our own validation (`validation_failed`), a session we cannot yet\ntell apart from another (`session_unresolved`), a source we have not yet audited (`collector_unaudited`)\nand a reason we have not classified (`unclassified`).\nThose answer `available: false`, free, with the `reasonCode` and no text. A served law with\n`includeUnverified=true` reads as usual and says `textReliability: verified`. A page you read this way\ncosts 6 credits like any other, and it can be combined with `version`. The fields `version`,\n`isCurrentVersion`, `textReliability`, `reasonCode` and `notice` are OMITTED unless you asked for them.\n\n**Amendatory markup.** An amending act prints the language it deletes and inserts.\nWhere `amendatoryMarkup` is `preserved`, that markup is in `text` in the convention\n`markupConvention` names: `wdiff` writes deleted language `[-like this-]` and\ninserted language `{+like this+}`; `publisher_literal` keeps the publisher's own\nmarkers as printed (Minnesota's `new text begin` and `deleted text begin`); `mixed`\nhas both. Where it is `lost`, the publisher printed markup our text does not keep,\nso deleted words can read as law: check the source before quoting. Only the as\nprinted text is served; there is no clean \"as enacted\" view.\n\n**Example**\n\n```bash\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# jump to a character offset, pinned to the version of the text you read\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?startChar=29987\u0026expectTextSha256=02693d5b55d4709b\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# an older version of the text (list the versions first)\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\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# the text of a law we hold back, labelled with how far to trust it\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_LA_2025R_G_C2/body?includeUnverified=true\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n```\n\n```javascript\nconst MY_BUDGET = 100; // the most you will spend to finish reading, in credits\nlet cursor;\nlet text = \"\";\ndo {\n const url = new URL(\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\");\n if (cursor) url.searchParams.set(\"cursor\", cursor);\n const res = await fetch(url, {\n headers: { Authorization: `Bearer ${process.env.VAQUILL_API_KEY}` },\n });\n const page = await res.json();\n if (!page.available) break; // withheld or not held: page.sourceUrl is the official copy\n text += page.text;\n if (page.estimatedRemainingCredits > MY_BUDGET) break; // stop whenever you have enough\n cursor = page.nextCursor;\n} while (cursor);\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/{session_law_id}/body","href":"/api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["US Session Laws"],"summary":"Get a state session law's text, current or a past version","description":"The act's text exactly as printed, one page of about 30,000 characters at a\ntime, cut at a paragraph break where one is near. Follow `nextCursor` while\n`hasMore` is true; `pageStart` / `pageEnd` / `totalChars` are character offsets\ninto the whole text, and concatenating the pages in order reproduces it.\n\n**Cost**: 6 credits per page served. Read `estimatedBodyPages` on the law first\n(`charCount` divided by about 30,000). A short act is one page; an omnibus act can\nbe many. Each page is charged on its own, so you can stop whenever you have enough.\n`pagePrice` is what this page cost, `totalPages` the estimated pages in all, and\n`estimatedRemainingCredits` the pages still to come times the price.\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**Where a page starts.** Follow `nextCursor` from the page before, or send `startChar`,\na character offset into the text (0-based, the scale of `pageStart` and `totalChars`),\nto jump straight to a place you know without paging from the start. Send one or the\nother, never both (a 422, uncharged). A `startChar` page costs and sizes the same as any\nother, and returns a normal signed `nextCursor`. `startChar` has no version binding of\nits own, so add `expectTextSha256` (the `textSha256` you read the text under, in\nlowercase hex, 16 characters or more): if the text was re-collected since, the answer is\na 409 and nothing is charged. A `startChar` at or beyond the end is a 422, refunded.\nThere is no page-size parameter: a page is always about 30,000 characters, so\nits price is fixed.\n\n**Attribution.** Every outcome carries `citation`, `jurisdiction`, `session`,\n`approvedDate` and `sourceUrl`, so a page is attributable on its own. `sourceUrl` is the\nofficial copy on a government host and is present when the text is withheld or not held,\nso a reader always has somewhere to go.\n\n**Id only.** This route takes a `sessionLawId`, not a citation: resolve a citation\nonce with `GET /us/session-laws/{sessionLawId}` and use the id it returns.\n\n**Not served, not charged.** When we do not serve the text (`textStatus` is not\n`held`), the answer is a 200 with `available: false` and a `reason` (`not_held`,\n`withheld`, `pending` or `empty_text`), `creditsConsumed: 0`, the\n`withheldReason` for a withheld law, and the official `sourceUrl`. A federal id (`SAL_...`) is a 404\n(`federal_session_law`); read federal session laws with\n`GET /us/statutes/section/{actId}`. An unknown id is a 404; a stale cursor or a mismatched `expectTextSha256` is a 409\n(start again without `cursor`); a malformed or expired cursor, `cursor` with `startChar`,\nor a `startChar` past the end is a 422. None of these is\ncharged, and a failure on our side (500, 503) is refunded.\n\n**Past versions: `version`.** A law's text can be corrected after we first serve it, and we keep every\nversion we served or adopted. List them with `GET /us/session-laws/{sessionLawId}/versions`, then send\none of those numbers as `version` to read that version's text. Omit it for the current version. The\nresponse then names `version` and `isCurrentVersion`, and the page, `nextCursor` and `textSha256` belong\nto that version, so a cursor from one version is a 409 on another. The price is unchanged: 6\ncredits per page, whichever version you read. A `version` the law does not have is a 404 and is\nrefunded; below 1 is a 422 and never charged. Without `version` (and without `includeUnverified`)\nthe response is exactly what it was before these parameters existed.\n\n**Text we hold back: `includeUnverified`.** A law whose text has a defect we have not cleared is\n`withheld`, and by default `/body` answers `available: false`, free. Send `includeUnverified=true` to\nread its text anyway when the reason it is held back is one we can label. The page then carries\n`textReliability` (`unverified`: a check has not been completed, or `known_issue`: we have evidence of\nthe defect), a stable `reasonCode` and a one-sentence `notice` to show beside the text: the text MAY\nshow deleted (struck) or vetoed law as if it were enacted, so check the printed act at `sourceUrl`\nbefore relying on it. The codes that serve the text, flagged, are `markup_unverified`,\n`strike_unchecked`, `struck_text_shown_as_current`, `struck_text_merged`, `veto_unchecked` and\n`licence_unconfirmed`. Some text is never served, opted in or not: a law whose licence bars use\n(`licence_barred`), text that failed our own validation (`validation_failed`), a session we cannot yet\ntell apart from another (`session_unresolved`), a source we have not yet audited (`collector_unaudited`)\nand a reason we have not classified (`unclassified`).\nThose answer `available: false`, free, with the `reasonCode` and no text. A served law with\n`includeUnverified=true` reads as usual and says `textReliability: verified`. A page you read this way\ncosts 6 credits like any other, and it can be combined with `version`. The fields `version`,\n`isCurrentVersion`, `textReliability`, `reasonCode` and `notice` are OMITTED unless you asked for them.\n\n**Amendatory markup.** An amending act prints the language it deletes and inserts.\nWhere `amendatoryMarkup` is `preserved`, that markup is in `text` in the convention\n`markupConvention` names: `wdiff` writes deleted language `[-like this-]` and\ninserted language `{+like this+}`; `publisher_literal` keeps the publisher's own\nmarkers as printed (Minnesota's `new text begin` and `deleted text begin`); `mixed`\nhas both. Where it is `lost`, the publisher printed markup our text does not keep,\nso deleted words can read as law: check the source before quoting. Only the as\nprinted text is served; there is no clean \"as enacted\" view.\n\n**Example**\n\n```bash\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# jump to a character offset, pinned to the version of the text you read\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?startChar=29987\u0026expectTextSha256=02693d5b55d4709b\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# an older version of the text (list the versions first)\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\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# the text of a law we hold back, labelled with how far to trust it\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/SSL_LA_2025R_G_C2/body?includeUnverified=true\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n```\n\n```javascript\nconst MY_BUDGET = 100; // the most you will spend to finish reading, in credits\nlet cursor;\nlet text = \"\";\ndo {\n const url = new URL(\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\");\n if (cursor) url.searchParams.set(\"cursor\", cursor);\n const res = await fetch(url, {\n headers: { Authorization: `Bearer ${process.env.VAQUILL_API_KEY}` },\n });\n const page = await res.json();\n if (!page.available) break; // withheld or not held: page.sourceUrl is the official copy\n text += page.text;\n if (page.estimatedRemainingCredits > MY_BUDGET) break; // stop whenever you have enough\n cursor = page.nextCursor;\n} while (cursor);\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`.","operationId":"get_session_law_body","parameters":["0f5ea4ec-9687-4bc4-ae3e-f60232e7aeab","07bfd720-d86c-4102-9409-8f2349af47ec","492005ca-cf85-4297-9630-d83a05ba7f81","95ed452d-f566-4f2c-aba1-655b62c3ec9f","6b79c28d-5298-4e41-937f-202f109e8250","965e20d9-f4a2-4533-8e61-7d4780b1eed7","bd6897b4-9691-4d05-a3d2-dedbf2ecdcb8"],"responses":{"200":"b0650ed5-572a-47be-b640-e319f3f5dfff","401":"8bf9172b-dd95-4595-a887-bafa4a908124","402":"547ea715-6d5e-4125-add4-cf2ce1cd2d6f","403":"b5d3f087-f8b4-4f2b-97d7-ea0bbe741b00","404":"28159121-2493-40e4-982e-6459aee851dc","409":"a3311f2c-ebf7-4eb5-913d-6c37f975ce25","422":"71d880a0-0497-47a0-bfdd-58f5fe7f6c52","429":"27452c30-0fbe-4a39-a65d-b06cbb73647d","500":"e130025a-237c-4240-9cd9-e22d474fd7e8","503":"c7194bb4-76b4-47c2-9ca3-6c3dd476408b"},"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}/body","baseUrlOptions":["https://api.vaquill.ai"],"title":"Get a state session law's text, current or a past version","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"0f5ea4ec-9687-4bc4-ae3e-f60232e7aeab":{"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`."},"07bfd720-d86c-4102-9409-8f2349af47ec":{"name":"cursor","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Cursor","description":"Where to resume: the previous page's `nextCursor`, unchanged. Omit for the first page. It is opaque, signed and tied to the exact text it was cut from: a value we did not issue (`reason: invalid_cursor`), from an older cursor format (`cursor_expired`) or past the end of the text (`cursor_past_end`) is a 422, and one from before the text was re-collected is a 409 (start again without it). None is charged. Send either `cursor` or `startChar`, never both (a 422, never charged).","maxLength":600,"example":"eyJ2IjoyLCJvIjoyOTk4NywiaCI6IjAyNjkzZDViNTVkNDcwOWIifQ.stWHVSgGqJPIElcTLfAGHA","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Cursor","description":"Where to resume: the previous page's `nextCursor`, unchanged. Omit for the first page. It is opaque, signed and tied to the exact text it was cut from: a value we did not issue (`reason: invalid_cursor`), from an older cursor format (`cursor_expired`) or past the end of the text (`cursor_past_end`) is a 422, and one from before the text was re-collected is a 409 (start again without it). None is charged. Send either `cursor` or `startChar`, never both (a 422, never charged).","example":"eyJ2IjoyLCJvIjoyOTk4NywiaCI6IjAyNjkzZDViNTVkNDcwOWIifQ.stWHVSgGqJPIElcTLfAGHA","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"Where to resume: the previous page's `nextCursor`, unchanged. Omit for the first page. It is opaque, signed and tied to the exact text it was cut from: a value we did not issue (`reason: invalid_cursor`), from an older cursor format (`cursor_expired`) or past the end of the text (`cursor_past_end`) is a 422, and one from before the text was re-collected is a 409 (start again without it). None is charged. Send either `cursor` or `startChar`, never both (a 422, never charged)."},"492005ca-cf85-4297-9630-d83a05ba7f81":{"name":"startChar","in":"query","required":false,"schema":{"oneOf":[{"type":"integer","title":"Startchar","description":"Start the page at this character offset into the text (0-based, the same scale as `pageStart` and `totalChars`): an alternative to `cursor` for jumping to a place you already know, such as the character where a section begins, without paging from the start. The page that comes back is the same size and price as any other, its `nextCursor` is a normal signed cursor you can follow, and a page is still cut at a paragraph break near its end. Send either `startChar` or `cursor`, never both (a 422, never charged). 0 to 100,000,000; a value at or beyond the end of the text is a 422 and is refunded. There is no page-size parameter: the price per page is fixed.","maximum":100000000,"minimum":0,"example":29987,"uniqueKey":"oneOf.0","typeLabel":"integer"},{"type":"null","title":"Startchar","description":"Start the page at this character offset into the text (0-based, the same scale as `pageStart` and `totalChars`): an alternative to `cursor` for jumping to a place you already know, such as the character where a section begins, without paging from the start. The page that comes back is the same size and price as any other, its `nextCursor` is a normal signed cursor you can follow, and a page is still cut at a paragraph break near its end. Send either `startChar` or `cursor`, never both (a 422, never charged). 0 to 100,000,000; a value at or beyond the end of the text is a 422 and is refunded. There is no page-size parameter: the price per page is fixed.","example":29987,"uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"integer | null"},"description":"Start the page at this character offset into the text (0-based, the same scale as `pageStart` and `totalChars`): an alternative to `cursor` for jumping to a place you already know, such as the character where a section begins, without paging from the start. The page that comes back is the same size and price as any other, its `nextCursor` is a normal signed cursor you can follow, and a page is still cut at a paragraph break near its end. Send either `startChar` or `cursor`, never both (a 422, never charged). 0 to 100,000,000; a value at or beyond the end of the text is a 422 and is refunded. There is no page-size parameter: the price per page is fixed."},"95ed452d-f566-4f2c-aba1-655b62c3ec9f":{"name":"expectTextSha256","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Expecttextsha256","description":"The `textSha256` you read the text under, in lowercase hex (the whole 64 characters, or any prefix of 16 or more). When this law's text no longer has that hash (it was re-collected), the answer is a 409 and nothing is charged, exactly as for a `cursor` cut from an earlier version: use it with `startChar`, which otherwise has no version binding of its own. Anything that is not 16 to 64 lowercase hex characters is a 422.","pattern":"^[0-9a-f]{16,64}$","example":"02693d5b55d4709bdd36fdccee4a9737d2655a3988a90daeb6b7c486ce50260b","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Expecttextsha256","description":"The `textSha256` you read the text under, in lowercase hex (the whole 64 characters, or any prefix of 16 or more). When this law's text no longer has that hash (it was re-collected), the answer is a 409 and nothing is charged, exactly as for a `cursor` cut from an earlier version: use it with `startChar`, which otherwise has no version binding of its own. Anything that is not 16 to 64 lowercase hex characters is a 422.","example":"02693d5b55d4709bdd36fdccee4a9737d2655a3988a90daeb6b7c486ce50260b","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"The `textSha256` you read the text under, in lowercase hex (the whole 64 characters, or any prefix of 16 or more). When this law's text no longer has that hash (it was re-collected), the answer is a 409 and nothing is charged, exactly as for a `cursor` cut from an earlier version: use it with `startChar`, which otherwise has no version binding of its own. Anything that is not 16 to 64 lowercase hex characters is a 422."},"6b79c28d-5298-4e41-937f-202f109e8250":{"name":"version","in":"query","required":false,"schema":{"oneOf":[{"type":"integer","title":"Version","description":"Read this version of the act's text instead of the current one: a `version` from `GET /us/session-laws/{sessionLawId}/versions`. Omit for the current version. The page, its `nextCursor` and `textSha256` belong to that version's text, so a cursor from one version is a 409 on another. A number that is not one of the law's listed versions is a 404 and is refunded; a value below 1 is a 422 and is never charged. Priced as any body page. On a law we hold back, an older version is readable only with `includeUnverified=true`, exactly as its current text is.","maximum":100,"minimum":1,"example":1,"uniqueKey":"oneOf.0","typeLabel":"integer"},{"type":"null","title":"Version","description":"Read this version of the act's text instead of the current one: a `version` from `GET /us/session-laws/{sessionLawId}/versions`. Omit for the current version. The page, its `nextCursor` and `textSha256` belong to that version's text, so a cursor from one version is a 409 on another. A number that is not one of the law's listed versions is a 404 and is refunded; a value below 1 is a 422 and is never charged. Priced as any body page. On a law we hold back, an older version is readable only with `includeUnverified=true`, exactly as its current text is.","example":1,"uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"integer | null"},"description":"Read this version of the act's text instead of the current one: a `version` from `GET /us/session-laws/{sessionLawId}/versions`. Omit for the current version. The page, its `nextCursor` and `textSha256` belong to that version's text, so a cursor from one version is a 409 on another. A number that is not one of the law's listed versions is a 404 and is refunded; a value below 1 is a 422 and is never charged. Priced as any body page. On a law we hold back, an older version is readable only with `includeUnverified=true`, exactly as its current text is."},"965e20d9-f4a2-4533-8e61-7d4780b1eed7":{"name":"includeUnverified","in":"query","required":false,"schema":{"type":"boolean","description":"Opt in to the TEXT of a law we hold but do not serve (`textStatus: withheld`). Default `false`: such a law answers `available: false`, as before, and nothing else changes. With `true` its text is returned when the reason it is held back is one we can label, and every page then carries `textReliability` (`unverified` or `known_issue`), `reasonCode` and a `notice` to show beside the text: the text MAY show deleted or vetoed law as if it were enacted. A law whose licence bars use, or whose text failed our own validation, is never served, opted in or not (`available: false` with a `reasonCode`). Priced as any body page. A served law answers as usual, with `textReliability: verified`.","examples":[true],"default":false,"title":"Includeunverified","isRequired":false,"uniqueKey":"","typeLabel":"boolean"},"description":"Opt in to the TEXT of a law we hold but do not serve (`textStatus: withheld`). Default `false`: such a law answers `available: false`, as before, and nothing else changes. With `true` its text is returned when the reason it is held back is one we can label, and every page then carries `textReliability` (`unverified` or `known_issue`), `reasonCode` and a `notice` to show beside the text: the text MAY show deleted or vetoed law as if it were enacted. A law whose licence bars use, or whose text failed our own validation, is never served, opted in or not (`available: false` with a `reasonCode`). Priced as any body page. A served law answers as usual, with `textReliability: verified`."},"bd6897b4-9691-4d05-a3d2-dedbf2ecdcb8":{"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":{"b0650ed5-572a-47be-b640-e319f3f5dfff":{"description":"One page of the act's text, or `available: false` (not charged) when we do not serve it.","content":{"application/json":{"schema":{"properties":{"sessionLawId":{"type":"string","title":"Sessionlawid","description":"The law this page belongs to.","examples":["SSL_MN_2025S1_G_Y2025_C1"],"isRequired":true,"uniqueKey":"sessionLawId","typeLabel":"string"},"citation":{"type":"string","title":"Citation","description":"The act's citation as its publisher prints it, the same as `citation` on `GET /us/session-laws/{sessionLawId}`. Carried here so a page is attributable on its own, with no second call.","examples":["CHAPTER 1--S.F.No. 3"],"isRequired":true,"uniqueKey":"citation","typeLabel":"string"},"jurisdiction":{"type":"string","title":"Jurisdiction","description":"Lowercase two-letter code of the state, `dc` or `pr`.","examples":["mn"],"isRequired":true,"uniqueKey":"jurisdiction","typeLabel":"string"},"session":{"properties":{"code":{"type":"string","title":"Code","description":"Session code, `{year}{type}{ordinal}`. `type` is `R` regular, `S` special, `X` extraordinary, `F` fiscal, `V` veto, `U` unknown. A regular session has no ordinal (`2025R`); a numbered special session carries it (`2025S1`, the first special session of 2025); a lettered one carries its letter (`2025SC`, Florida's Special Session C). `year` is the year the publisher numbers the session by, which for a period spanning two years is the first (District of Columbia Council Period 25 is `2023R`). Pass it as `session` to `GET /us/session-laws/list`.","examples":["2025R","2025S1"],"isRequired":true,"uniqueKey":"session.code","typeLabel":"string"},"label":{"oneOf":[{"type":"string","title":"Label","description":"The session's canonical label, as the publisher names it.","example":"2025 Regular Session","uniqueKey":"session.label.oneOf.0","typeLabel":"string"},{"type":"null","title":"Label","description":"The session's canonical label, as the publisher names it.","example":"2025 Regular Session","uniqueKey":"session.label.oneOf.1","typeLabel":"null"}],"uniqueKey":"session.label","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"`regular`, `special`, `extraordinary`, `fiscal`, `veto` or `unknown`.","example":"regular","uniqueKey":"session.type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"`regular`, `special`, `extraordinary`, `fiscal`, `veto` or `unknown`.","example":"regular","uniqueKey":"session.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"session.type","typeLabel":"string | null"},"year":{"oneOf":[{"type":"integer","title":"Year","description":"The year the session convened, the same year `code` starts with.","example":2025,"uniqueKey":"session.year.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Year","description":"The year the session convened, the same year `code` starts with.","example":2025,"uniqueKey":"session.year.oneOf.1","typeLabel":"null"}],"uniqueKey":"session.year","typeLabel":"integer | null"}},"type":"object","required":["code"],"title":"SessionLawSession","description":"The legislative session the law was enacted in.","isRequired":true,"uniqueKey":"session","typeLabel":"SessionLawSession · object"},"available":{"type":"boolean","title":"Available","description":"False when we do not serve this law's text; `reason` says why. A page with `available: false` is not charged.","examples":[true],"isRequired":true,"uniqueKey":"available","typeLabel":"boolean"},"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>"},"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"},"approvedDate":{"oneOf":[{"type":"string","title":"Approveddate","description":"Date the governor approved the act, ISO 8601, as on `GET /us/session-laws/{sessionLawId}`: never an effective date. Null when none is held. See `approvedDateDerived`.","format":"date","example":"2025-06-14","uniqueKey":"approvedDate.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Approveddate","description":"Date the governor approved the act, ISO 8601, as on `GET /us/session-laws/{sessionLawId}`: never an effective date. Null when none is held. See `approvedDateDerived`.","example":"2025-06-14","uniqueKey":"approvedDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"approvedDate","typeLabel":"string\u003cdate> | null"},"approvedDateDerived":{"type":"boolean","title":"Approveddatederived","description":"True only when `approvedDate` was filled from the publisher's dated signature label rather than held as the approval date. See the same field on `GET /us/session-laws/{sessionLawId}`.","default":false,"examples":[false],"uniqueKey":"approvedDateDerived","typeLabel":"boolean"},"sourceUrl":{"oneOf":[{"type":"string","title":"Sourceurl","description":"The official page or file this text was collected from, on a government publisher's host. Present on EVERY outcome, a withheld or not-held law included, so a reader is never at a dead end: where we do not serve the text, this is where to read it. Null only when we hold no government text source for the law.","example":"https://www.revisor.mn.gov/laws/2025/1/Session+Law/Chapter/1/","uniqueKey":"sourceUrl.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sourceurl","description":"The official page or file this text was collected from, on a government publisher's host. Present on EVERY outcome, a withheld or not-held law included, so a reader is never at a dead end: where we do not serve the text, this is where to read it. Null only when we hold no government text source for the law.","example":"https://www.revisor.mn.gov/laws/2025/1/Session+Law/Chapter/1/","uniqueKey":"sourceUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"sourceUrl","typeLabel":"string | null"},"officialUrl":{"oneOf":[{"type":"string","title":"Officialurl","description":"The publisher's page for this act (never a Vaquill URL): the legislature's page for the bill where it keeps one, else `sourceUrl`. See the same field on `GET /us/session-laws/{sessionLawId}`.","example":"https://www.nysenate.gov/legislation/bills/2025/A414","uniqueKey":"officialUrl.oneOf.0","typeLabel":"string"},{"type":"null","title":"Officialurl","description":"The publisher's page for this act (never a Vaquill URL): the legislature's page for the bill where it keeps one, else `sourceUrl`. See the same field on `GET /us/session-laws/{sessionLawId}`.","example":"https://www.nysenate.gov/legislation/bills/2025/A414","uniqueKey":"officialUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"officialUrl","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Why `available` is false: `not_held`, `withheld`, `pending` or `empty_text`. Null when the text is served.","example":"withheld","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Why `available` is false: `not_held`, `withheld`, `pending` or `empty_text`. Null when the text is served.","example":"withheld","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"withheldReason":{"oneOf":[{"type":"string","title":"Withheldreason","description":"Present only when `textStatus` is `withheld`: what is wrong with the text we hold. A plain sentence to show, not an enum to branch on.","example":"LA: struck (deleted) law is merged into the text as if current while the record declares the markup preserved or absent (audit 2026-10-03). Awaiting a re-run with strike and underline recovery.","uniqueKey":"withheldReason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Withheldreason","description":"Present only when `textStatus` is `withheld`: what is wrong with the text we hold. A plain sentence to show, not an enum to branch on.","example":"LA: struck (deleted) law is merged into the text as if current while the record declares the markup preserved or absent (audit 2026-10-03). Awaiting a re-run with strike and underline recovery.","uniqueKey":"withheldReason.oneOf.1","typeLabel":"null"}],"uniqueKey":"withheldReason","typeLabel":"string | null"},"text":{"oneOf":[{"type":"string","title":"Text","description":"This page of the act's text, exactly as printed, in reading order. Concatenating every page's `text` in order reproduces the whole text. Where `amendatoryMarkup` is `preserved`, struck and inserted language is in the text in the convention `markupConvention` names. Null when `available` is false.","example":"CHAPTER 1--S.F.No. 1552\n\nAn act\n\nrelating to agriculture; ...","uniqueKey":"text.oneOf.0","typeLabel":"string"},{"type":"null","title":"Text","description":"This page of the act's text, exactly as printed, in reading order. Concatenating every page's `text` in order reproduces the whole text. Where `amendatoryMarkup` is `preserved`, struck and inserted language is in the text in the convention `markupConvention` names. Null when `available` is false.","example":"CHAPTER 1--S.F.No. 1552\n\nAn act\n\nrelating to agriculture; ...","uniqueKey":"text.oneOf.1","typeLabel":"null"}],"uniqueKey":"text","typeLabel":"string | null"},"pageStart":{"oneOf":[{"type":"integer","title":"Pagestart","description":"Character offset in the full text where this page starts (0-based). Pages are contiguous: the next page's `pageStart` equals this page's `pageEnd`.","example":0,"uniqueKey":"pageStart.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Pagestart","description":"Character offset in the full text where this page starts (0-based). Pages are contiguous: the next page's `pageStart` equals this page's `pageEnd`.","example":0,"uniqueKey":"pageStart.oneOf.1","typeLabel":"null"}],"uniqueKey":"pageStart","typeLabel":"integer | null"},"pageEnd":{"oneOf":[{"type":"integer","title":"Pageend","description":"Character offset just past this page. A page is about 30,000 characters, cut back to a paragraph break where one is near, so the length varies.","example":29987,"uniqueKey":"pageEnd.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Pageend","description":"Character offset just past this page. A page is about 30,000 characters, cut back to a paragraph break where one is near, so the length varies.","example":29987,"uniqueKey":"pageEnd.oneOf.1","typeLabel":"null"}],"uniqueKey":"pageEnd","typeLabel":"integer | null"},"totalChars":{"oneOf":[{"type":"integer","title":"Totalchars","description":"Length of the whole text in characters. This page is the last when `pageEnd` equals it.","example":310454,"uniqueKey":"totalChars.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Totalchars","description":"Length of the whole text in characters. This page is the last when `pageEnd` equals it.","example":310454,"uniqueKey":"totalChars.oneOf.1","typeLabel":"null"}],"uniqueKey":"totalChars","typeLabel":"integer | null"},"totalPages":{"oneOf":[{"type":"integer","title":"Totalpages","description":"Estimated pages in the whole text: `totalChars` divided by the page size, rounded up. Pages are cut back to a paragraph break, so a long act can run a few percent over. Null when no text is served.","example":11,"uniqueKey":"totalPages.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Totalpages","description":"Estimated pages in the whole text: `totalChars` divided by the page size, rounded up. Pages are cut back to a paragraph break, so a long act can run a few percent over. Null when no text is served.","example":11,"uniqueKey":"totalPages.oneOf.1","typeLabel":"null"}],"uniqueKey":"totalPages","typeLabel":"integer | null"},"pagePrice":{"type":"integer","title":"Pageprice","description":"Credits charged for the page in this response, the same as `creditsConsumed` on this route: the price of one page when a page was served, 0 when none was (`available` is false). Each further page costs the same.","default":0,"examples":[6],"uniqueKey":"pagePrice","typeLabel":"integer"},"estimatedRemainingCredits":{"oneOf":[{"type":"integer","title":"Estimatedremainingcredits","description":"Estimated credits to read the rest of the text from `pageEnd`: the pages still to come (`totalChars` less `pageEnd`, over the page size, rounded up) times the price of a page. 0 on the last page. Null when no text is served. An estimate: a page cut back to a paragraph break can add a page on a long act. Reading a whole law costs `estimatedBodyPages` times the price of one body page (6 credits per page on `GET /us/session-laws/{sessionLawId}/body`). Ohio's 2025 budget act (HB 96) is 9,571,132 characters, about 320 pages or 1,920 credits to read in full; most acts are a page or two.","example":60,"uniqueKey":"estimatedRemainingCredits.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Estimatedremainingcredits","description":"Estimated credits to read the rest of the text from `pageEnd`: the pages still to come (`totalChars` less `pageEnd`, over the page size, rounded up) times the price of a page. 0 on the last page. Null when no text is served. An estimate: a page cut back to a paragraph break can add a page on a long act. Reading a whole law costs `estimatedBodyPages` times the price of one body page (6 credits per page on `GET /us/session-laws/{sessionLawId}/body`). Ohio's 2025 budget act (HB 96) is 9,571,132 characters, about 320 pages or 1,920 credits to read in full; most acts are a page or two.","example":60,"uniqueKey":"estimatedRemainingCredits.oneOf.1","typeLabel":"null"}],"uniqueKey":"estimatedRemainingCredits","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.","example":"02693d5b55d4709bdd36fdccee4a9737d2655a3988a90daeb6b7c486ce50260b","uniqueKey":"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.","example":"02693d5b55d4709bdd36fdccee4a9737d2655a3988a90daeb6b7c486ce50260b","uniqueKey":"textSha256.oneOf.1","typeLabel":"null"}],"uniqueKey":"textSha256","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":"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":"amendatoryMarkup.oneOf.1","typeLabel":"null"}],"uniqueKey":"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":"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":"markupConvention.oneOf.1","typeLabel":"null"}],"uniqueKey":"markupConvention","typeLabel":"string | null"},"nextCursor":{"oneOf":[{"type":"string","title":"Nextcursor","description":"Opaque cursor for the next page: send it as `cursor` on the same path. Null on the last page. It is tied to this exact text, so a cursor from before the text was re-collected is a 409.","example":"eyJ2IjoxLCJvIjoyOTk4NywiaCI6IjAyNjkzZDViNTVkNDcwOWIifQ","uniqueKey":"nextCursor.oneOf.0","typeLabel":"string"},{"type":"null","title":"Nextcursor","description":"Opaque cursor for the next page: send it as `cursor` on the same path. Null on the last page. It is tied to this exact text, so a cursor from before the text was re-collected is a 409.","example":"eyJ2IjoxLCJvIjoyOTk4NywiaCI6IjAyNjkzZDViNTVkNDcwOWIifQ","uniqueKey":"nextCursor.oneOf.1","typeLabel":"null"}],"uniqueKey":"nextCursor","typeLabel":"string | null"},"hasMore":{"type":"boolean","title":"Hasmore","description":"True when more pages follow; fetch them with `nextCursor`. Each page is charged.","default":false,"examples":[true],"uniqueKey":"hasMore","typeLabel":"boolean"},"version":{"oneOf":[{"type":"integer","title":"Version","description":"Which version of the act this page belongs to, the `version` of `GET /us/session-laws/{sessionLawId}/versions`. Present only when you sent `version` or `includeUnverified`; absent otherwise (the current version).","example":2,"uniqueKey":"version.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Version","description":"Which version of the act this page belongs to, the `version` of `GET /us/session-laws/{sessionLawId}/versions`. Present only when you sent `version` or `includeUnverified`; absent otherwise (the current version).","example":2,"uniqueKey":"version.oneOf.1","typeLabel":"null"}],"uniqueKey":"version","typeLabel":"integer | null"},"isCurrentVersion":{"oneOf":[{"type":"boolean","title":"Iscurrentversion","description":"True when `version` is the version `GET /us/session-laws/{sessionLawId}` serves now. Present with `version`.","example":false,"uniqueKey":"isCurrentVersion.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Iscurrentversion","description":"True when `version` is the version `GET /us/session-laws/{sessionLawId}` serves now. Present with `version`.","example":false,"uniqueKey":"isCurrentVersion.oneOf.1","typeLabel":"null"}],"uniqueKey":"isCurrentVersion","typeLabel":"boolean | null"},"textReliability":{"oneOf":[{"type":"string","title":"Textreliability","description":"How far to trust this text. Present when you sent `includeUnverified=true`, and on every read whose text is not `verified`. `verified`: the text passed our strike-through check. `unverified`: a check has not been completed, so the text MAY show deleted or vetoed law as if enacted. `known_issue`: we have evidence it does. A served law can be any of the three and its text is served either way. Branch on `reasonCode`, show `notice`.","enum":["verified","unverified","known_issue"],"example":"unverified","uniqueKey":"textReliability.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Textreliability","description":"How far to trust this text. Present when you sent `includeUnverified=true`, and on every read whose text is not `verified`. `verified`: the text passed our strike-through check. `unverified`: a check has not been completed, so the text MAY show deleted or vetoed law as if enacted. `known_issue`: we have evidence it does. A served law can be any of the three and its text is served either way. Branch on `reasonCode`, show `notice`.","example":"unverified","uniqueKey":"textReliability.oneOf.1","typeLabel":"null"}],"uniqueKey":"textReliability","typeLabel":"enum\u003cstring> | null"},"reasonCode":{"oneOf":[{"type":"string","title":"Reasoncode","description":"Present when the text is not `verified`, or when `includeUnverified=true` refuses it: a stable token, one of `markup_unverified`, `strike_unchecked`, `struck_text_shown_as_current`, `struck_text_merged`, `veto_unchecked`, `licence_unconfirmed`, `markup_contradicted`, `struck_text_evidenced`, `markup_lost`, `strike_unconfirmed` (the text is served with a flag) or `validation_failed`, `session_unresolved`, `collector_unaudited`, `licence_barred`, `unclassified` (the text is not served). The sentence in `withheldReason` is for people; branch on this.","example":"strike_unchecked","uniqueKey":"reasonCode.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reasoncode","description":"Present when the text is not `verified`, or when `includeUnverified=true` refuses it: a stable token, one of `markup_unverified`, `strike_unchecked`, `struck_text_shown_as_current`, `struck_text_merged`, `veto_unchecked`, `licence_unconfirmed`, `markup_contradicted`, `struck_text_evidenced`, `markup_lost`, `strike_unconfirmed` (the text is served with a flag) or `validation_failed`, `session_unresolved`, `collector_unaudited`, `licence_barred`, `unclassified` (the text is not served). The sentence in `withheldReason` is for people; branch on this.","example":"strike_unchecked","uniqueKey":"reasonCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasonCode","typeLabel":"string | null"},"notice":{"oneOf":[{"type":"string","title":"Notice","description":"One plain sentence saying what is uncertain about this text and what to do about it. Present exactly when `textReliability` is `unverified` or `known_issue`. Show it beside the text.","example":"Deleted (struck) language in the source has not yet been checked against this text, so it may read as enacted law. Do not rely on this text without checking the printed act.","uniqueKey":"notice.oneOf.0","typeLabel":"string"},{"type":"null","title":"Notice","description":"One plain sentence saying what is uncertain about this text and what to do about it. Present exactly when `textReliability` is `unverified` or `known_issue`. Show it beside the text.","example":"Deleted (struck) language in the source has not yet been checked against this text, so it may read as enacted law. Do not rely on this text without checking the printed act.","uniqueKey":"notice.oneOf.1","typeLabel":"null"}],"uniqueKey":"notice","typeLabel":"string | null"}},"type":"object","required":["sessionLawId","citation","jurisdiction","session","available","textStatus"],"title":"SessionLawBodyResponse","description":"Response for `GET /us/session-laws/{sessionLawId}/body`.","uniqueKey":"","typeLabel":"SessionLawBodyResponse · object"},"examples":{"firstPage":{"title":"firstPage","value":{"sessionLawId":"SSL_MN_2025S1_G_Y2025_C1","citation":"CHAPTER 1--S.F.No. 3","jurisdiction":"mn","session":{"code":"2025S1","label":"2025 1st Special Session","type":"special","year":2025},"approvedDate":"2025-06-14","approvedDateDerived":false,"sourceUrl":"https://www.revisor.mn.gov/laws/2025/1/Session+Law/Chapter/1/","available":true,"textStatus":"held","text":"CHAPTER 1--S.F.No. 3\n\nAn act\n\nrelating to state government; appropriating money for environment and natural resources; appropriating money from environment and natural resources trust fund; modifying prior appropriations; modifying fees and surcharges; ...","pageStart":0,"pageEnd":29987,"totalChars":310454,"totalPages":11,"pagePrice":6,"estimatedRemainingCredits":60,"textSha256":"02693d5b55d4709bdd36fdccee4a9737d2655a3988a90daeb6b7c486ce50260b","amendatoryMarkup":"preserved","markupConvention":"publisher_literal","nextCursor":"eyJ2IjoyLCJvIjoyOTk4NywiaCI6IjAyNjkzZDViNTVkNDcwOWIifQ.stWHVSgGqJPIElcTLfAGHA","hasMore":true,"processingTimeMs":612.3,"creditsConsumed":6}},"startChar":{"title":"startChar","value":{"sessionLawId":"SSL_MN_2025S1_G_Y2025_C1","citation":"CHAPTER 1--S.F.No. 3","jurisdiction":"mn","session":{"code":"2025S1","label":"2025 1st Special Session","type":"special","year":2025},"approvedDate":"2025-06-14","approvedDateDerived":false,"sourceUrl":"https://www.revisor.mn.gov/laws/2025/1/Session+Law/Chapter/1/","available":true,"textStatus":"held","text":"...(continues at character 29987, cut at the paragraph break before it) ...","pageStart":29987,"pageEnd":59974,"totalChars":310454,"totalPages":11,"pagePrice":6,"estimatedRemainingCredits":54,"textSha256":"02693d5b55d4709bdd36fdccee4a9737d2655a3988a90daeb6b7c486ce50260b","amendatoryMarkup":"preserved","markupConvention":"publisher_literal","nextCursor":"eyJ2IjoyLCJvIjo1OTk3NCwiaCI6IjAyNjkzZDViNTVkNDcwOWIifQ.9KqnMFXT9SmUwN9e7TzHKA","hasMore":true,"processingTimeMs":612.3,"creditsConsumed":6}},"onePageAct":{"title":"onePageAct","value":{"sessionLawId":"SSL_MN_2025R_G_Y2025_C1","citation":"CHAPTER 1--S.F.No. 1552","jurisdiction":"mn","session":{"code":"2025R","label":"2025 Regular Session","type":"regular","year":2025},"approvedDate":"2025-03-17","approvedDateDerived":false,"sourceUrl":"https://www.revisor.mn.gov/laws/2025/0/Session+Law/Chapter/1/","available":true,"textStatus":"held","text":"CHAPTER 1--S.F.No. 1552\n\nAn act\n\nrelating to agriculture; modifying financial reporting requirements for grain buyers; amending Minnesota Statutes 2024, section 223.17, subdivision 6. ...","pageStart":0,"pageEnd":5470,"totalChars":5470,"totalPages":1,"pagePrice":6,"estimatedRemainingCredits":0,"textSha256":"55c7a8d08647e41f87e23fc2016881a6583911a1d5cfa8687403442e9096451b","amendatoryMarkup":"preserved","markupConvention":"publisher_literal","hasMore":false,"processingTimeMs":318.9,"creditsConsumed":6}},"withheld":{"title":"withheld","value":{"sessionLawId":"SSL_LA_2025R_G_C2","citation":"ACT No. 2","jurisdiction":"la","session":{"code":"2025R","label":"2025 Regular Session","type":"regular","year":2025},"approvedDate":"2025-06-20","approvedDateDerived":false,"sourceUrl":"https://www.legis.la.gov/legis/ViewDocument.aspx?d=1426048","available":false,"reason":"withheld","textStatus":"withheld","withheldReason":"LA: struck (deleted) law is merged into the text as if current while the record declares the markup preserved or absent (audit 2026-10-03). Awaiting a re-run with strike and underline recovery.","pagePrice":0,"amendatoryMarkup":"absent","hasMore":false,"processingTimeMs":41.7,"creditsConsumed":0}},"olderVersion":{"title":"olderVersion","value":{"sessionLawId":"SSL_MN_2025S1_G_Y2025_C1","citation":"CHAPTER 1--S.F.No. 3","jurisdiction":"mn","session":{"code":"2025S1","label":"2025 1st Special Session","type":"special","year":2025},"approvedDate":"2025-06-14","approvedDateDerived":false,"sourceUrl":"https://www.revisor.mn.gov/laws/2025/1/Session+Law/Chapter/1/","available":true,"textStatus":"held","text":"CHAPTER 1--S.F.No. 3\n\nAn act\n\nrelating to state government; appropriating money for environment and natural resources; appropriating money from environment and natural resources trust fund; modifying prior appropriations; modifying fees and surcharges; ...","pageStart":0,"pageEnd":29931,"totalChars":309876,"totalPages":11,"pagePrice":6,"estimatedRemainingCredits":60,"textSha256":"b4e1a07c95d3f6280c1d7a3e5f9b2d4681a0c3e7f5b9d2a4c6e8f0a1b3d5c7e9","amendatoryMarkup":"lost","nextCursor":"eyJ2IjoyLCJvIjoyOTkzMSwiaCI6ImI0ZTFhMDdjOTVkM2Y2MjgifQ.2_rL-kBijt3L90qgSkyk5g","hasMore":true,"processingTimeMs":598.7,"creditsConsumed":6,"version":1,"isCurrentVersion":false}},"unverifiedRead":{"title":"unverifiedRead","value":{"citation":"ACT No. 2","jurisdiction":"la","session":{"code":"2025R","label":"2025 Regular Session","type":"regular","year":2025},"approvedDate":"2025-06-20","approvedDateDerived":false,"sourceUrl":"https://www.legis.la.gov/legis/ViewDocument.aspx?d=1426048","sessionLawId":"SSL_LA_2025R_G_C2","available":true,"textStatus":"withheld","withheldReason":"LA: struck (deleted) law is merged into the text as if current while the record declares the markup preserved or absent (audit 2026-10-03). Awaiting a re-run with strike and underline recovery.","text":"ACT No. 2\n\nAN ACT\n\nTo amend and reenact R.S. 47:287.732, relative to ...[the text as held, abbreviated here]...","pageStart":0,"pageEnd":29874,"totalChars":48213,"totalPages":2,"pagePrice":6,"estimatedRemainingCredits":6,"textSha256":"7d21c5f08a3b94e6d1f0275ac8b3e94f62d0a17b5c8e3f9042a6d1b7e5c30f84","amendatoryMarkup":"absent","nextCursor":"eyJ2IjoyLCJvIjoyOTg3NCwiaCI6IjdkMjFjNWYwOGEzYjk0ZTYifQ.7QQeKQEilQrbC8xVr_3SQw","hasMore":true,"version":1,"isCurrentVersion":true,"textReliability":"known_issue","reasonCode":"struck_text_merged","notice":"Deleted (struck) law is merged into this text as if it were current. Read the printed act before relying on any passage.","processingTimeMs":244.6,"creditsConsumed":6}},"unverifiedRefused":{"title":"unverifiedRefused","value":{"citation":"ACT No. 3","jurisdiction":"la","session":{"code":"2025R","label":"2025 Regular Session","type":"regular","year":2025},"approvedDate":"2025-06-20","approvedDateDerived":false,"sourceUrl":"https://www.legis.la.gov/legis/ViewDocument.aspx?d=1426048","sessionLawId":"SSL_LA_2025R_G_C3","available":false,"reason":"withheld","textStatus":"withheld","withheldReason":"LA: loader validation failed; the text is held and not served.","pagePrice":0,"amendatoryMarkup":"absent","hasMore":false,"version":1,"isCurrentVersion":true,"reasonCode":"validation_failed","processingTimeMs":39.8,"creditsConsumed":0}}},"exampleType":"examples"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"examples"},"8bf9172b-dd95-4595-a887-bafa4a908124":{"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"},"547ea715-6d5e-4125-add4-cf2ce1cd2d6f":{"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"},"b5d3f087-f8b4-4f2b-97d7-ea0bbe741b00":{"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"},"28159121-2493-40e4-982e-6459aee851dc":{"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"},"a3311f2c-ebf7-4eb5-913d-6c37f975ce25":{"description":"The `cursor` was cut from an earlier version of this law's text, or the `expectTextSha256` you sent is not its hash: the text has since been re-collected. Not charged. Start again without `cursor`. 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":{"examples":{"staleCursor":{"title":"staleCursor","value":{"detail":"This cursor belongs to an earlier version of the text. Start again without `cursor`."}},"cursorOfAnotherLaw":{"title":"cursorOfAnotherLaw","value":{"detail":"This cursor was issued for a different law. A `cursor` pages one law's text: start this law again without `cursor`."}},"staleHash":{"title":"staleHash","value":{"detail":"The text of this law no longer matches `expectTextSha256` (it was re-collected). Read `textSha256` from the law and start again."}}},"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"},"71d880a0-0497-47a0-bfdd-58f5fe7f6c52":{"description":"A parameter failed validation: a `cursor` we did not issue, `cursor` sent with `startChar`, or a malformed `startChar` or `expectTextSha256`. 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":{"badCursor":{"title":"badCursor","value":{"detail":"`cursor` is not one this API issued.","reason":"invalid_cursor"}},"cursorExpired":{"title":"cursorExpired","value":{"detail":"`cursor` is from an earlier version of this API and has expired. Restart without `cursor`.","reason":"cursor_expired"}},"cursorPastEnd":{"title":"cursorPastEnd","value":{"detail":"`cursor` points past the end of this law's text. A final page has no `nextCursor`: restart without `cursor`.","reason":"cursor_past_end"}},"cursorAndStartChar":{"title":"cursorAndStartChar","value":{"detail":"Send either `cursor` or `startChar`, not both: a cursor already says where the page starts."}},"startCharPastEnd":{"title":"startCharPastEnd","value":{"detail":"`startChar` (400000) is at or beyond the end of this law's text, which is 310454 characters long. Nothing was charged."}},"startCharNegative":{"title":"startCharNegative","value":{"detail":"Invalid request parameters","errors":[{"loc":["query","startChar"],"msg":"Input should be greater than or equal to 0","type":"greater_than_equal"}]}},"badExpectTextSha256":{"title":"badExpectTextSha256","value":{"detail":"Invalid request parameters","errors":[{"loc":["query","expectTextSha256"],"msg":"String should match pattern '^[0-9a-f]{16,64}$'","type":"string_pattern_mismatch"}]}}},"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"},"27452c30-0fbe-4a39-a65d-b06cbb73647d":{"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"},"e130025a-237c-4240-9cd9-e22d474fd7e8":{"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"},"c7194bb4-76b4-47c2-9ca3-6c3dd476408b":{"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":"Get a state session law's text, current or a past version - Vaquill AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version.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=\"The act\u0026#x27;s text exactly as printed, one page of about 30,000 characters at a time, cut at a paragraph break where one is near. Follow nextCursor while hasMore is true; pageStart / pageEnd / totalChars are character offsets into the whole text, and concatenating the pages in order reproduces it. Cost: 6 credits per page served. Read estimatedBodyPages on the law first (charCount divided by about 30,000). A short act is one page; an omnibus act can be many. Each page is charged on its own, so you can stop whenever you have enough. pagePrice is what this page cost, totalPages the estimated pages in all, and estimatedRemainingCredits the pages still to come times the price. Cost of reading a law. Reading a whole law is estimatedBodyPages times the price of one body page (6 credits). Both are on the record: charCount is its length in characters and estimatedBodyPages is that divided by the page size (about 30,000 characters), rounded up, and null unless the text is served. Most acts take a page or two. The longest we hold, Ohio\u0026#x27;s 2025 budget act (HB 96, 9,571,132 characters), takes about 320 pages, 1,920 credits to read in full, so check estimatedBodyPages before you page through an omnibus act. Each body response then carries pagePrice (what that page cost) and estimatedRemainingCredits (the pages still to come times the price) so you can stop whenever you have enough. Where a page starts. Follow nextCursor from the page before, or send startChar, a character offset into the text (0-based, the scale of pageStart and totalChars), to jump straight to a place you know without paging from the start. Send one or the other, never both (a 422, uncharged). A startChar page costs and sizes the same as any other, and returns a normal signed nextCursor. startChar has no version binding of its own, so add expectTextSha256 (the textSha256 you read the text under, in lowercase hex, 16 characters or more): if the text was re-collected since, the answer is a 409 and nothing is charged. A startChar at or beyond the end is a 422, refunded. There is no page-size parameter: a page is always about 30,000 characters, so its price is fixed. Attribution. Every outcome carries citation, jurisdiction, session, approvedDate and sourceUrl, so a page is attributable on its own. sourceUrl is the official copy on a government host and is present when the text is withheld or not held, so a reader always has somewhere to go. 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. Not served, not charged. When we do not serve the text (textStatus is not held), the answer is a 200 with available: false and a reason (not_held, withheld, pending or empty_text), creditsConsumed: 0, the withheldReason for a withheld law, and the official sourceUrl. A federal id (SAL_...) is a 404 (federal_session_law); read federal session laws with GET /us/statutes/section/{actId}. An unknown id is a 404; a stale cursor or a mismatched expectTextSha256 is a 409 (start again without cursor); a malformed or expired cursor, cursor with startChar, or a startChar past the end is a 422. None of these is charged, and a failure on our side (500, 503) is refunded. Past versions: version. A law\u0026#x27;s text can be corrected after we first serve it, and we keep every version we served or adopted. List them with GET /us/session-laws/{sessionLawId}/versions, then send one of those numbers as version to read that version\u0026#x27;s text. Omit it for the current version. The response then names version and isCurrentVersion, and the page, nextCursor and textSha256 belong to that version, so a cursor from one version is a 409 on another. The price is unchanged: 6 credits per page, whichever version you read. A version the law does not have is a 404 and is refunded; below 1 is a 422 and never charged. Without version (and without includeUnverified) the response is exactly what it was before these parameters existed. Text we hold back: includeUnverified. A law whose text has a defect we have not cleared is withheld, and by default /body answers available: false, free. Send includeUnverified=true to read its text anyway when the reason it is held back is one we can label. The page then carries textReliability (unverified: a check has not been completed, or known_issue: we have evidence of the defect), a stable reasonCode and a one-sentence notice to show beside the text: the text MAY show deleted (struck) or vetoed law as if it were enacted, so check the printed act at sourceUrl before relying on it. The codes that serve the text, flagged, are markup_unverified, strike_unchecked, struck_text_shown_as_current, struck_text_merged, veto_unchecked and licence_unconfirmed. Some text is never served, opted in or not: a law whose licence bars use (licence_barred), text that failed our own validation (validation_failed), a session we cannot yet tell apart from another (session_unresolved), a source we have not yet audited (collector_unaudited) and a reason we have not classified (unclassified). Those answer available: false, free, with the reasonCode and no text. A served law with includeUnverified=true reads as usual and says textReliability: verified. A page you read this way costs 6 credits like any other, and it can be combined with version. The fields version, isCurrentVersion, textReliability, reasonCode and notice are OMITTED unless you asked for them. Amendatory markup. An amending act prints the language it deletes and inserts. Where amendatoryMarkup is preserved, that markup is in text in the convention markupConvention names: wdiff writes deleted language [-like this-] and inserted language {+like this+}; publisher_literal keeps the publisher\u0026#x27;s own markers as printed (Minnesota\u0026#x27;s new text begin and deleted text begin); mixed has both. Where it is lost, the publisher printed markup our text does not keep, so deleted words can read as law: check the source before quoting. Only the as printed text is served; there is no clean \u0026quot;as enacted\u0026quot; view. Example bash curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; # jump to a character offset, pinned to the version of the text you read curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?startChar=29987\u0026amp;expectTextSha256=02693d5b55d4709b\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; # an older version of the text (list the versions first) 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; 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; # the text of a law we hold back, labelled with how far to trust it curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_LA_2025R_G_C2/body?includeUnverified=true\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; ``javascript const MY_BUDGET = 100; // the most you will spend to finish reading, in credits let cursor; let text = \u0026quot;\u0026quot;; do { const url = new URL(\u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\u0026quot;); if (cursor) url.searchParams.set(\u0026quot;cursor\u0026quot;, cursor); const res = await fetch(url, { headers: { Authorization: Bearer ${process.env.VAQUILL_API_KEY} }, }); const page = await res.json(); if (!page.available) break; // withheld or not held: page.sourceUrl is the official copy text += page.text; if (page.estimatedRemainingCredits \u0026gt; MY_BUDGET) break; // stop whenever you have enough cursor = page.nextCursor; } while (cursor); ` Related endpoints - GET /us/statutes/resolve answers a citation that names a state session law rather than a code section with a sessionLaw block (matched, or ambiguous with every candidate), pointing here. It never changes resolved or section. - GET /us/statutes/coverage lists, per jurisdiction under sessionLaws, which sessions we hold session laws for and whether each is complete or partial. Read it first: a law missing from a partial session is not evidence that it does not exist. - Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read them with GET /us/statutes/section/{actId}. Nulls. Every field of a response is always present: one with no value is null (or [] for a list). The examples on this page leave the nulls out for brevity. The exceptions are blocks that exist only when they apply and are OMITTED otherwise, never null: publisher, provenance and session.coverageStatus on a law, and coverage on a list page that has rows. 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=\"Get a state session law\u0026#x27;s text, current or a past version - Vaquill AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"The act\u0026#x27;s text exactly as printed, one page of about 30,000 characters at a time, cut at a paragraph break where one is near. Follow nextCursor while hasMore is true; pageStart / pageEnd / totalChars are character offsets into the whole text, and concatenating the pages in order reproduces it. Cost: 6 credits per page served. Read estimatedBodyPages on the law first (charCount divided by about 30,000). A short act is one page; an omnibus act can be many. Each page is charged on its own, so you can stop whenever you have enough. pagePrice is what this page cost, totalPages the estimated pages in all, and estimatedRemainingCredits the pages still to come times the price. Cost of reading a law. Reading a whole law is estimatedBodyPages times the price of one body page (6 credits). Both are on the record: charCount is its length in characters and estimatedBodyPages is that divided by the page size (about 30,000 characters), rounded up, and null unless the text is served. Most acts take a page or two. The longest we hold, Ohio\u0026#x27;s 2025 budget act (HB 96, 9,571,132 characters), takes about 320 pages, 1,920 credits to read in full, so check estimatedBodyPages before you page through an omnibus act. Each body response then carries pagePrice (what that page cost) and estimatedRemainingCredits (the pages still to come times the price) so you can stop whenever you have enough. Where a page starts. Follow nextCursor from the page before, or send startChar, a character offset into the text (0-based, the scale of pageStart and totalChars), to jump straight to a place you know without paging from the start. Send one or the other, never both (a 422, uncharged). A startChar page costs and sizes the same as any other, and returns a normal signed nextCursor. startChar has no version binding of its own, so add expectTextSha256 (the textSha256 you read the text under, in lowercase hex, 16 characters or more): if the text was re-collected since, the answer is a 409 and nothing is charged. A startChar at or beyond the end is a 422, refunded. There is no page-size parameter: a page is always about 30,000 characters, so its price is fixed. Attribution. Every outcome carries citation, jurisdiction, session, approvedDate and sourceUrl, so a page is attributable on its own. sourceUrl is the official copy on a government host and is present when the text is withheld or not held, so a reader always has somewhere to go. 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. Not served, not charged. When we do not serve the text (textStatus is not held), the answer is a 200 with available: false and a reason (not_held, withheld, pending or empty_text), creditsConsumed: 0, the withheldReason for a withheld law, and the official sourceUrl. A federal id (SAL_...) is a 404 (federal_session_law); read federal session laws with GET /us/statutes/section/{actId}. An unknown id is a 404; a stale cursor or a mismatched expectTextSha256 is a 409 (start again without cursor); a malformed or expired cursor, cursor with startChar, or a startChar past the end is a 422. None of these is charged, and a failure on our side (500, 503) is refunded. Past versions: version. A law\u0026#x27;s text can be corrected after we first serve it, and we keep every version we served or adopted. List them with GET /us/session-laws/{sessionLawId}/versions, then send one of those numbers as version to read that version\u0026#x27;s text. Omit it for the current version. The response then names version and isCurrentVersion, and the page, nextCursor and textSha256 belong to that version, so a cursor from one version is a 409 on another. The price is unchanged: 6 credits per page, whichever version you read. A version the law does not have is a 404 and is refunded; below 1 is a 422 and never charged. Without version (and without includeUnverified) the response is exactly what it was before these parameters existed. Text we hold back: includeUnverified. A law whose text has a defect we have not cleared is withheld, and by default /body answers available: false, free. Send includeUnverified=true to read its text anyway when the reason it is held back is one we can label. The page then carries textReliability (unverified: a check has not been completed, or known_issue: we have evidence of the defect), a stable reasonCode and a one-sentence notice to show beside the text: the text MAY show deleted (struck) or vetoed law as if it were enacted, so check the printed act at sourceUrl before relying on it. The codes that serve the text, flagged, are markup_unverified, strike_unchecked, struck_text_shown_as_current, struck_text_merged, veto_unchecked and licence_unconfirmed. Some text is never served, opted in or not: a law whose licence bars use (licence_barred), text that failed our own validation (validation_failed), a session we cannot yet tell apart from another (session_unresolved), a source we have not yet audited (collector_unaudited) and a reason we have not classified (unclassified). Those answer available: false, free, with the reasonCode and no text. A served law with includeUnverified=true reads as usual and says textReliability: verified. A page you read this way costs 6 credits like any other, and it can be combined with version. The fields version, isCurrentVersion, textReliability, reasonCode and notice are OMITTED unless you asked for them. Amendatory markup. An amending act prints the language it deletes and inserts. Where amendatoryMarkup is preserved, that markup is in text in the convention markupConvention names: wdiff writes deleted language [-like this-] and inserted language {+like this+}; publisher_literal keeps the publisher\u0026#x27;s own markers as printed (Minnesota\u0026#x27;s new text begin and deleted text begin); mixed has both. Where it is lost, the publisher printed markup our text does not keep, so deleted words can read as law: check the source before quoting. Only the as printed text is served; there is no clean \u0026quot;as enacted\u0026quot; view. Example bash curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; # jump to a character offset, pinned to the version of the text you read curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?startChar=29987\u0026amp;expectTextSha256=02693d5b55d4709b\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; # an older version of the text (list the versions first) 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; 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; # the text of a law we hold back, labelled with how far to trust it curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_LA_2025R_G_C2/body?includeUnverified=true\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; ``javascript const MY_BUDGET = 100; // the most you will spend to finish reading, in credits let cursor; let text = \u0026quot;\u0026quot;; do { const url = new URL(\u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\u0026quot;); if (cursor) url.searchParams.set(\u0026quot;cursor\u0026quot;, cursor); const res = await fetch(url, { headers: { Authorization: Bearer ${process.env.VAQUILL_API_KEY} }, }); const page = await res.json(); if (!page.available) break; // withheld or not held: page.sourceUrl is the official copy text += page.text; if (page.estimatedRemainingCredits \u0026gt; MY_BUDGET) break; // stop whenever you have enough cursor = page.nextCursor; } while (cursor); ` Related endpoints - GET /us/statutes/resolve answers a citation that names a state session law rather than a code section with a sessionLaw block (matched, or ambiguous with every candidate), pointing here. It never changes resolved or section. - GET /us/statutes/coverage lists, per jurisdiction under sessionLaws, which sessions we hold session laws for and whether each is complete or partial. Read it first: a law missing from a partial session is not evidence that it does not exist. - Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read them with GET /us/statutes/section/{actId}. Nulls. Every field of a response is always present: one with no value is null (or [] for a list). The examples on this page leave the nulls out for brevity. The exceptions are blocks that exist only when they apply and are OMITTED otherwise, never null: publisher, provenance and session.coverageStatus on a law, and coverage on a list page that has rows. 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/get-a-state-session-laws-text-current-or-a-past-version\">\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=Get+a+state+session+law%27s+text%2C+current+or+a+past+version\u0026amp;description=The+act%27s+text+exactly+as+printed%2C+one+page+of+about+30%2C000+characters+at+a%0Atime%2C+cut+at+a+paragraph+break+where+one+is+near.+Follow+%60nextCursor%60+while%0A%60hasMore\u0026amp;theme=c0fd5b007b30a7a110519c4a\u0026amp;signature=57f44f785bc86c17141abe8fa442b1d4d4fde8844fa53734891bc40841e47853\">\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=\"Get a state session law\u0026#x27;s text, current or a past version - Vaquill AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The act\u0026#x27;s text exactly as printed, one page of about 30,000 characters at a time, cut at a paragraph break where one is near. Follow nextCursor while hasMore is true; pageStart / pageEnd / totalChars are character offsets into the whole text, and concatenating the pages in order reproduces it. Cost: 6 credits per page served. Read estimatedBodyPages on the law first (charCount divided by about 30,000). A short act is one page; an omnibus act can be many. Each page is charged on its own, so you can stop whenever you have enough. pagePrice is what this page cost, totalPages the estimated pages in all, and estimatedRemainingCredits the pages still to come times the price. Cost of reading a law. Reading a whole law is estimatedBodyPages times the price of one body page (6 credits). Both are on the record: charCount is its length in characters and estimatedBodyPages is that divided by the page size (about 30,000 characters), rounded up, and null unless the text is served. Most acts take a page or two. The longest we hold, Ohio\u0026#x27;s 2025 budget act (HB 96, 9,571,132 characters), takes about 320 pages, 1,920 credits to read in full, so check estimatedBodyPages before you page through an omnibus act. Each body response then carries pagePrice (what that page cost) and estimatedRemainingCredits (the pages still to come times the price) so you can stop whenever you have enough. Where a page starts. Follow nextCursor from the page before, or send startChar, a character offset into the text (0-based, the scale of pageStart and totalChars), to jump straight to a place you know without paging from the start. Send one or the other, never both (a 422, uncharged). A startChar page costs and sizes the same as any other, and returns a normal signed nextCursor. startChar has no version binding of its own, so add expectTextSha256 (the textSha256 you read the text under, in lowercase hex, 16 characters or more): if the text was re-collected since, the answer is a 409 and nothing is charged. A startChar at or beyond the end is a 422, refunded. There is no page-size parameter: a page is always about 30,000 characters, so its price is fixed. Attribution. Every outcome carries citation, jurisdiction, session, approvedDate and sourceUrl, so a page is attributable on its own. sourceUrl is the official copy on a government host and is present when the text is withheld or not held, so a reader always has somewhere to go. 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. Not served, not charged. When we do not serve the text (textStatus is not held), the answer is a 200 with available: false and a reason (not_held, withheld, pending or empty_text), creditsConsumed: 0, the withheldReason for a withheld law, and the official sourceUrl. A federal id (SAL_...) is a 404 (federal_session_law); read federal session laws with GET /us/statutes/section/{actId}. An unknown id is a 404; a stale cursor or a mismatched expectTextSha256 is a 409 (start again without cursor); a malformed or expired cursor, cursor with startChar, or a startChar past the end is a 422. None of these is charged, and a failure on our side (500, 503) is refunded. Past versions: version. A law\u0026#x27;s text can be corrected after we first serve it, and we keep every version we served or adopted. List them with GET /us/session-laws/{sessionLawId}/versions, then send one of those numbers as version to read that version\u0026#x27;s text. Omit it for the current version. The response then names version and isCurrentVersion, and the page, nextCursor and textSha256 belong to that version, so a cursor from one version is a 409 on another. The price is unchanged: 6 credits per page, whichever version you read. A version the law does not have is a 404 and is refunded; below 1 is a 422 and never charged. Without version (and without includeUnverified) the response is exactly what it was before these parameters existed. Text we hold back: includeUnverified. A law whose text has a defect we have not cleared is withheld, and by default /body answers available: false, free. Send includeUnverified=true to read its text anyway when the reason it is held back is one we can label. The page then carries textReliability (unverified: a check has not been completed, or known_issue: we have evidence of the defect), a stable reasonCode and a one-sentence notice to show beside the text: the text MAY show deleted (struck) or vetoed law as if it were enacted, so check the printed act at sourceUrl before relying on it. The codes that serve the text, flagged, are markup_unverified, strike_unchecked, struck_text_shown_as_current, struck_text_merged, veto_unchecked and licence_unconfirmed. Some text is never served, opted in or not: a law whose licence bars use (licence_barred), text that failed our own validation (validation_failed), a session we cannot yet tell apart from another (session_unresolved), a source we have not yet audited (collector_unaudited) and a reason we have not classified (unclassified). Those answer available: false, free, with the reasonCode and no text. A served law with includeUnverified=true reads as usual and says textReliability: verified. A page you read this way costs 6 credits like any other, and it can be combined with version. The fields version, isCurrentVersion, textReliability, reasonCode and notice are OMITTED unless you asked for them. Amendatory markup. An amending act prints the language it deletes and inserts. Where amendatoryMarkup is preserved, that markup is in text in the convention markupConvention names: wdiff writes deleted language [-like this-] and inserted language {+like this+}; publisher_literal keeps the publisher\u0026#x27;s own markers as printed (Minnesota\u0026#x27;s new text begin and deleted text begin); mixed has both. Where it is lost, the publisher printed markup our text does not keep, so deleted words can read as law: check the source before quoting. Only the as printed text is served; there is no clean \u0026quot;as enacted\u0026quot; view. Example bash curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; # jump to a character offset, pinned to the version of the text you read curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?startChar=29987\u0026amp;expectTextSha256=02693d5b55d4709b\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; # an older version of the text (list the versions first) 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; 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; # the text of a law we hold back, labelled with how far to trust it curl \u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_LA_2025R_G_C2/body?includeUnverified=true\u0026quot; \\ -H \u0026quot;Authorization: Bearer $VAQUILL_API_KEY\u0026quot; ``javascript const MY_BUDGET = 100; // the most you will spend to finish reading, in credits let cursor; let text = \u0026quot;\u0026quot;; do { const url = new URL(\u0026quot;https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\u0026quot;); if (cursor) url.searchParams.set(\u0026quot;cursor\u0026quot;, cursor); const res = await fetch(url, { headers: { Authorization: Bearer ${process.env.VAQUILL_API_KEY} }, }); const page = await res.json(); if (!page.available) break; // withheld or not held: page.sourceUrl is the official copy text += page.text; if (page.estimatedRemainingCredits \u0026gt; MY_BUDGET) break; // stop whenever you have enough cursor = page.nextCursor; } while (cursor); ` Related endpoints - GET /us/statutes/resolve answers a citation that names a state session law rather than a code section with a sessionLaw block (matched, or ambiguous with every candidate), pointing here. It never changes resolved or section. - GET /us/statutes/coverage lists, per jurisdiction under sessionLaws, which sessions we hold session laws for and whether each is complete or partial. Read it first: a law missing from a partial session is not evidence that it does not exist. - Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read them with GET /us/statutes/section/{actId}. Nulls. Every field of a response is always present: one with no value is null (or [] for a list). The examples on this page leave the nulls out for brevity. The exceptions are blocks that exist only when they apply and are OMITTED otherwise, never null: publisher, provenance and session.coverageStatus on a law, and coverage on a list page that has rows. 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=Get+a+state+session+law%27s+text%2C+current+or+a+past+version\u0026amp;description=The+act%27s+text+exactly+as+printed%2C+one+page+of+about+30%2C000+characters+at+a%0Atime%2C+cut+at+a+paragraph+break+where+one+is+near.+Follow+%60nextCursor%60+while%0A%60hasMore\u0026amp;theme=c0fd5b007b30a7a110519c4a\u0026amp;signature=57f44f785bc86c17141abe8fa442b1d4d4fde8844fa53734891bc40841e47853\">\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/get-a-state-session-laws-text-current-or-a-past-version\">\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/get-a-state-session-laws-text-current-or-a-past-version.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/get-a-state-session-laws-text-current-or-a-past-version#webpage\",\"url\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version\",\"name\":\"Get a state session law's text, current or a past version\",\"description\":\"The act's text exactly as printed, one page of about 30,000 characters at a time, cut at a paragraph break where one is near. Follow nextCursor while hasMore is true; pageStart / pageEnd / totalChars are character offsets into the whole text, and concatenating the pages in order reproduces it. Cost: 6 credits per page served. Read estimatedBodyPages on the law first (charCount divided by about 30,000). A short act is one page; an omnibus act can be many. Each page is charged on its own, so you can stop whenever you have enough. pagePrice is what this page cost, totalPages the estimated pages in all, and estimatedRemainingCredits the pages still to come times the price. Cost of reading a law. Reading a whole law is estimatedBodyPages times the price of one body page (6 credits). Both are on the record: charCount is its length in characters and estimatedBodyPages is that divided by the page size (about 30,000 characters), rounded up, and null unless the text is served. Most acts take a page or two. The longest we hold, Ohio's 2025 budget act (HB 96, 9,571,132 characters), takes about 320 pages, 1,920 credits to read in full, so check estimatedBodyPages before you page through an omnibus act. Each body response then carries pagePrice (what that page cost) and estimatedRemainingCredits (the pages still to come times the price) so you can stop whenever you have enough. Where a page starts. Follow nextCursor from the page before, or send startChar, a character offset into the text (0-based, the scale of pageStart and totalChars), to jump straight to a place you know without paging from the start. Send one or the other, never both (a 422, uncharged). A startChar page costs and sizes the same as any other, and returns a normal signed nextCursor. startChar has no version binding of its own, so add expectTextSha256 (the textSha256 you read the text under, in lowercase hex, 16 characters or more): if the text was re-collected since, the answer is a 409 and nothing is charged. A startChar at or beyond the end is a 422, refunded. There is no page-size parameter: a page is always about 30,000 characters, so its price is fixed. Attribution. Every outcome carries citation, jurisdiction, session, approvedDate and sourceUrl, so a page is attributable on its own. sourceUrl is the official copy on a government host and is present when the text is withheld or not held, so a reader always has somewhere to go. 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. Not served, not charged. When we do not serve the text (textStatus is not held), the answer is a 200 with available: false and a reason (not_held, withheld, pending or empty_text), creditsConsumed: 0, the withheldReason for a withheld law, and the official sourceUrl. A federal id (SAL_...) is a 404 (federal_session_law); read federal session laws with GET /us/statutes/section/{actId}. An unknown id is a 404; a stale cursor or a mismatched expectTextSha256 is a 409 (start again without cursor); a malformed or expired cursor, cursor with startChar, or a startChar past the end is a 422. None of these is charged, and a failure on our side (500, 503) is refunded. Past versions: version. A law's text can be corrected after we first serve it, and we keep every version we served or adopted. List them with GET /us/session-laws/{sessionLawId}/versions, then send one of those numbers as version to read that version's text. Omit it for the current version. The response then names version and isCurrentVersion, and the page, nextCursor and textSha256 belong to that version, so a cursor from one version is a 409 on another. The price is unchanged: 6 credits per page, whichever version you read. A version the law does not have is a 404 and is refunded; below 1 is a 422 and never charged. Without version (and without includeUnverified) the response is exactly what it was before these parameters existed. Text we hold back: includeUnverified. A law whose text has a defect we have not cleared is withheld, and by default /body answers available: false, free. Send includeUnverified=true to read its text anyway when the reason it is held back is one we can label. The page then carries textReliability (unverified: a check has not been completed, or known_issue: we have evidence of the defect), a stable reasonCode and a one-sentence notice to show beside the text: the text MAY show deleted (struck) or vetoed law as if it were enacted, so check the printed act at sourceUrl before relying on it. The codes that serve the text, flagged, are markup_unverified, strike_unchecked, struck_text_shown_as_current, struck_text_merged, veto_unchecked and licence_unconfirmed. Some text is never served, opted in or not: a law whose licence bars use (licence_barred), text that failed our own validation (validation_failed), a session we cannot yet tell apart from another (session_unresolved), a source we have not yet audited (collector_unaudited) and a reason we have not classified (unclassified). Those answer available: false, free, with the reasonCode and no text. A served law with includeUnverified=true reads as usual and says textReliability: verified. A page you read this way costs 6 credits like any other, and it can be combined with version. The fields version, isCurrentVersion, textReliability, reasonCode and notice are OMITTED unless you asked for them. Amendatory markup. An amending act prints the language it deletes and inserts. Where amendatoryMarkup is preserved, that markup is in text in the convention markupConvention names: wdiff writes deleted language [-like this-] and inserted language {+like this+}; publisher_literal keeps the publisher's own markers as printed (Minnesota's new text begin and deleted text begin); mixed has both. Where it is lost, the publisher printed markup our text does not keep, so deleted words can read as law: check the source before quoting. Only the as printed text is served; there is no clean \\\"as enacted\\\" view. Example bash curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" # jump to a character offset, pinned to the version of the text you read curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?startChar=29987\u0026expectTextSha256=02693d5b55d4709b\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" # an older version of the text (list the versions first) curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" 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\\\" # the text of a law we hold back, labelled with how far to trust it curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_LA_2025R_G_C2/body?includeUnverified=true\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" ``javascript const MY_BUDGET = 100; // the most you will spend to finish reading, in credits let cursor; let text = \\\"\\\"; do { const url = new URL(\\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\\\"); if (cursor) url.searchParams.set(\\\"cursor\\\", cursor); const res = await fetch(url, { headers: { Authorization: Bearer ${process.env.VAQUILL_API_KEY} }, }); const page = await res.json(); if (!page.available) break; // withheld or not held: page.sourceUrl is the official copy text += page.text; if (page.estimatedRemainingCredits > MY_BUDGET) break; // stop whenever you have enough cursor = page.nextCursor; } while (cursor); ` Related endpoints - GET /us/statutes/resolve answers a citation that names a state session law rather than a code section with a sessionLaw block (matched, or ambiguous with every candidate), pointing here. It never changes resolved or section. - GET /us/statutes/coverage lists, per jurisdiction under sessionLaws, which sessions we hold session laws for and whether each is complete or partial. Read it first: a law missing from a partial session is not evidence that it does not exist. - Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read them with GET /us/statutes/section/{actId}. Nulls. Every field of a response is always present: one with no value is null (or [] for a list). The examples on this page leave the nulls out for brevity. The exceptions are blocks that exist only when they apply and are OMITTED otherwise, never null: publisher, provenance and session.coverageStatus on a law, and coverage on a list page that has rows. 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/get-a-state-session-laws-text-current-or-a-past-version#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version#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\":\"Get a state session law's text, current or a past version\",\"item\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version#apireference\",\"headline\":\"Get a state session law's text, current or a past version\",\"name\":\"Get a state session law's text, current or a past version\",\"description\":\"The act's text exactly as printed, one page of about 30,000 characters at a time, cut at a paragraph break where one is near. Follow nextCursor while hasMore is true; pageStart / pageEnd / totalChars are character offsets into the whole text, and concatenating the pages in order reproduces it. Cost: 6 credits per page served. Read estimatedBodyPages on the law first (charCount divided by about 30,000). A short act is one page; an omnibus act can be many. Each page is charged on its own, so you can stop whenever you have enough. pagePrice is what this page cost, totalPages the estimated pages in all, and estimatedRemainingCredits the pages still to come times the price. Cost of reading a law. Reading a whole law is estimatedBodyPages times the price of one body page (6 credits). Both are on the record: charCount is its length in characters and estimatedBodyPages is that divided by the page size (about 30,000 characters), rounded up, and null unless the text is served. Most acts take a page or two. The longest we hold, Ohio's 2025 budget act (HB 96, 9,571,132 characters), takes about 320 pages, 1,920 credits to read in full, so check estimatedBodyPages before you page through an omnibus act. Each body response then carries pagePrice (what that page cost) and estimatedRemainingCredits (the pages still to come times the price) so you can stop whenever you have enough. Where a page starts. Follow nextCursor from the page before, or send startChar, a character offset into the text (0-based, the scale of pageStart and totalChars), to jump straight to a place you know without paging from the start. Send one or the other, never both (a 422, uncharged). A startChar page costs and sizes the same as any other, and returns a normal signed nextCursor. startChar has no version binding of its own, so add expectTextSha256 (the textSha256 you read the text under, in lowercase hex, 16 characters or more): if the text was re-collected since, the answer is a 409 and nothing is charged. A startChar at or beyond the end is a 422, refunded. There is no page-size parameter: a page is always about 30,000 characters, so its price is fixed. Attribution. Every outcome carries citation, jurisdiction, session, approvedDate and sourceUrl, so a page is attributable on its own. sourceUrl is the official copy on a government host and is present when the text is withheld or not held, so a reader always has somewhere to go. 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. Not served, not charged. When we do not serve the text (textStatus is not held), the answer is a 200 with available: false and a reason (not_held, withheld, pending or empty_text), creditsConsumed: 0, the withheldReason for a withheld law, and the official sourceUrl. A federal id (SAL_...) is a 404 (federal_session_law); read federal session laws with GET /us/statutes/section/{actId}. An unknown id is a 404; a stale cursor or a mismatched expectTextSha256 is a 409 (start again without cursor); a malformed or expired cursor, cursor with startChar, or a startChar past the end is a 422. None of these is charged, and a failure on our side (500, 503) is refunded. Past versions: version. A law's text can be corrected after we first serve it, and we keep every version we served or adopted. List them with GET /us/session-laws/{sessionLawId}/versions, then send one of those numbers as version to read that version's text. Omit it for the current version. The response then names version and isCurrentVersion, and the page, nextCursor and textSha256 belong to that version, so a cursor from one version is a 409 on another. The price is unchanged: 6 credits per page, whichever version you read. A version the law does not have is a 404 and is refunded; below 1 is a 422 and never charged. Without version (and without includeUnverified) the response is exactly what it was before these parameters existed. Text we hold back: includeUnverified. A law whose text has a defect we have not cleared is withheld, and by default /body answers available: false, free. Send includeUnverified=true to read its text anyway when the reason it is held back is one we can label. The page then carries textReliability (unverified: a check has not been completed, or known_issue: we have evidence of the defect), a stable reasonCode and a one-sentence notice to show beside the text: the text MAY show deleted (struck) or vetoed law as if it were enacted, so check the printed act at sourceUrl before relying on it. The codes that serve the text, flagged, are markup_unverified, strike_unchecked, struck_text_shown_as_current, struck_text_merged, veto_unchecked and licence_unconfirmed. Some text is never served, opted in or not: a law whose licence bars use (licence_barred), text that failed our own validation (validation_failed), a session we cannot yet tell apart from another (session_unresolved), a source we have not yet audited (collector_unaudited) and a reason we have not classified (unclassified). Those answer available: false, free, with the reasonCode and no text. A served law with includeUnverified=true reads as usual and says textReliability: verified. A page you read this way costs 6 credits like any other, and it can be combined with version. The fields version, isCurrentVersion, textReliability, reasonCode and notice are OMITTED unless you asked for them. Amendatory markup. An amending act prints the language it deletes and inserts. Where amendatoryMarkup is preserved, that markup is in text in the convention markupConvention names: wdiff writes deleted language [-like this-] and inserted language {+like this+}; publisher_literal keeps the publisher's own markers as printed (Minnesota's new text begin and deleted text begin); mixed has both. Where it is lost, the publisher printed markup our text does not keep, so deleted words can read as law: check the source before quoting. Only the as printed text is served; there is no clean \\\"as enacted\\\" view. Example bash curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" # jump to a character offset, pinned to the version of the text you read curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body?startChar=29987\u0026expectTextSha256=02693d5b55d4709b\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" # an older version of the text (list the versions first) curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/versions\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" 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\\\" # the text of a law we hold back, labelled with how far to trust it curl \\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_LA_2025R_G_C2/body?includeUnverified=true\\\" \\\\ -H \\\"Authorization: Bearer $VAQUILL_API_KEY\\\" ``javascript const MY_BUDGET = 100; // the most you will spend to finish reading, in credits let cursor; let text = \\\"\\\"; do { const url = new URL(\\\"https://api.vaquill.ai/api/v1/us/session-laws/SSL_MN_2025S1_G_Y2025_C1/body\\\"); if (cursor) url.searchParams.set(\\\"cursor\\\", cursor); const res = await fetch(url, { headers: { Authorization: Bearer ${process.env.VAQUILL_API_KEY} }, }); const page = await res.json(); if (!page.available) break; // withheld or not held: page.sourceUrl is the official copy text += page.text; if (page.estimatedRemainingCredits > MY_BUDGET) break; // stop whenever you have enough cursor = page.nextCursor; } while (cursor); ` Related endpoints - GET /us/statutes/resolve answers a citation that names a state session law rather than a code section with a sessionLaw block (matched, or ambiguous with every candidate), pointing here. It never changes resolved or section. - GET /us/statutes/coverage lists, per jurisdiction under sessionLaws, which sessions we hold session laws for and whether each is complete or partial. Read it first: a law missing from a partial session is not evidence that it does not exist. - Federal session laws (the Statutes at Large, SAL_ ids) are not served here. Read them with GET /us/statutes/section/{actId}. Nulls. Every field of a response is always present: one with no value is null (or [] for a list). The examples on this page leave the nulls out for brevity. The exceptions are blocks that exist only when they apply and are OMITTED otherwise, never null: publisher, provenance and session.coverageStatus on a law, and coverage on a list page that has rows. 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/get-a-state-session-laws-text-current-or-a-past-version\",\"mainEntityOfPage\":{\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version#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","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","description":"Everything we hold about one STATE session law except its text: identity and\ncitation, session, approval date, every printed effective date (`effectiveDates`,\nalways a list), other printed dates, the code sections the publisher's own table\nlists the act as affecting (`codeSectionsAffected`), its sources with hashes, and\nwhether its text is held. Fetch the text itself, paged, from\n`/us/session-laws/{sessionLawId}/body`.\n\n**Cost**: 2 credits. Pass a citation where the id goes and it adds the\n`/us/statutes/resolve` price (2 credits), kept whenever we gave a verdict on the\ncitation (a served law, an unresolved or ambiguous citation), so `creditsConsumed` is then 4\nwhen it is served. It is refunded when the session the citation points\ninto is only partly collected, and on a failure on our side (500, 503). A 404 never keeps this\nroute's own price. A 422 is never charged.\n\n**Id or citation.** Send a `sessionLawId` from a list result, or a citation or\nbill number (`S.F.No. 1552`); the `sessionLawId` path parameter says which forms\nare matched and how. `resolvedFrom` tells you what your input matched, and the\n`sessionLawId` to send next time. A citation matching several laws is a 404 with\n`reason: ambiguous_citation`, every candidate in `didYouMean`, and none chosen for you.\nPrefer the id: it is free of the resolve fee and unambiguous. When a citation names no\nstate (`Laws 2025, ch. 1`), pass the optional `jurisdiction` (`mn`) to scope it: it\nsupplies the state, and it vetoes a conflicting one (`Minn. Laws 2025, ch. 1` with\n`jurisdiction=tx` is a 404 `unresolved_citation`). It has no effect on an id.\n\n**Citing and sourcing.** `citableAs` is the law in the form a lawyer writes\n(`Minn. Laws 2025, ch. 1`), and `citationShort` a compact label for tables\n(`MN ch. 1 (2025)`); either is null where we do not know the state's form, never a\nguess, and `citableAs` names this law; where a special session restarts the numbering\n(Minnesota 2025 has two Chapter 1s) it is the conventional reading, so sending it is a 404\n`ambiguous_citation` that lists both laws and marks this one `defaultSessionLawId`. Send that\nid to read it. `sourceUrl` is the official page\nthe text was collected from, on a government host, and is present on a withheld\nlaw too. `licenseNote` says what the law's licence class permits.\n\n**What the dates mean.** `approvedDate` is when the act was signed and is never an\neffective date. Where the registry holds none but the publisher dates the governor's\nsignature among its other milestones (South Dakota's `Signed by the Governor`), we\nfill it from that label and say so with `approvedDateDerived: true`; a presented or\npassed date is never read as an approval, and a derived date is not matched by the\nlist's `approvedFrom` and `approvedTo`. `effectiveDates` holds the dates the publisher prints as effective\nand is empty, not guessed, when none is printed or it is printed as a rule (\"the\nday following final enactment\"); empty does not mean the act is not in force.\n`otherDates` holds the rest (approval, filing, presentment) each with its `kind`.\n`codeSectionsAffected` is the publisher's table as printed and is empty when the\npublisher prints none, though `title` usually names the sections in prose.\n\n**What the publisher printed.** `publisher` carries what the publisher itself\nstates about the act: `publisherFields`, its own structured fields verbatim (Texas gives the\nbill's full action history with journal pages, Maryland the committees and reading dates,\nNorth Carolina and New Mexico a history that can include vote counts, most states little\nmore than a bill number and a sponsor), plus `publisherIds`, `otherCitations`,\n`legislatureNumber`, `sessionLastYear`, `printedPageStart` and `printedPageEnd` and the\nlabel the document carries for its own kind (`documentKindAsPrinted`). The keys of\n`publisherFields` differ by state and are the publisher's words, not ours: nothing is\nnormalised, and a key that is absent is not a fact about the act. `provenance` says how the\ntext was obtained (`textMethod`, `pagesWithText`, and the bound `volume` and pages it was\ncut from) and lists the collector's own `caveats` on the record, verbatim: most say\nsomething about the act or its text a reader should know, and some are working notes about\nhow the record was assembled. `session.coverageStatus` says whether we hold the whole\nsession (`complete`) or only part of it (`partial`, so a missing neighbour may exist).\nThese three are omitted, not null, if they cannot be read; the rest of the answer and its\nprice are the same.\n\n**Withheld text.** A law whose text has a measured defect is still returned in\nfull, with `textStatus: withheld` and the `withheldReason`; only its text is held\nback (`/body` answers `available: false`, free). Check `amendatoryMarkup` before\nquoting an amending act: where it is `lost`, deleted words can read as law.\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/SSL_MN_2025R_G_Y2025_C1\" \\\n -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# the same law by bill number (URL-encode the citation)\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/S.F.No.%201552\" -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n\n# a citation that names no state, scoped to one\ncurl \"https://api.vaquill.ai/api/v1/us/session-laws/Laws%202025,%20ch.%201?jurisdiction=mn\" -H \"Authorization: Bearer $VAQUILL_API_KEY\"\n```\n\n```javascript\nconst id = \"SSL_MN_2025R_G_Y2025_C1\";\nconst res = await fetch(`https://api.vaquill.ai/api/v1/us/session-laws/${encodeURIComponent(id)}`, {\n headers: { Authorization: `Bearer ${process.env.VAQUILL_API_KEY}` },\n});\nconst law = 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/{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":"Get a state session law's text, current or a past version - 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"]}