Read a block of text (a brief, a memo, a statute-heavy email, a model’s answer) and return every
distinct non-case legal citation in it, each resolved to the section it names. The text-in
counterpart of POST /us/statutes/resolve: one call instead of extracting the citations yourself
and sending them in batches of 50.
Extraction reads statutes, regulations, court rules, constitutions and registers, in federal and
state form (42 U.S.C. § 1983(b), Cal. Civ. Code § 1942, Fed. R. Civ. P. 12, 8 CCR 1206-2,
N.Y. Const. art. I, § 8). It does not extract case citations. It is measured, not perfect: about
0.92 to 0.98 precision and 0.80 to 0.85 recall on unseen opinion text, so a citation can be missed
and a non-citation can be read as one; resolved is what we verified. extractorVersion is the
extractor’s version: the same text can yield different citations when it changes.
Dedupe. A citation and its pinpoint are one row however many times that exact pair appears
(mentions counts them). Cal. Civ. Code § 1950.5(h) and Cal. Civ. Code § 1950.5(l) are two rows,
each with its own pinpoint and pinpointMatch, so a wrong pinpoint on a repeated mention is
checked and not hidden behind the first. A later bare section 1950.5(l) is read as the section the
text already cited in full, when exactly one cited section has that number. The section is resolved
once and charged once however many pinpoints of it appear. 42 U.S.C. § 1983 and
42 U.S.C.A. § 1983 are two rows, because they are two strings a reader might want checked; both
carry the same actId.
Cost: 2 credits per DISTINCT citation (section, not pinpoint) sent to the resolver, the same as
POST /us/statutes/resolve, so pasting a document costs what pasting its citations one by one
costs. The extraction itself is free: resolve: false returns the citations found and charges
nothing. An unresolved citation is charged (the verdict is the product); a session-law citation
(skipped: session_law, read it under /us/session-laws) is not resolved here and not charged; a
citation we fail to process is refunded one by one, and an outage that takes half of them or more
answers 503 and refunds the call. The charge is taken after extraction and before any lookup, so
creditsConsumed is known up front. One call resolves at most 200 distinct citations,
so one click is at most 400 credits; truncated: true says more were found
and only the listed ones were charged.
Limits.text is at most 200,000 characters (a 422, never a truncation) and must be
text. A key may send 5,000 resolutions a day through
this route; past that the call answers 429 with Retry-After and nothing is charged. The text is
never stored.
Pinpoints. A citation printed with a pinpoint (42 U.S.C. § 1983(b)) also carries
pinpointMatch: the unit it names, located inside the resolved section, as on
GET /us/statutes/resolve (pinpoint there; here pinpoint is already the string printed in the
text). Read pinpointMatch.matched first. It is present only for an exact match, adds no
credits, and a row whose pinpoint could not be looked up this time keeps its resolution and gets a
pinpointNote. pinpointMatch.matched: false (or matchLevelancestor or none) says the section
has no such unit; pinpointMatch.structure.quality: heuristic says the outline was parsed from the
text and failed a check, so trust it less. A unit that EXISTS is not proof it says what the text
claims: (l) exists in Cal. Civ. Code 1950.5 as a different rule than the one a brief may attribute to
it. Compare pinpointMatch.text (the unit’s own words) with the claim. A call spends at most about 20 seconds on pinpoints.
Unresolved rows carry missReason, candidates and missReasonHint, the same finding
GET /us/statutes/resolve gives (no extra charge). Pass state (the document’s jurisdiction) so a
citation that names none, such as Civil Rule 56.1, is checked against the right one.
Related: POST /us/statutes/resolve for citations you already hold;
GET /us/statutes/section/{actId} to read a resolved section.
POST
/
api
/
v1
/
us
/
statutes
/
extract-citations
Find the citations in a text and resolve each
curl --request POST \
--url https://api.vaquill.ai/api/v1/us/statutes/extract-citations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "Plaintiff sued under 42 U.S.C. § 1983(b). See also Cal. Civ. Code § 1942 and 42 U.S.C. § 1983."
}
'
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.
The text to read, 1 to 200,000 characters (a brief is about 30,000). Longer is a 422, never a silent truncation: a partial list reported as the whole is a wrong answer. Plain text; a body that is mostly binary is a 422.
Required string length: 1 - 200000
Example:
"Plaintiff sued under 42 U.S.C. § 1983(b). See also Cal. Civ. Code § 1942 and 42 U.S.C. § 1983."
The jurisdiction of the DOCUMENT as a two-letter state code (the forum of a filing, the governing state of a matter). It labels and scopes a citation that names no jurisdiction of its own (Civil Rule 56.1, Gov. Code § 12940); a citation that names a jurisdiction is always checked against that one, whatever this says.
Resolve each distinct citation to its section (priced per distinct citation, see the endpoint's Cost). false returns the extraction alone, which is free.
True when more than 200 distinct citations were found and citations holds the first of them. counts.found still reports the number found, and only the ones listed were resolved and charged.
Server-side time for this request in milliseconds. Not billed on.
Example:
412
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-statutes/find-the-citations-in-a-text-and-resolve-each","slug":"/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each","pageMetadata":{"title":"Find the citations in a text and resolve each","description":"Read a block of text (a brief, a memo, a statute-heavy email, a model's answer) and return every\ndistinct non-case legal citation in it, each resolved to the section it names. The text-in\ncounterpart of `POST /us/statutes/resolve`: one call instead of extracting the citations yourself\nand sending them in batches of 50.\n\nExtraction reads statutes, regulations, court rules, constitutions and registers, in federal and\nstate form (`42 U.S.C. § 1983(b)`, `Cal. Civ. Code § 1942`, `Fed. R. Civ. P. 12`, `8 CCR 1206-2`,\n`N.Y. Const. art. I, § 8`). It does not extract case citations. It is measured, not perfect: about\n0.92 to 0.98 precision and 0.80 to 0.85 recall on unseen opinion text, so a citation can be missed\nand a non-citation can be read as one; `resolved` is what we verified. `extractorVersion` is the\nextractor's version: the same text can yield different citations when it changes.\n\n**Dedupe.** A citation and its pinpoint are one row however many times that exact pair appears\n(`mentions` counts them). `Cal. Civ. Code § 1950.5(h)` and `Cal. Civ. Code § 1950.5(l)` are two rows,\neach with its own `pinpoint` and `pinpointMatch`, so a wrong pinpoint on a repeated mention is\nchecked and not hidden behind the first. A later bare `section 1950.5(l)` is read as the section the\ntext already cited in full, when exactly one cited section has that number. The section is resolved\nonce and charged once however many pinpoints of it appear. `42 U.S.C. § 1983` and\n`42 U.S.C.A. § 1983` are two rows, because they are two strings a reader might want checked; both\ncarry the same `actId`.\n\n**Cost**: 2 credits per DISTINCT citation (section, not pinpoint) sent to the resolver, the same as\n`POST /us/statutes/resolve`, so pasting a document costs what pasting its citations one by one\ncosts. The extraction itself is free: `resolve: false` returns the citations found and charges\nnothing. An unresolved citation is charged (the verdict is the product); a session-law citation\n(`skipped: session_law`, read it under `/us/session-laws`) is not resolved here and not charged; a\ncitation we fail to process is refunded one by one, and an outage that takes half of them or more\nanswers 503 and refunds the call. The charge is taken after extraction and before any lookup, so\n`creditsConsumed` is known up front. One call resolves at most 200 distinct citations,\nso one click is at most 400 credits; `truncated: true` says more were found\nand only the listed ones were charged.\n\n**Limits.** `text` is at most 200,000 characters (a 422, never a truncation) and must be\ntext. A key may send 5,000 resolutions a day through\nthis route; past that the call answers 429 with `Retry-After` and nothing is charged. The text is\nnever stored.\n\n**Pinpoints.** A citation printed with a pinpoint (`42 U.S.C. § 1983(b)`) also carries\n`pinpointMatch`: the unit it names, located inside the resolved section, as on\n`GET /us/statutes/resolve` (`pinpoint` there; here `pinpoint` is already the string printed in the\ntext). Read `pinpointMatch.matched` first. It is present only for an exact match, adds no\ncredits, and a row whose pinpoint could not be looked up this time keeps its resolution and gets a\n`pinpointNote`. `pinpointMatch.matched: false` (or `matchLevel` `ancestor` or `none`) says the section\nhas no such unit; `pinpointMatch.structure.quality: heuristic` says the outline was parsed from the\ntext and failed a check, so trust it less. A unit that EXISTS is not proof it says what the text\nclaims: `(l)` exists in Cal. Civ. Code 1950.5 as a different rule than the one a brief may attribute to\nit. Compare `pinpointMatch.text` (the unit's own words) with the claim. A call spends at most about 20 seconds on pinpoints.\n\n**Unresolved rows** carry `missReason`, `candidates` and `missReasonHint`, the same finding\n`GET /us/statutes/resolve` gives (no extra charge). Pass `state` (the document's jurisdiction) so a\ncitation that names none, such as `Civil Rule 56.1`, is checked against the right one.\n\n**Related**: `POST /us/statutes/resolve` for citations you already hold;\n`GET /us/statutes/section/{actId}` to read a resolved section.","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","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Read a block of text (a brief, a memo, a statute-heavy email, a model’s answer) and return every\\ndistinct non-case legal citation in it, each resolved to the section it names. The text-in\\ncounterpart of \", _jsx(_components.code, {\n children: \"POST /us/statutes/resolve\"\n }), \": one call instead of extracting the citations yourself\\nand sending them in batches of 50.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Extraction reads statutes, regulations, court rules, constitutions and registers, in federal and\\nstate form (\", _jsx(_components.code, {\n children: \"42 U.S.C. § 1983(b)\"\n }), \", \", _jsx(_components.code, {\n children: \"Cal. Civ. Code § 1942\"\n }), \", \", _jsx(_components.code, {\n children: \"Fed. R. Civ. P. 12\"\n }), \", \", _jsx(_components.code, {\n children: \"8 CCR 1206-2\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"N.Y. Const. art. I, § 8\"\n }), \"). It does not extract case citations. It is measured, not perfect: about\\n0.92 to 0.98 precision and 0.80 to 0.85 recall on unseen opinion text, so a citation can be missed\\nand a non-citation can be read as one; \", _jsx(_components.code, {\n children: \"resolved\"\n }), \" is what we verified. \", _jsx(_components.code, {\n children: \"extractorVersion\"\n }), \" is the\\nextractor’s version: the same text can yield different citations when it changes.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Dedupe.\"\n }), \" A citation and its pinpoint are one row however many times that exact pair appears\\n(\", _jsx(_components.code, {\n children: \"mentions\"\n }), \" counts them). \", _jsx(_components.code, {\n children: \"Cal. Civ. Code § 1950.5(h)\"\n }), \" and \", _jsx(_components.code, {\n children: \"Cal. Civ. Code § 1950.5(l)\"\n }), \" are two rows,\\neach with its own \", _jsx(_components.code, {\n children: \"pinpoint\"\n }), \" and \", _jsx(_components.code, {\n children: \"pinpointMatch\"\n }), \", so a wrong pinpoint on a repeated mention is\\nchecked and not hidden behind the first. A later bare \", _jsx(_components.code, {\n children: \"section 1950.5(l)\"\n }), \" is read as the section the\\ntext already cited in full, when exactly one cited section has that number. The section is resolved\\nonce and charged once however many pinpoints of it appear. \", _jsx(_components.code, {\n children: \"42 U.S.C. § 1983\"\n }), \" and\\n\", _jsx(_components.code, {\n children: \"42 U.S.C.A. § 1983\"\n }), \" are two rows, because they are two strings a reader might want checked; both\\ncarry the same \", _jsx(_components.code, {\n children: \"actId\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Cost\"\n }), \": 2 credits per DISTINCT citation (section, not pinpoint) sent to the resolver, the same as\\n\", _jsx(_components.code, {\n children: \"POST /us/statutes/resolve\"\n }), \", so pasting a document costs what pasting its citations one by one\\ncosts. The extraction itself is free: \", _jsx(_components.code, {\n children: \"resolve: false\"\n }), \" returns the citations found and charges\\nnothing. An unresolved citation is charged (the verdict is the product); a session-law citation\\n(\", _jsx(_components.code, {\n children: \"skipped: session_law\"\n }), \", read it under \", _jsx(_components.code, {\n children: \"/us/session-laws\"\n }), \") is not resolved here and not charged; a\\ncitation we fail to process is refunded one by one, and an outage that takes half of them or more\\nanswers 503 and refunds the call. The charge is taken after extraction and before any lookup, so\\n\", _jsx(_components.code, {\n children: \"creditsConsumed\"\n }), \" is known up front. One call resolves at most 200 distinct citations,\\nso one click is at most 400 credits; \", _jsx(_components.code, {\n children: \"truncated: true\"\n }), \" says more were found\\nand only the listed ones were charged.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Limits.\"\n }), \" \", _jsx(_components.code, {\n children: \"text\"\n }), \" is at most 200,000 characters (a 422, never a truncation) and must be\\ntext. A key may send 5,000 resolutions a day through\\nthis route; past that the call answers 429 with \", _jsx(_components.code, {\n children: \"Retry-After\"\n }), \" and nothing is charged. The text is\\nnever stored.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Pinpoints.\"\n }), \" A citation printed with a pinpoint (\", _jsx(_components.code, {\n children: \"42 U.S.C. § 1983(b)\"\n }), \") also carries\\n\", _jsx(_components.code, {\n children: \"pinpointMatch\"\n }), \": the unit it names, located inside the resolved section, as on\\n\", _jsx(_components.code, {\n children: \"GET /us/statutes/resolve\"\n }), \" (\", _jsx(_components.code, {\n children: \"pinpoint\"\n }), \" there; here \", _jsx(_components.code, {\n children: \"pinpoint\"\n }), \" is already the string printed in the\\ntext). Read \", _jsx(_components.code, {\n children: \"pinpointMatch.matched\"\n }), \" first. It is present only for an exact match, adds no\\ncredits, and a row whose pinpoint could not be looked up this time keeps its resolution and gets a\\n\", _jsx(_components.code, {\n children: \"pinpointNote\"\n }), \". \", _jsx(_components.code, {\n children: \"pinpointMatch.matched: false\"\n }), \" (or \", _jsx(_components.code, {\n children: \"matchLevel\"\n }), \" \", _jsx(_components.code, {\n children: \"ancestor\"\n }), \" or \", _jsx(_components.code, {\n children: \"none\"\n }), \") says the section\\nhas no such unit; \", _jsx(_components.code, {\n children: \"pinpointMatch.structure.quality: heuristic\"\n }), \" says the outline was parsed from the\\ntext and failed a check, so trust it less. A unit that EXISTS is not proof it says what the text\\nclaims: \", _jsx(_components.code, {\n children: \"(l)\"\n }), \" exists in Cal. Civ. Code 1950.5 as a different rule than the one a brief may attribute to\\nit. Compare \", _jsx(_components.code, {\n children: \"pinpointMatch.text\"\n }), \" (the unit’s own words) with the claim. A call spends at most about 20 seconds on pinpoints.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Unresolved rows\"\n }), \" carry \", _jsx(_components.code, {\n children: \"missReason\"\n }), \", \", _jsx(_components.code, {\n children: \"candidates\"\n }), \" and \", _jsx(_components.code, {\n children: \"missReasonHint\"\n }), \", the same finding\\n\", _jsx(_components.code, {\n children: \"GET /us/statutes/resolve\"\n }), \" gives (no extra charge). Pass \", _jsx(_components.code, {\n children: \"state\"\n }), \" (the document’s jurisdiction) so a\\ncitation that names none, such as \", _jsx(_components.code, {\n children: \"Civil Rule 56.1\"\n }), \", is checked against the right one.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Related\"\n }), \": \", _jsx(_components.code, {\n children: \"POST /us/statutes/resolve\"\n }), \" for citations you already hold;\\n\", _jsx(_components.code, {\n children: \"GET /us/statutes/section/{actId}\"\n }), \" to read a resolved section.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":"github-light"},"config":{},"pageMetadata":{"title":"Find the citations in a text and resolve each","description":"Read a block of text (a brief, a memo, a statute-heavy email, a model's answer) and return every\ndistinct non-case legal citation in it, each resolved to the section it names. The text-in\ncounterpart of `POST /us/statutes/resolve`: one call instead of extracting the citations yourself\nand sending them in batches of 50.\n\nExtraction reads statutes, regulations, court rules, constitutions and registers, in federal and\nstate form (`42 U.S.C. § 1983(b)`, `Cal. Civ. Code § 1942`, `Fed. R. Civ. P. 12`, `8 CCR 1206-2`,\n`N.Y. Const. art. I, § 8`). It does not extract case citations. It is measured, not perfect: about\n0.92 to 0.98 precision and 0.80 to 0.85 recall on unseen opinion text, so a citation can be missed\nand a non-citation can be read as one; `resolved` is what we verified. `extractorVersion` is the\nextractor's version: the same text can yield different citations when it changes.\n\n**Dedupe.** A citation and its pinpoint are one row however many times that exact pair appears\n(`mentions` counts them). `Cal. Civ. Code § 1950.5(h)` and `Cal. Civ. Code § 1950.5(l)` are two rows,\neach with its own `pinpoint` and `pinpointMatch`, so a wrong pinpoint on a repeated mention is\nchecked and not hidden behind the first. A later bare `section 1950.5(l)` is read as the section the\ntext already cited in full, when exactly one cited section has that number. The section is resolved\nonce and charged once however many pinpoints of it appear. `42 U.S.C. § 1983` and\n`42 U.S.C.A. § 1983` are two rows, because they are two strings a reader might want checked; both\ncarry the same `actId`.\n\n**Cost**: 2 credits per DISTINCT citation (section, not pinpoint) sent to the resolver, the same as\n`POST /us/statutes/resolve`, so pasting a document costs what pasting its citations one by one\ncosts. The extraction itself is free: `resolve: false` returns the citations found and charges\nnothing. An unresolved citation is charged (the verdict is the product); a session-law citation\n(`skipped: session_law`, read it under `/us/session-laws`) is not resolved here and not charged; a\ncitation we fail to process is refunded one by one, and an outage that takes half of them or more\nanswers 503 and refunds the call. The charge is taken after extraction and before any lookup, so\n`creditsConsumed` is known up front. One call resolves at most 200 distinct citations,\nso one click is at most 400 credits; `truncated: true` says more were found\nand only the listed ones were charged.\n\n**Limits.** `text` is at most 200,000 characters (a 422, never a truncation) and must be\ntext. A key may send 5,000 resolutions a day through\nthis route; past that the call answers 429 with `Retry-After` and nothing is charged. The text is\nnever stored.\n\n**Pinpoints.** A citation printed with a pinpoint (`42 U.S.C. § 1983(b)`) also carries\n`pinpointMatch`: the unit it names, located inside the resolved section, as on\n`GET /us/statutes/resolve` (`pinpoint` there; here `pinpoint` is already the string printed in the\ntext). Read `pinpointMatch.matched` first. It is present only for an exact match, adds no\ncredits, and a row whose pinpoint could not be looked up this time keeps its resolution and gets a\n`pinpointNote`. `pinpointMatch.matched: false` (or `matchLevel` `ancestor` or `none`) says the section\nhas no such unit; `pinpointMatch.structure.quality: heuristic` says the outline was parsed from the\ntext and failed a check, so trust it less. A unit that EXISTS is not proof it says what the text\nclaims: `(l)` exists in Cal. Civ. Code 1950.5 as a different rule than the one a brief may attribute to\nit. Compare `pinpointMatch.text` (the unit's own words) with the claim. A call spends at most about 20 seconds on pinpoints.\n\n**Unresolved rows** carry `missReason`, `candidates` and `missReasonHint`, the same finding\n`GET /us/statutes/resolve` gives (no extra charge). Pass `state` (the document's jurisdiction) so a\ncitation that names none, such as `Civil Rule 56.1`, is checked against the right one.\n\n**Related**: `POST /us/statutes/resolve` for citations you already hold;\n`GET /us/statutes/section/{actId}` to read a resolved section.","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","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["US Statutes"],"summary":"Find the citations in a text and resolve each","description":"Read a block of text (a brief, a memo, a statute-heavy email, a model's answer) and return every\ndistinct non-case legal citation in it, each resolved to the section it names. The text-in\ncounterpart of `POST /us/statutes/resolve`: one call instead of extracting the citations yourself\nand sending them in batches of 50.\n\nExtraction reads statutes, regulations, court rules, constitutions and registers, in federal and\nstate form (`42 U.S.C. § 1983(b)`, `Cal. Civ. Code § 1942`, `Fed. R. Civ. P. 12`, `8 CCR 1206-2`,\n`N.Y. Const. art. I, § 8`). It does not extract case citations. It is measured, not perfect: about\n0.92 to 0.98 precision and 0.80 to 0.85 recall on unseen opinion text, so a citation can be missed\nand a non-citation can be read as one; `resolved` is what we verified. `extractorVersion` is the\nextractor's version: the same text can yield different citations when it changes.\n\n**Dedupe.** A citation and its pinpoint are one row however many times that exact pair appears\n(`mentions` counts them). `Cal. Civ. Code § 1950.5(h)` and `Cal. Civ. Code § 1950.5(l)` are two rows,\neach with its own `pinpoint` and `pinpointMatch`, so a wrong pinpoint on a repeated mention is\nchecked and not hidden behind the first. A later bare `section 1950.5(l)` is read as the section the\ntext already cited in full, when exactly one cited section has that number. The section is resolved\nonce and charged once however many pinpoints of it appear. `42 U.S.C. § 1983` and\n`42 U.S.C.A. § 1983` are two rows, because they are two strings a reader might want checked; both\ncarry the same `actId`.\n\n**Cost**: 2 credits per DISTINCT citation (section, not pinpoint) sent to the resolver, the same as\n`POST /us/statutes/resolve`, so pasting a document costs what pasting its citations one by one\ncosts. The extraction itself is free: `resolve: false` returns the citations found and charges\nnothing. An unresolved citation is charged (the verdict is the product); a session-law citation\n(`skipped: session_law`, read it under `/us/session-laws`) is not resolved here and not charged; a\ncitation we fail to process is refunded one by one, and an outage that takes half of them or more\nanswers 503 and refunds the call. The charge is taken after extraction and before any lookup, so\n`creditsConsumed` is known up front. One call resolves at most 200 distinct citations,\nso one click is at most 400 credits; `truncated: true` says more were found\nand only the listed ones were charged.\n\n**Limits.** `text` is at most 200,000 characters (a 422, never a truncation) and must be\ntext. A key may send 5,000 resolutions a day through\nthis route; past that the call answers 429 with `Retry-After` and nothing is charged. The text is\nnever stored.\n\n**Pinpoints.** A citation printed with a pinpoint (`42 U.S.C. § 1983(b)`) also carries\n`pinpointMatch`: the unit it names, located inside the resolved section, as on\n`GET /us/statutes/resolve` (`pinpoint` there; here `pinpoint` is already the string printed in the\ntext). Read `pinpointMatch.matched` first. It is present only for an exact match, adds no\ncredits, and a row whose pinpoint could not be looked up this time keeps its resolution and gets a\n`pinpointNote`. `pinpointMatch.matched: false` (or `matchLevel` `ancestor` or `none`) says the section\nhas no such unit; `pinpointMatch.structure.quality: heuristic` says the outline was parsed from the\ntext and failed a check, so trust it less. A unit that EXISTS is not proof it says what the text\nclaims: `(l)` exists in Cal. Civ. Code 1950.5 as a different rule than the one a brief may attribute to\nit. Compare `pinpointMatch.text` (the unit's own words) with the claim. A call spends at most about 20 seconds on pinpoints.\n\n**Unresolved rows** carry `missReason`, `candidates` and `missReasonHint`, the same finding\n`GET /us/statutes/resolve` gives (no extra charge). Pass `state` (the document's jurisdiction) so a\ncitation that names none, such as `Civil Rule 56.1`, is checked against the right one.\n\n**Related**: `POST /us/statutes/resolve` for citations you already hold;\n`GET /us/statutes/section/{actId}` to read a resolved section.","operationId":"extract_statute_citations","parameters":["cec78f19-53aa-486a-a9f5-a6fee94d6665"],"requestBody":"d0fa677b-ddd2-4ced-b888-f5190f81ad18","responses":{"200":"3cf31086-dbf1-4feb-a853-66ec773312fb","401":"0ed04080-51e8-4773-8b1d-6ad0633d2643","402":"3f90a827-cbcd-4d8c-b41f-afea4c6c975f","409":"32f66ce3-3ae6-4fe7-a380-b59aa33ea02f","422":"975491f1-6036-443f-a2f8-bf998ec8ec57","429":"1acf7c1b-7817-4690-9955-3482c3a67380","503":"6d7e94c2-0386-4ced-aa46-70e888620db0"},"method":"post","type":"path","servers":["72a9d95a-e7d7-4dbe-946e-0f3975dd0517"],"security":["507a4177-c353-457f-b275-c6e5689326cb","fd51ae53-9413-4b29-a7c2-32a68ced30e6"],"path":"/api/v1/us/statutes/extract-citations","baseUrlOptions":["https://api.vaquill.ai"],"title":"Find the citations in a text and resolve each","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.text":"Plaintiff sued under 42 U.S.C. § 1983(b). See also Cal. Civ. Code § 1942 and 42 U.S.C. § 1983.","body.state.oneOf.0":"ca","body.resolve":true}]},"dependencies":{"parameters":{"cec78f19-53aa-486a-a9f5-a6fee94d6665":{"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."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"text":{"type":"string","maxLength":200000,"minLength":1,"title":"Text","description":"The text to read, 1 to 200,000 characters (a brief is about 30,000). Longer is a 422, never a silent truncation: a partial list reported as the whole is a wrong answer. Plain text; a body that is mostly binary is a 422.","examples":["Plaintiff sued under 42 U.S.C. § 1983(b). See also Cal. Civ. Code § 1942 and 42 U.S.C. § 1983."],"isRequired":true,"uniqueKey":"text","typeLabel":"string"},"state":{"oneOf":[{"type":"string","title":"State","description":"The jurisdiction of the DOCUMENT as a two-letter state code (the forum of a filing, the governing state of a matter). It labels and scopes a citation that names no jurisdiction of its own (`Civil Rule 56.1`, `Gov. Code § 12940`); a citation that names a jurisdiction is always checked against that one, whatever this says.","enum":["al","ak","as","az","ar","ca","co","ct","de","dc","fl","ga","gu","hi","id","il","in","ia","ks","ky","la","me","md","ma","mi","mn","ms","mo","mt","ne","nv","nh","nj","nm","ny","nc","nd","mp","oh","ok","or","pa","pr","ri","sc","sd","tn","tx","ut","vt","vi","va","wa","wv","wi","wy"],"example":"ca","uniqueKey":"state.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"State","description":"The jurisdiction of the DOCUMENT as a two-letter state code (the forum of a filing, the governing state of a matter). It labels and scopes a citation that names no jurisdiction of its own (`Civil Rule 56.1`, `Gov. Code § 12940`); a citation that names a jurisdiction is always checked against that one, whatever this says.","example":"ca","uniqueKey":"state.oneOf.1","typeLabel":"null"}],"uniqueKey":"state","typeLabel":"enum\u003cstring> | null"},"resolve":{"type":"boolean","title":"Resolve","description":"Resolve each distinct citation to its section (priced per distinct citation, see the endpoint's Cost). `false` returns the extraction alone, which is free.","default":true,"examples":[true],"uniqueKey":"resolve","typeLabel":"boolean"},"includeUnresolved":{"type":"boolean","title":"Includeunresolved","description":"`false` drops rows that did not resolve from `citations`. The `counts` and the charge are unchanged: an unresolved citation is a verdict that was paid for.","default":true,"examples":[true],"uniqueKey":"includeUnresolved","typeLabel":"boolean"}},"additionalProperties":false,"type":"object","required":["text"],"title":"ExtractCitationsRequest","example":{"resolve":true,"state":"ca","text":"Plaintiff sued under 42 U.S.C. § 1983(b). See also Cal. Civ. Code § 1942 and 42 U.S.C. § 1983."},"uniqueKey":"","typeLabel":"ExtractCitationsRequest · object"},"examples":{"Example":{"title":"Example","value":{"resolve":true,"state":"ca","text":"Plaintiff sued under 42 U.S.C. § 1983(b). See also Cal. Civ. Code § 1942 and 42 U.S.C. § 1983."}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"3cf31086-dbf1-4feb-a853-66ec773312fb":{"description":"The distinct citations found, each resolved unless `resolve` is false.","content":{"application/json":{"schema":{"properties":{"counts":{"properties":{"found":{"type":"integer","title":"Found","description":"Rows found: one per distinct citation and pinpoint (before `maxCitations`).","isRequired":true,"uniqueKey":"counts.found","typeLabel":"integer"},"resolved":{"type":"integer","title":"Resolved","description":"How many resolved to a section.","isRequired":true,"uniqueKey":"counts.resolved","typeLabel":"integer"},"unresolved":{"type":"integer","title":"Unresolved","description":"How many were sent to the resolver and did not.","isRequired":true,"uniqueKey":"counts.unresolved","typeLabel":"integer"},"skipped":{"type":"integer","title":"Skipped","description":"How many were not resolved (`skipped` on the row).","isRequired":true,"uniqueKey":"counts.skipped","typeLabel":"integer"}},"type":"object","required":["found","resolved","unresolved","skipped"],"title":"ExtractCitationsCounts","isRequired":true,"uniqueKey":"counts","typeLabel":"ExtractCitationsCounts · object"},"textChars":{"type":"integer","title":"Textchars","description":"Characters of `text` read.","isRequired":true,"uniqueKey":"textChars","typeLabel":"integer"},"extractorVersion":{"type":"string","title":"Extractorversion","description":"The extractor's version. The same text can yield different citations when it changes, so cache extractions by text AND this value.","examples":["0.6.0"],"isRequired":true,"uniqueKey":"extractorVersion","typeLabel":"string"},"citations":{"items":{"properties":{"citation":{"type":"string","title":"Citation","description":"The citation, normalised. Pass it to `GET /us/statutes/resolve` to re-check.","examples":["42 U.S.C. § 1983"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].citation","typeLabel":"string"},"raw":{"type":"string","title":"Raw","description":"The citation as it first appeared in your text, with its pinpoint.","examples":["42 U.S.C. § 1983(b)"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].raw","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"`Statute`, `Regulation`, `Court Rule`, `Constitution`, `Admin. Register`, `Session Law` or `Other`. A coarse label read from the string; it can be wrong, and `resolved` is what we verified.","examples":["Statute"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].type","typeLabel":"string"},"subtype":{"type":"string","title":"Subtype","description":"A finer label: `usc`, `cfr`, `state_statute`, `state_rule`, `local_rule`, ...","examples":["usc"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].subtype","typeLabel":"string"},"resolved":{"type":"boolean","title":"Resolved","description":"True when the citation resolved to a section. False when it did not, when `resolve` was false, or when it was `skipped`.","isRequired":true,"uniqueKey":"citations.items.[INDEX].resolved","typeLabel":"boolean"},"jurisdiction":{"oneOf":[{"type":"string","title":"Jurisdiction","description":"`US` or a two-letter state code, when one could be read.","example":"US","uniqueKey":"citations.items.[INDEX].jurisdiction.oneOf.0","typeLabel":"string"},{"type":"null","title":"Jurisdiction","description":"`US` or a two-letter state code, when one could be read.","example":"US","uniqueKey":"citations.items.[INDEX].jurisdiction.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].jurisdiction","typeLabel":"string | null"},"jurisdictionSource":{"oneOf":[{"type":"string","title":"Jurisdictionsource","description":"`cite` when the citation names its jurisdiction itself; `court` when it was inferred from your `state`. Null when unknown.","enum":["cite","court"],"example":"cite","uniqueKey":"citations.items.[INDEX].jurisdictionSource.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Jurisdictionsource","description":"`cite` when the citation names its jurisdiction itself; `court` when it was inferred from your `state`. Null when unknown.","example":"cite","uniqueKey":"citations.items.[INDEX].jurisdictionSource.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].jurisdictionSource","typeLabel":"enum\u003cstring> | null"},"pinpoint":{"type":"string","title":"Pinpoint","description":"The pinpoint this row checks (`(b)`), empty when the mention had none.","default":"","examples":["(b)"],"uniqueKey":"citations.items.[INDEX].pinpoint","typeLabel":"string"},"mentions":{"type":"integer","title":"Mentions","description":"How many times this citation WITH this pinpoint appears in the text (one row, however many).","default":1,"examples":[2],"uniqueKey":"citations.items.[INDEX].mentions","typeLabel":"integer"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"The section it resolved to. Read it at `/us/statutes/section/{actId}`.","example":"USC_T42_C21_S1983","uniqueKey":"citations.items.[INDEX].actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"The section it resolved to. Read it at `/us/statutes/section/{actId}`.","example":"USC_T42_C21_S1983","uniqueKey":"citations.items.[INDEX].actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].actId","typeLabel":"string | null"},"subsection":{"oneOf":[{"type":"string","title":"Subsection","description":"The pinpoint the resolver echoed, as on `/resolve`, dot-joined (`b`, `b.2`). The unit itself is in `pinpointMatch`.","example":"b","uniqueKey":"citations.items.[INDEX].subsection.oneOf.0","typeLabel":"string"},{"type":"null","title":"Subsection","description":"The pinpoint the resolver echoed, as on `/resolve`, dot-joined (`b`, `b.2`). The unit itself is in `pinpointMatch`.","example":"b","uniqueKey":"citations.items.[INDEX].subsection.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].subsection","typeLabel":"string | null"},"matchLevel":{"oneOf":[{"type":"string","title":"Matchlevel","description":"Present only when `section` is NOT the exact unit you cited. `container`: you cited a container in one of the supported forms (a Missouri, New Jersey, West Virginia or Wyoming regulation series or chapter, a constitution article or amendment, an Indiana chapter, an Illinois article, or a U.S. Code chapter such as `18 U.S.C. ch. 96`; a U.S. Code subchapter is not read), and `section` is the FIRST section inside it (see `container` for how many there are and what they are). A state STATUTE chapter, subchapter, title, article or part cited with its container word and a code name we read for that state (`8 Del. C. ch. 1, subch. VII`, `Tex. Penal Code ch. 19`, `N.Y. Penal Law art. 125`, `Mass. Gen. Laws ch. 93A`, `La. R.S. Title 14`) also answers `container`, with `section` the first live section in statutory order, but only where we hold that container and its number is unique within the code. A container we do not hold, a missing or unrecognised code name, a regulation or rule set, or a number that repeats in the code (California repeats chapter numbers across its titles) when the citation names more than one level, returns `resolved: false` with `missReason: container_not_supported`. An article that IS the section unit (`La. Civ. Code art. 2315`, `Tex. Code Crim. Proc. art. 38.23`) is read as a section. To browse chapters, titles and articles use `GET /us/statutes/divisions`. `multiple`: you cited several sections (`§§ 8, 10`, `§§ 1983-1985`) and `section` is the first of them (see `citedSections`), or your citation fits more than one held section (`D.C.COLO.LR 7.1` is both Local Civil and Local Criminal Rule 7.1) and every candidate is listed in `container`; a state statute container number that repeats within its code (`Cal. Penal Code tit. 8` is a title of each of four parts) lists each candidate container's first section there, never picking one, when there are at most 10. `repaired`: the code name you wrote is a recognised miscite and `section` is the one it names (see `repair`); or (`repair.kind: prior_edition`) the text you cited has been replaced by a current one, and `section` is NOT the text you cited: a C.F.R. or U.S.C. section the current code no longer holds, answered with the MOST RECENT historical annual edition we hold, or a superseded rule set whose rule numbers were kept, answered with the current rule (`Tex. R. Civ. Evid. 803` is answered by `Tex. R. Evid. 803`), or a state regulation we hold only as superseded filings, answered with the latest filing (`W. Va. Code R. § 64-14-5`); `repair.interpretedAs` names what was served and why, and `repair.alternatives` lists the other held editions, if any; or (`repair.kind: former_law`, `former_number`) you cited a FORMER section number, recodified or renumbered since, and `section` is the successor the state's own disposition table or history line names, never the former text (a former section split into several answers `multiple`, every successor in `citedSections`). or (`repair.kind: code_name_inferred`) your citation named no code (`CODE ANN. § 73.001`, `Code 4121-3-34`) and `section` is the only one in the state that carries that number, so the code was inferred from the number and not read from your citation; or (`repair.kind: repealed_range`, `renumbered_range`, `range_member`) you cited a New York or California section the publisher printed only inside a run of sections (`6 NYCRR 420.4` inside `420.3 to 420.4`), and `section` is that stub, not the section's own text (`repair.interpretedAs` names the range); `register_reference`: you cited a state register page, and `section` is a rule whose history cites it (see `registerReference`). `resolved` keeps its meaning (a section was returned) and is true at every level; read `matchLevel` to tell an exact section from a first-of-several. Absent for an exact match.","enum":["container","multiple","repaired","register_reference"],"example":"container","uniqueKey":"citations.items.[INDEX].matchLevel.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Matchlevel","description":"Present only when `section` is NOT the exact unit you cited. `container`: you cited a container in one of the supported forms (a Missouri, New Jersey, West Virginia or Wyoming regulation series or chapter, a constitution article or amendment, an Indiana chapter, an Illinois article, or a U.S. Code chapter such as `18 U.S.C. ch. 96`; a U.S. Code subchapter is not read), and `section` is the FIRST section inside it (see `container` for how many there are and what they are). A state STATUTE chapter, subchapter, title, article or part cited with its container word and a code name we read for that state (`8 Del. C. ch. 1, subch. VII`, `Tex. Penal Code ch. 19`, `N.Y. Penal Law art. 125`, `Mass. Gen. Laws ch. 93A`, `La. R.S. Title 14`) also answers `container`, with `section` the first live section in statutory order, but only where we hold that container and its number is unique within the code. A container we do not hold, a missing or unrecognised code name, a regulation or rule set, or a number that repeats in the code (California repeats chapter numbers across its titles) when the citation names more than one level, returns `resolved: false` with `missReason: container_not_supported`. An article that IS the section unit (`La. Civ. Code art. 2315`, `Tex. Code Crim. Proc. art. 38.23`) is read as a section. To browse chapters, titles and articles use `GET /us/statutes/divisions`. `multiple`: you cited several sections (`§§ 8, 10`, `§§ 1983-1985`) and `section` is the first of them (see `citedSections`), or your citation fits more than one held section (`D.C.COLO.LR 7.1` is both Local Civil and Local Criminal Rule 7.1) and every candidate is listed in `container`; a state statute container number that repeats within its code (`Cal. Penal Code tit. 8` is a title of each of four parts) lists each candidate container's first section there, never picking one, when there are at most 10. `repaired`: the code name you wrote is a recognised miscite and `section` is the one it names (see `repair`); or (`repair.kind: prior_edition`) the text you cited has been replaced by a current one, and `section` is NOT the text you cited: a C.F.R. or U.S.C. section the current code no longer holds, answered with the MOST RECENT historical annual edition we hold, or a superseded rule set whose rule numbers were kept, answered with the current rule (`Tex. R. Civ. Evid. 803` is answered by `Tex. R. Evid. 803`), or a state regulation we hold only as superseded filings, answered with the latest filing (`W. Va. Code R. § 64-14-5`); `repair.interpretedAs` names what was served and why, and `repair.alternatives` lists the other held editions, if any; or (`repair.kind: former_law`, `former_number`) you cited a FORMER section number, recodified or renumbered since, and `section` is the successor the state's own disposition table or history line names, never the former text (a former section split into several answers `multiple`, every successor in `citedSections`). or (`repair.kind: code_name_inferred`) your citation named no code (`CODE ANN. § 73.001`, `Code 4121-3-34`) and `section` is the only one in the state that carries that number, so the code was inferred from the number and not read from your citation; or (`repair.kind: repealed_range`, `renumbered_range`, `range_member`) you cited a New York or California section the publisher printed only inside a run of sections (`6 NYCRR 420.4` inside `420.3 to 420.4`), and `section` is that stub, not the section's own text (`repair.interpretedAs` names the range); `register_reference`: you cited a state register page, and `section` is a rule whose history cites it (see `registerReference`). `resolved` keeps its meaning (a section was returned) and is true at every level; read `matchLevel` to tell an exact section from a first-of-several. Absent for an exact match.","example":"container","uniqueKey":"citations.items.[INDEX].matchLevel.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].matchLevel","typeLabel":"enum\u003cstring> | null"},"pinpointMatch":{"oneOf":[{"type":"object","title":"PinpointResult","description":"Present only when the row's `pinpoint` is non-empty, it resolved, and `resolve` was on. The unit that pinpoint names, located inside the resolved section. The subsection a pinpoint names, located inside the returned section. ALWAYS read `matched` (or `matchLevel`) before using `text` or `fullText`: when the section has no such subsection the block says so rather than staying silent, and under `matchLevel: ancestor` the text fields describe the deepest unit that DOES exist (read `unmatched` for the part of your pinpoint that did not). `path` is the machine form of the pinpoint, one entry per level. `(f)(1.5)` is `[\"f\", \"1.5\"]` and `(d-1)` is `[\"d-1\"]`, so a label that contains a dot or a hyphen is never split. `text` is the unit's own text (its lead-in when it has children), `fullText` is the unit with everything beneath it exactly as printed, and `leadIn` is each ancestor's own text in order, so a deeply nested unit can be read as the sentence it completes. `charStart` / `charEnd` index into the `plain` text of `GET /us/statutes/section/{actId}/body` (see `structure.textSha256`). No extra charge.","required":["requested","matched","matchLevel"],"properties":{"requested":{"type":"string","title":"Requested","description":"The pinpoint as asked for, in canonical form.","examples":["(c)(1)"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.requested","typeLabel":"string"},"matched":{"type":"boolean","title":"Matched","description":"True only when the WHOLE pinpoint exists in the section (`matchLevel: exact`). False is a verdict about the pinpoint, not a failure of the call, and is charged like any resolved section.","examples":[true],"isRequired":true,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.matched","typeLabel":"boolean"},"matchLevel":{"type":"string","enum":["exact","ancestor","none"],"title":"Matchlevel","description":"`exact`: the whole path exists. `ancestor`: only a leading part exists and the block describes the deepest unit that does. `none`: not even the first label exists, or the section has no recoverable outline.","examples":["exact"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.matchLevel","typeLabel":"enum\u003cstring>"},"path":{"items":{"type":"string","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.path.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Path","description":"The path of the unit this block describes. Equal to the requested path on an exact match; shorter under `matchLevel: ancestor`; empty when nothing was located.","examples":[["c","1"]],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.path","typeLabel":"string[]"},"label":{"oneOf":[{"type":"string","title":"Label","description":"The unit's label as printed.","example":"(1)","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.label.oneOf.0","typeLabel":"string"},{"type":"null","title":"Label","description":"The unit's label as printed.","example":"(1)","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.label.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.label","typeLabel":"string | null"},"level":{"oneOf":[{"type":"string","title":"Level","description":"The unit's drafting level: `subsection`, `paragraph`, `subparagraph`, `clause` or `subclause`.","example":"paragraph","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.level.oneOf.0","typeLabel":"string"},{"type":"null","title":"Level","description":"The unit's drafting level: `subsection`, `paragraph`, `subparagraph`, `clause` or `subclause`.","example":"paragraph","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.level.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.level","typeLabel":"string | null"},"inferred":{"type":"boolean","title":"Inferred","description":"True when the located unit was read from inside a paragraph (a run-in list such as `either (i) x, or (ii) y`) and not printed on its own line by the publisher. The rest of the tree is the publisher's own.","default":false,"examples":[true],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.inferred","typeLabel":"boolean"},"text":{"oneOf":[{"type":"string","title":"Text","description":"The unit's own text, without its descendants. Null unless a unit was located.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.text.oneOf.0","typeLabel":"string"},{"type":"null","title":"Text","description":"The unit's own text, without its descendants. Null unless a unit was located.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.text.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.text","typeLabel":"string | null"},"leadIn":{"items":{"properties":{"path":{"items":{"type":"string","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.leadIn.items.[INDEX].path.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Path","description":"That ancestor's path.","examples":[["c"]],"isRequired":true,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.leadIn.items.[INDEX].path","typeLabel":"string[]"},"label":{"type":"string","title":"Label","description":"Its label as printed.","examples":["(c)"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.leadIn.items.[INDEX].label","typeLabel":"string"},"text":{"type":"string","title":"Text","description":"The ancestor's own text: the lead-in that the located unit completes.","examples":["Unless a different limit is established under this Chapter, the limit is:"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.leadIn.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["path","label","text"],"title":"PinpointLeadIn","description":"One ancestor of the located unit, with the text it prints before its own children.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.leadIn.items.[INDEX]","typeLabel":"PinpointLeadIn · object"},"type":"array","title":"Leadin","description":"Each ancestor's own text, outermost first. Empty for a top-level unit.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.leadIn","typeLabel":"PinpointLeadIn · object[]"},"fullText":{"oneOf":[{"type":"string","title":"Fulltext","description":"The unit and everything beneath it, as printed. Null unless a unit was located.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.fullText.oneOf.0","typeLabel":"string"},{"type":"null","title":"Fulltext","description":"The unit and everything beneath it, as printed. Null unless a unit was located.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.fullText.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.fullText","typeLabel":"string | null"},"children":{"items":{"properties":{"path":{"items":{"type":"string","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.children.items.[INDEX].path.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Path","description":"The child's path.","examples":[["c","1"]],"isRequired":true,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.children.items.[INDEX].path","typeLabel":"string[]"},"label":{"type":"string","title":"Label","description":"Its label as printed.","examples":["(1)"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.children.items.[INDEX].label","typeLabel":"string"},"level":{"type":"string","title":"Level","description":"Its drafting level.","examples":["paragraph"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.children.items.[INDEX].level","typeLabel":"string"},"text":{"type":"string","title":"Text","description":"Its own text, without its descendants.","isRequired":true,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.children.items.[INDEX].text","typeLabel":"string"},"inferred":{"type":"boolean","title":"Inferred","description":"True when the unit was read from inside a paragraph (a run-in list such as `either (i) x, or (ii) y`) and not printed on its own line by the publisher.","default":false,"examples":[true],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.children.items.[INDEX].inferred","typeLabel":"boolean"}},"type":"object","required":["path","label","level","text"],"title":"PinpointChild","description":"One unit directly beneath the located unit.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.children.items.[INDEX]","typeLabel":"PinpointChild · object"},"type":"array","title":"Children","description":"The units directly beneath this one.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.children","typeLabel":"PinpointChild · object[]"},"siblings":{"oneOf":[{"type":"object","title":"PinpointSiblings","description":"The labels either side of this unit within its parent.","properties":{"previous":{"oneOf":[{"type":"string","title":"Previous","description":"The previous sibling's label, null for the first.","example":"b","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.siblings.oneOf.0.previous.oneOf.0","typeLabel":"string"},{"type":"null","title":"Previous","description":"The previous sibling's label, null for the first.","example":"b","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.siblings.oneOf.0.previous.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.siblings.oneOf.0.previous","typeLabel":"string | null"},"next":{"oneOf":[{"type":"string","title":"Next","description":"The next sibling's label, null for the last.","example":"d","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.siblings.oneOf.0.next.oneOf.0","typeLabel":"string"},{"type":"null","title":"Next","description":"The next sibling's label, null for the last.","example":"d","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.siblings.oneOf.0.next.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.siblings.oneOf.0.next","typeLabel":"string | null"}},"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.siblings.oneOf.0","typeLabel":"PinpointSiblings · object"},{"type":"null","description":"The labels either side of this unit within its parent.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.siblings.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.siblings","typeLabel":"PinpointSiblings · object | null"},"charStart":{"oneOf":[{"type":"integer","title":"Charstart","description":"Offset of the unit's first character in `plain`.","example":1204,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.charStart.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Charstart","description":"Offset of the unit's first character in `plain`.","example":1204,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.charStart.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.charStart","typeLabel":"integer | null"},"charEnd":{"oneOf":[{"type":"integer","title":"Charend","description":"Offset just past the unit's last character in `plain` (including its children).","example":1873,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.charEnd.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Charend","description":"Offset just past the unit's last character in `plain` (including its children).","example":1873,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.charEnd.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.charEnd","typeLabel":"integer | null"},"kind":{"oneOf":[{"type":"string","title":"Kind","description":"Present when your citation named more than one unit: `range` (`(a)-(c)`) or `list` (`(a), (b)`). This block describes the FIRST unit only; the others are in `also`. Ask for each with `GET /us/statutes/section/{actId}/body?pinpoint=`.","enum":["range","list"],"example":"range","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.kind.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Kind","description":"Present when your citation named more than one unit: `range` (`(a)-(c)`) or `list` (`(a), (b)`). This block describes the FIRST unit only; the others are in `also`. Ask for each with `GET /us/statutes/section/{actId}/body?pinpoint=`.","example":"range","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.kind.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.kind","typeLabel":"enum\u003cstring> | null"},"also":{"items":{"type":"string","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.also.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Also","description":"With `kind`: the other units your citation named, as pinpoints (`[\"(b)\", \"(c)\"]`), at most 20.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.also","typeLabel":"string[]"},"unmatched":{"items":{"type":"string","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.unmatched.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Unmatched","description":"Under `matchLevel: ancestor`, the part of the requested path that does not exist, e.g. `[\"7\"]` when `(c)(7)` was asked and the section ends at `(c)(4)`.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.unmatched","typeLabel":"string[]"},"available":{"items":{"type":"string","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.available.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Available","description":"On a miss, the labels that DO exist at the level where the lookup stopped (at most 50), so a mistyped pinpoint can be corrected without another call.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.available","typeLabel":"string[]"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Present when `matched` is false. `no_such_subsection`: the outline is known and has no such unit. `no_structure`: we could not recover this section's outline, so a pinpoint cannot be located (the section text is still at `/body`).","example":"no_such_subsection","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Present when `matched` is false. `no_such_subsection`: the outline is known and has no such unit. `no_structure`: we could not recover this section's outline, so a pinpoint cannot be located (the section text is still at `/body`).","example":"no_such_subsection","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.reason","typeLabel":"string | null"},"note":{"oneOf":[{"type":"string","title":"Note","description":"A sentence saying what happened, when `matched` is false.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.note.oneOf.0","typeLabel":"string"},{"type":"null","title":"Note","description":"A sentence saying what happened, when `matched` is false.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.note.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.note","typeLabel":"string | null"},"structure":{"oneOf":[{"type":"object","title":"PinpointStructure","description":"Where the outline came from and how far it can be trusted.","required":["source"],"properties":{"source":{"type":"string","enum":["artifact","request_time"],"title":"Source","description":"`artifact`: a pre-built outline of this section, used only after its hash matched the exact text we serve. `request_time`: the outline was parsed from the text on this request.","examples":["artifact"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.0.source","typeLabel":"enum\u003cstring>"},"quality":{"oneOf":[{"type":"string","title":"Quality","description":"`native` (built from the publisher's own markup), `verified` (parsed from the text and passed every check), `heuristic` (parsed from the text and failed a check: use it, but confirm against the text) or `none` (no outline could be recovered). Null when the outline carries no grade.","example":"verified","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.0.quality.oneOf.0","typeLabel":"string"},{"type":"null","title":"Quality","description":"`native` (built from the publisher's own markup), `verified` (parsed from the text and passed every check), `heuristic` (parsed from the text and failed a check: use it, but confirm against the text) or `none` (no outline could be recovered). Null when the outline carries no grade.","example":"verified","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.0.quality.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.0.quality","typeLabel":"string | null"},"builder":{"oneOf":[{"type":"string","title":"Builder","description":"Which builder produced the outline.","example":"ilga_html","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.0.builder.oneOf.0","typeLabel":"string"},{"type":"null","title":"Builder","description":"Which builder produced the outline.","example":"ilga_html","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.0.builder.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.0.builder","typeLabel":"string | null"},"textSha256":{"oneOf":[{"type":"string","title":"Textsha256","description":"SHA-256 of the `plain` text every `charStart` / `charEnd` offset indexes into. Hash your copy of `plain` to confirm the offsets apply to it.","example":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.0.textSha256.oneOf.0","typeLabel":"string"},{"type":"null","title":"Textsha256","description":"SHA-256 of the `plain` text every `charStart` / `charEnd` offset indexes into. Hash your copy of `plain` to confirm the offsets apply to it.","example":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.0.textSha256.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.0.textSha256","typeLabel":"string | null"}},"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.0","typeLabel":"PinpointStructure · object"},{"type":"null","description":"Where the outline came from and how far it can be trusted.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0.structure","typeLabel":"PinpointStructure · object | null"}},"uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.0","typeLabel":"PinpointResult · object"},{"type":"null","description":"Present only when the row's `pinpoint` is non-empty, it resolved, and `resolve` was on. The unit that pinpoint names, located inside the resolved section. The subsection a pinpoint names, located inside the returned section. ALWAYS read `matched` (or `matchLevel`) before using `text` or `fullText`: when the section has no such subsection the block says so rather than staying silent, and under `matchLevel: ancestor` the text fields describe the deepest unit that DOES exist (read `unmatched` for the part of your pinpoint that did not). `path` is the machine form of the pinpoint, one entry per level. `(f)(1.5)` is `[\"f\", \"1.5\"]` and `(d-1)` is `[\"d-1\"]`, so a label that contains a dot or a hyphen is never split. `text` is the unit's own text (its lead-in when it has children), `fullText` is the unit with everything beneath it exactly as printed, and `leadIn` is each ancestor's own text in order, so a deeply nested unit can be read as the sentence it completes. `charStart` / `charEnd` index into the `plain` text of `GET /us/statutes/section/{actId}/body` (see `structure.textSha256`). No extra charge.","uniqueKey":"citations.items.[INDEX].pinpointMatch.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointMatch","typeLabel":"PinpointResult · object | null"},"pinpointNote":{"oneOf":[{"type":"string","title":"Pinpointnote","description":"Present only when the citation carried a pinpoint and we could not look it up this time (the section text was unavailable, or the lookup failed or ran out of time). The section itself resolved and is charged as usual; `subsection` still echoes the pinpoint. Retrying usually answers.","uniqueKey":"citations.items.[INDEX].pinpointNote.oneOf.0","typeLabel":"string"},{"type":"null","title":"Pinpointnote","description":"Present only when the citation carried a pinpoint and we could not look it up this time (the section text was unavailable, or the lookup failed or ran out of time). The section itself resolved and is charged as usual; `subsection` still echoes the pinpoint. Retrying usually answers.","uniqueKey":"citations.items.[INDEX].pinpointNote.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].pinpointNote","typeLabel":"string | null"},"missReason":{"oneOf":[{"type":"string","title":"Missreason","description":"Present only when `resolved` is false and none of `citationOutsideFilters` / `sessionLaw` already explains it. WHY the citation did not resolve: `ambiguous_jurisdiction` (the form is one several jurisdictions print, or names none, and no `state` was given: pass `state`; `candidates` lists the held sections it could mean when we can name them, and never picks one), `out_of_scope_corpus` (it names a body of law this route does not serve; `missReasonHint` says which and where to look), `former_law` (it names a repealed, renumbered or retired compilation we do not serve as current law; `missReasonHint` names the successor where one is known), `malformed` (no parser reads it: a docket or database token, a case or treatise citation, a string with no section number, or a subdivision or edition year with no section before it), `container_not_supported` (it cites a chapter, article, title or part, not a section; this route resolves sections, and answers a container only in the forms `matchLevel: container` lists: browse it with `GET /us/statutes/divisions`, or cite a section inside it), `not_held` (it reads as a citation to a jurisdiction and corpus we serve, and that corpus does not hold the section), `index_warming` (batch items only: the code this citation names was still being read when the call arrived, so there is NO verdict about the citation; the item is not billed, and sending it again in a few seconds answers it), `lookup_failed` (batch items only: the citation resolved, but WE failed to load or serialize its section, so this says nothing about whether the section exists; the item is refunded and counted in the response's `failedCount`, and retrying it answers it). A miss is still charged, because the verdict is the product, except `index_warming` and `lookup_failed`, which are not verdicts and are never charged; the reason itself adds no charge. Absent on a resolved citation.","enum":["not_held","former_law","ambiguous_jurisdiction","malformed","out_of_scope_corpus","container_not_supported","index_warming","lookup_failed"],"example":"ambiguous_jurisdiction","uniqueKey":"citations.items.[INDEX].missReason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Missreason","description":"Present only when `resolved` is false and none of `citationOutsideFilters` / `sessionLaw` already explains it. WHY the citation did not resolve: `ambiguous_jurisdiction` (the form is one several jurisdictions print, or names none, and no `state` was given: pass `state`; `candidates` lists the held sections it could mean when we can name them, and never picks one), `out_of_scope_corpus` (it names a body of law this route does not serve; `missReasonHint` says which and where to look), `former_law` (it names a repealed, renumbered or retired compilation we do not serve as current law; `missReasonHint` names the successor where one is known), `malformed` (no parser reads it: a docket or database token, a case or treatise citation, a string with no section number, or a subdivision or edition year with no section before it), `container_not_supported` (it cites a chapter, article, title or part, not a section; this route resolves sections, and answers a container only in the forms `matchLevel: container` lists: browse it with `GET /us/statutes/divisions`, or cite a section inside it), `not_held` (it reads as a citation to a jurisdiction and corpus we serve, and that corpus does not hold the section), `index_warming` (batch items only: the code this citation names was still being read when the call arrived, so there is NO verdict about the citation; the item is not billed, and sending it again in a few seconds answers it), `lookup_failed` (batch items only: the citation resolved, but WE failed to load or serialize its section, so this says nothing about whether the section exists; the item is refunded and counted in the response's `failedCount`, and retrying it answers it). A miss is still charged, because the verdict is the product, except `index_warming` and `lookup_failed`, which are not verdicts and are never charged; the reason itself adds no charge. Absent on a resolved citation.","example":"ambiguous_jurisdiction","uniqueKey":"citations.items.[INDEX].missReason.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].missReason","typeLabel":"enum\u003cstring> | null"},"candidates":{"oneOf":[{"type":"array","items":{"properties":{"state":{"type":"string","title":"State","description":"The jurisdiction to pass as `state` to resolve this one.","examples":["co"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].candidates.oneOf.0.items.[INDEX].state","typeLabel":"string"},"actId":{"type":"string","title":"Actid","description":"The section's id.","examples":["REG_CO_T8_S1206-2"],"isRequired":true,"uniqueKey":"citations.items.[INDEX].candidates.oneOf.0.items.[INDEX].actId","typeLabel":"string"},"citation":{"oneOf":[{"type":"string","title":"Citation","description":"Its own citation, as it appears in results.","example":"8 CCR 1206-2","uniqueKey":"citations.items.[INDEX].candidates.oneOf.0.items.[INDEX].citation.oneOf.0","typeLabel":"string"},{"type":"null","title":"Citation","description":"Its own citation, as it appears in results.","example":"8 CCR 1206-2","uniqueKey":"citations.items.[INDEX].candidates.oneOf.0.items.[INDEX].citation.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].candidates.oneOf.0.items.[INDEX].citation","typeLabel":"string | null"},"subsection":{"oneOf":[{"type":"string","title":"Subsection","description":"The pinpoint the citation carried, if any.","uniqueKey":"citations.items.[INDEX].candidates.oneOf.0.items.[INDEX].subsection.oneOf.0","typeLabel":"string"},{"type":"null","title":"Subsection","description":"The pinpoint the citation carried, if any.","uniqueKey":"citations.items.[INDEX].candidates.oneOf.0.items.[INDEX].subsection.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].candidates.oneOf.0.items.[INDEX].subsection","typeLabel":"string | null"}},"type":"object","required":["state","actId"],"title":"MissReasonCandidate","description":"A held section an ambiguous citation could mean.","uniqueKey":"citations.items.[INDEX].candidates.oneOf.0.items.[INDEX]","typeLabel":"MissReasonCandidate · object"},"title":"Candidates","description":"Present only with `missReason: ambiguous_jurisdiction`, and only when we can name the held sections the citation could mean (an acronym two states print, such as `CCR`). At most 10 entries. Pass the right one's `state` to `GET /us/statutes/resolve` to resolve it. Never a pick: when several are listed, none is the answer.","uniqueKey":"citations.items.[INDEX].candidates.oneOf.0","typeLabel":"MissReasonCandidate · object[]"},{"type":"null","title":"Candidates","description":"Present only with `missReason: ambiguous_jurisdiction`, and only when we can name the held sections the citation could mean (an acronym two states print, such as `CCR`). At most 10 entries. Pass the right one's `state` to `GET /us/statutes/resolve` to resolve it. Never a pick: when several are listed, none is the answer.","uniqueKey":"citations.items.[INDEX].candidates.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].candidates","typeLabel":"MissReasonCandidate · object[] | null"},"missReasonHint":{"oneOf":[{"type":"string","title":"Missreasonhint","description":"Present with `missReason`. One sentence on what to try next. Prose for a human or an agent; do not parse it.","uniqueKey":"citations.items.[INDEX].missReasonHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Missreasonhint","description":"Present with `missReason`. One sentence on what to try next. Prose for a human or an agent; do not parse it.","uniqueKey":"citations.items.[INDEX].missReasonHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].missReasonHint","typeLabel":"string | null"},"resolvedWithState":{"oneOf":[{"type":"string","title":"Resolvedwithstate","description":"The state scope that produced the answer when the unscoped resolve missed: the state the citation names, else your `state`. Null when it resolved as written.","example":null,"uniqueKey":"citations.items.[INDEX].resolvedWithState.oneOf.0","typeLabel":"string"},{"type":"null","title":"Resolvedwithstate","description":"The state scope that produced the answer when the unscoped resolve missed: the state the citation names, else your `state`. Null when it resolved as written.","example":null,"uniqueKey":"citations.items.[INDEX].resolvedWithState.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].resolvedWithState","typeLabel":"string | null"},"skipped":{"oneOf":[{"type":"string","title":"Skipped","description":"Why no resolution was attempted or it failed: `session_law` (an act as enacted, not a code section: read it under `/us/session-laws`; not charged) or `error` (we failed to process it; refunded).","enum":["session_law","error"],"example":null,"uniqueKey":"citations.items.[INDEX].skipped.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Skipped","description":"Why no resolution was attempted or it failed: `session_law` (an act as enacted, not a code section: read it under `/us/session-laws`; not charged) or `error` (we failed to process it; refunded).","example":null,"uniqueKey":"citations.items.[INDEX].skipped.oneOf.1","typeLabel":"null"}],"uniqueKey":"citations.items.[INDEX].skipped","typeLabel":"enum\u003cstring> | null"}},"type":"object","required":["citation","raw","type","subtype","resolved"],"title":"ExtractedCitationRow","description":"One distinct citation found in the text, and what the resolver said about it.","uniqueKey":"citations.items.[INDEX]","typeLabel":"ExtractedCitationRow · object"},"type":"array","title":"Citations","description":"One row per distinct citation and pinpoint, in order of first appearance.","uniqueKey":"citations","typeLabel":"ExtractedCitationRow · object[]"},"truncated":{"type":"boolean","title":"Truncated","description":"True when more than 200 distinct citations were found and `citations` holds the first of them. `counts.found` still reports the number found, and only the ones listed were resolved and charged.","default":false,"uniqueKey":"truncated","typeLabel":"boolean"},"creditsConsumed":{"type":"number","title":"Creditsconsumed","description":"Credits actually charged. 0 when `resolve` is false.","default":0,"examples":[6],"uniqueKey":"creditsConsumed","typeLabel":"number"},"processingTimeMs":{"type":"number","title":"Processingtimems","description":"Server-side time for this request in milliseconds. Not billed on.","default":0,"examples":[412],"uniqueKey":"processingTimeMs","typeLabel":"number"}},"type":"object","required":["counts","textChars","extractorVersion"],"title":"ExtractCitationsResponse","uniqueKey":"","typeLabel":"ExtractCitationsResponse · object"},"example":{"citations":[{"citation":"42 U.S.C. § 1983","raw":"42 U.S.C. § 1983(b)","type":"Statute","subtype":"usc","jurisdiction":"US","jurisdictionSource":"cite","pinpoint":"(b)","mentions":2,"resolved":true,"actId":"USC_T42_C21_S1983","subsection":"b"},{"citation":"Cal. Civ. Code § 99999","raw":"Cal. Civ. Code § 99999","type":"Statute","subtype":"state_statute","jurisdiction":"CA","jurisdictionSource":"cite","pinpoint":"","mentions":1,"resolved":false,"missReason":"not_held","missReasonHint":"This reads as a statute citation to CA, and we do not hold that section. Check the number, or find the provision by topic with `POST /us/statutes/search`."}],"counts":{"found":2,"resolved":1,"unresolved":1,"skipped":0},"truncated":false,"textChars":812,"extractorVersion":"0.6.0","creditsConsumed":4,"processingTimeMs":412},"examples":{"Example":{"title":"Example","value":{"citations":[{"citation":"42 U.S.C. § 1983","raw":"42 U.S.C. § 1983(b)","type":"Statute","subtype":"usc","jurisdiction":"US","jurisdictionSource":"cite","pinpoint":"(b)","mentions":2,"resolved":true,"actId":"USC_T42_C21_S1983","subsection":"b"},{"citation":"Cal. Civ. Code § 99999","raw":"Cal. Civ. Code § 99999","type":"Statute","subtype":"state_statute","jurisdiction":"CA","jurisdictionSource":"cite","pinpoint":"","mentions":1,"resolved":false,"missReason":"not_held","missReasonHint":"This reads as a statute citation to CA, and we do not hold that section. Check the number, or find the provision by topic with `POST /us/statutes/search`."}],"counts":{"found":2,"resolved":1,"unresolved":1,"skipped":0},"truncated":false,"textChars":812,"extractorVersion":"0.6.0","creditsConsumed":4,"processingTimeMs":412}}},"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"},"0ed04080-51e8-4773-8b1d-6ad0633d2643":{"description":"Invalid or missing API key.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","corpusType"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Input should be 'USC', 'CFR' or 'STATE'"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["literal_error"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requestId","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryable","typeLabel":"boolean | null"},"retryAfterSeconds":{"oneOf":[{"type":"integer","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfterSeconds","typeLabel":"integer | null"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","corpusType"],"msg":"Input should be 'USC', 'CFR' or 'STATE'","type":"literal_error"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"USC_99_9999","reason":"not_in_registry","didYouMean":["\u003cstring>"]}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"3f90a827-cbcd-4d8c-b41f-afea4c6c975f":{"description":"Insufficient credits for the citations found. Nothing was resolved.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","corpusType"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Input should be 'USC', 'CFR' or 'STATE'"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["literal_error"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requestId","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryable","typeLabel":"boolean | null"},"retryAfterSeconds":{"oneOf":[{"type":"integer","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfterSeconds","typeLabel":"integer | null"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","corpusType"],"msg":"Input should be 'USC', 'CFR' or 'STATE'","type":"literal_error"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"USC_99_9999","reason":"not_in_registry","didYouMean":["\u003cstring>"]}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"32f66ce3-3ae6-4fe7-a380-b59aa33ea02f":{"description":"Idempotency conflict. `idempotency_in_progress`: the original request with this key is still running (retry after `Retry-After`). `idempotency_replay_unavailable`: it completed but its response was too large to replay; nothing is charged again, so check the credit balance instead of retrying.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","corpusType"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Input should be 'USC', 'CFR' or 'STATE'"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["literal_error"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requestId","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryable","typeLabel":"boolean | null"},"retryAfterSeconds":{"oneOf":[{"type":"integer","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfterSeconds","typeLabel":"integer | null"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","corpusType"],"msg":"Input should be 'USC', 'CFR' or 'STATE'","type":"literal_error"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"USC_99_9999","reason":"not_in_registry","didYouMean":["\u003cstring>"]}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"975491f1-6036-443f-a2f8-bf998ec8ec57":{"description":"`text` is empty, over the character limit, not text, or `state` is unknown. `idempotency_key_reused`: the `Idempotency-Key` was already used with a different request.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","corpusType"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Input should be 'USC', 'CFR' or 'STATE'"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["literal_error"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requestId","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryable","typeLabel":"boolean | null"},"retryAfterSeconds":{"oneOf":[{"type":"integer","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfterSeconds","typeLabel":"integer | null"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","corpusType"],"msg":"Input should be 'USC', 'CFR' or 'STATE'","type":"literal_error"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"USC_99_9999","reason":"not_in_registry","didYouMean":["\u003cstring>"]}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"1acf7c1b-7817-4690-9955-3482c3a67380":{"description":"Rate limit exceeded, or this key's daily resolution allowance is spent (`Retry-After` says when it resets). Nothing was charged.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","corpusType"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Input should be 'USC', 'CFR' or 'STATE'"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["literal_error"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requestId","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryable","typeLabel":"boolean | null"},"retryAfterSeconds":{"oneOf":[{"type":"integer","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfterSeconds","typeLabel":"integer | null"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","corpusType"],"msg":"Input should be 'USC', 'CFR' or 'STATE'","type":"literal_error"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"USC_99_9999","reason":"not_in_registry","didYouMean":["\u003cstring>"]}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"exampleType":"generated"},"6d7e94c2-0386-4ced-aa46-70e888620db0":{"description":"The statutes corpus is temporarily unavailable. The charge is refunded.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","corpusType"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Input should be 'USC', 'CFR' or 'STATE'"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["literal_error"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, permission_denied, insufficient_scope, insufficient_credits, rate_limited, daily_cap_exceeded, validation_error, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","permission_denied","insufficient_scope","insufficient_credits","rate_limited","daily_cap_exceeded","validation_error","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.1","typeLabel":"null"}],"uniqueKey":"code","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Type","description":"URL naming the error kind, `https://www.vaquill.ai/docs/errors/{code}`.","example":"https://www.vaquill.ai/docs/errors/insufficient_credits","uniqueKey":"type.oneOf.1","typeLabel":"null"}],"uniqueKey":"type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.0","typeLabel":"string"},{"type":"null","title":"Title","description":"Short fixed English title for `code`.","example":"Insufficient credits","uniqueKey":"title.oneOf.1","typeLabel":"null"}],"uniqueKey":"title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Status","description":"Echo of the HTTP status code.","example":402,"uniqueKey":"status.oneOf.1","typeLabel":"null"}],"uniqueKey":"status","typeLabel":"integer | null"},"requestId":{"oneOf":[{"type":"string","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Requestid","description":"Equals the `X-Request-ID` response header. Quote it to support.","example":"8d32789e-7b27-44f7-9523-424596e7a929","uniqueKey":"requestId.oneOf.1","typeLabel":"null"}],"uniqueKey":"requestId","typeLabel":"string | null"},"retryable":{"oneOf":[{"type":"boolean","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Retryable","description":"True only when repeating the same request is safe and may succeed.","example":false,"uniqueKey":"retryable.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryable","typeLabel":"boolean | null"},"retryAfterSeconds":{"oneOf":[{"type":"integer","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Retryafterseconds","description":"On 429 and 503 when `Retry-After` is set: the same value in seconds.","example":30,"uniqueKey":"retryAfterSeconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"retryAfterSeconds","typeLabel":"integer | null"},"actId":{"oneOf":[{"type":"string","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"USC_99_9999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","corpusType"],"msg":"Input should be 'USC', 'CFR' or 'STATE'","type":"literal_error"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"USC_99_9999","reason":"not_in_registry","didYouMean":["\u003cstring>"]}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"}},"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":"Find the citations in a text and resolve each - Vaquill AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each.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=\"Read a block of text (a brief, a memo, a statute-heavy email, a model\u0026#x27;s answer) and return every distinct non-case legal citation in it, each resolved to the section it names. The text-in counterpart of POST /us/statutes/resolve: one call instead of extracting the citations yourself and sending them in batches of 50. Extraction reads statutes, regulations, court rules, constitutions and registers, in federal and state form (42 U.S.C. § 1983(b), Cal. Civ. Code § 1942, Fed. R. Civ. P. 12, 8 CCR 1206-2, N.Y. Const. art. I, § 8). It does not extract case citations. It is measured, not perfect: about 0.92 to 0.98 precision and 0.80 to 0.85 recall on unseen opinion text, so a citation can be missed and a non-citation can be read as one; resolved is what we verified. extractorVersion is the extractor\u0026#x27;s version: the same text can yield different citations when it changes. Dedupe. A citation and its pinpoint are one row however many times that exact pair appears (mentions counts them). Cal. Civ. Code § 1950.5(h) and Cal. Civ. Code § 1950.5(l) are two rows, each with its own pinpoint and pinpointMatch, so a wrong pinpoint on a repeated mention is checked and not hidden behind the first. A later bare section 1950.5(l) is read as the section the text already cited in full, when exactly one cited section has that number. The section is resolved once and charged once however many pinpoints of it appear. 42 U.S.C. § 1983 and 42 U.S.C.A. § 1983 are two rows, because they are two strings a reader might want checked; both carry the same actId. Cost: 2 credits per DISTINCT citation (section, not pinpoint) sent to the resolver, the same as POST /us/statutes/resolve, so pasting a document costs what pasting its citations one by one costs. The extraction itself is free: resolve: false returns the citations found and charges nothing. An unresolved citation is charged (the verdict is the product); a session-law citation (skipped: session_law, read it under /us/session-laws) is not resolved here and not charged; a citation we fail to process is refunded one by one, and an outage that takes half of them or more answers 503 and refunds the call. The charge is taken after extraction and before any lookup, so creditsConsumed is known up front. One call resolves at most 200 distinct citations, so one click is at most 400 credits; truncated: true says more were found and only the listed ones were charged. Limits. text is at most 200,000 characters (a 422, never a truncation) and must be text. A key may send 5,000 resolutions a day through this route; past that the call answers 429 with Retry-After and nothing is charged. The text is never stored. Pinpoints. A citation printed with a pinpoint (42 U.S.C. § 1983(b)) also carries pinpointMatch: the unit it names, located inside the resolved section, as on GET /us/statutes/resolve (pinpoint there; here pinpoint is already the string printed in the text). Read pinpointMatch.matched first. It is present only for an exact match, adds no credits, and a row whose pinpoint could not be looked up this time keeps its resolution and gets a pinpointNote. pinpointMatch.matched: false (or matchLevel ancestor or none) says the section has no such unit; pinpointMatch.structure.quality: heuristic says the outline was parsed from the text and failed a check, so trust it less. A unit that EXISTS is not proof it says what the text claims: (l) exists in Cal. Civ. Code 1950.5 as a different rule than the one a brief may attribute to it. Compare pinpointMatch.text (the unit\u0026#x27;s own words) with the claim. A call spends at most about 20 seconds on pinpoints. Unresolved rows carry missReason, candidates and missReasonHint, the same finding GET /us/statutes/resolve gives (no extra charge). Pass state (the document\u0026#x27;s jurisdiction) so a citation that names none, such as Civil Rule 56.1, is checked against the right one. Related: POST /us/statutes/resolve for citations you already hold; GET /us/statutes/section/{actId} to read a resolved section.\">\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=\"Find the citations in a text and resolve each - Vaquill AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Read a block of text (a brief, a memo, a statute-heavy email, a model\u0026#x27;s answer) and return every distinct non-case legal citation in it, each resolved to the section it names. The text-in counterpart of POST /us/statutes/resolve: one call instead of extracting the citations yourself and sending them in batches of 50. Extraction reads statutes, regulations, court rules, constitutions and registers, in federal and state form (42 U.S.C. § 1983(b), Cal. Civ. Code § 1942, Fed. R. Civ. P. 12, 8 CCR 1206-2, N.Y. Const. art. I, § 8). It does not extract case citations. It is measured, not perfect: about 0.92 to 0.98 precision and 0.80 to 0.85 recall on unseen opinion text, so a citation can be missed and a non-citation can be read as one; resolved is what we verified. extractorVersion is the extractor\u0026#x27;s version: the same text can yield different citations when it changes. Dedupe. A citation and its pinpoint are one row however many times that exact pair appears (mentions counts them). Cal. Civ. Code § 1950.5(h) and Cal. Civ. Code § 1950.5(l) are two rows, each with its own pinpoint and pinpointMatch, so a wrong pinpoint on a repeated mention is checked and not hidden behind the first. A later bare section 1950.5(l) is read as the section the text already cited in full, when exactly one cited section has that number. The section is resolved once and charged once however many pinpoints of it appear. 42 U.S.C. § 1983 and 42 U.S.C.A. § 1983 are two rows, because they are two strings a reader might want checked; both carry the same actId. Cost: 2 credits per DISTINCT citation (section, not pinpoint) sent to the resolver, the same as POST /us/statutes/resolve, so pasting a document costs what pasting its citations one by one costs. The extraction itself is free: resolve: false returns the citations found and charges nothing. An unresolved citation is charged (the verdict is the product); a session-law citation (skipped: session_law, read it under /us/session-laws) is not resolved here and not charged; a citation we fail to process is refunded one by one, and an outage that takes half of them or more answers 503 and refunds the call. The charge is taken after extraction and before any lookup, so creditsConsumed is known up front. One call resolves at most 200 distinct citations, so one click is at most 400 credits; truncated: true says more were found and only the listed ones were charged. Limits. text is at most 200,000 characters (a 422, never a truncation) and must be text. A key may send 5,000 resolutions a day through this route; past that the call answers 429 with Retry-After and nothing is charged. The text is never stored. Pinpoints. A citation printed with a pinpoint (42 U.S.C. § 1983(b)) also carries pinpointMatch: the unit it names, located inside the resolved section, as on GET /us/statutes/resolve (pinpoint there; here pinpoint is already the string printed in the text). Read pinpointMatch.matched first. It is present only for an exact match, adds no credits, and a row whose pinpoint could not be looked up this time keeps its resolution and gets a pinpointNote. pinpointMatch.matched: false (or matchLevel ancestor or none) says the section has no such unit; pinpointMatch.structure.quality: heuristic says the outline was parsed from the text and failed a check, so trust it less. A unit that EXISTS is not proof it says what the text claims: (l) exists in Cal. Civ. Code 1950.5 as a different rule than the one a brief may attribute to it. Compare pinpointMatch.text (the unit\u0026#x27;s own words) with the claim. A call spends at most about 20 seconds on pinpoints. Unresolved rows carry missReason, candidates and missReasonHint, the same finding GET /us/statutes/resolve gives (no extra charge). Pass state (the document\u0026#x27;s jurisdiction) so a citation that names none, such as Civil Rule 56.1, is checked against the right one. Related: POST /us/statutes/resolve for citations you already hold; GET /us/statutes/section/{actId} to read a resolved section.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Vaquill AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.vaquill.ai/docs/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://vaquill.mintlify.site/docs/_mintlify/api/og/v2?division=US+Statutes\u0026amp;title=Find+the+citations+in+a+text+and+resolve+each\u0026amp;description=Read+a+block+of+text+%28a+brief%2C+a+memo%2C+a+statute-heavy+email%2C+a+model%27s+answer%29+and+return+every%0Adistinct+non-case+legal+citation+in+it%2C+each+resolved+to+the+se\u0026amp;theme=c0fd5b007b30a7a110519c4a\u0026amp;signature=56bb413a3338e066315805af19ac2885a6f3c226c583b038d4817cdeb11647ba\">\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=\"Find the citations in a text and resolve each - Vaquill AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Read a block of text (a brief, a memo, a statute-heavy email, a model\u0026#x27;s answer) and return every distinct non-case legal citation in it, each resolved to the section it names. The text-in counterpart of POST /us/statutes/resolve: one call instead of extracting the citations yourself and sending them in batches of 50. Extraction reads statutes, regulations, court rules, constitutions and registers, in federal and state form (42 U.S.C. § 1983(b), Cal. Civ. Code § 1942, Fed. R. Civ. P. 12, 8 CCR 1206-2, N.Y. Const. art. I, § 8). It does not extract case citations. It is measured, not perfect: about 0.92 to 0.98 precision and 0.80 to 0.85 recall on unseen opinion text, so a citation can be missed and a non-citation can be read as one; resolved is what we verified. extractorVersion is the extractor\u0026#x27;s version: the same text can yield different citations when it changes. Dedupe. A citation and its pinpoint are one row however many times that exact pair appears (mentions counts them). Cal. Civ. Code § 1950.5(h) and Cal. Civ. Code § 1950.5(l) are two rows, each with its own pinpoint and pinpointMatch, so a wrong pinpoint on a repeated mention is checked and not hidden behind the first. A later bare section 1950.5(l) is read as the section the text already cited in full, when exactly one cited section has that number. The section is resolved once and charged once however many pinpoints of it appear. 42 U.S.C. § 1983 and 42 U.S.C.A. § 1983 are two rows, because they are two strings a reader might want checked; both carry the same actId. Cost: 2 credits per DISTINCT citation (section, not pinpoint) sent to the resolver, the same as POST /us/statutes/resolve, so pasting a document costs what pasting its citations one by one costs. The extraction itself is free: resolve: false returns the citations found and charges nothing. An unresolved citation is charged (the verdict is the product); a session-law citation (skipped: session_law, read it under /us/session-laws) is not resolved here and not charged; a citation we fail to process is refunded one by one, and an outage that takes half of them or more answers 503 and refunds the call. The charge is taken after extraction and before any lookup, so creditsConsumed is known up front. One call resolves at most 200 distinct citations, so one click is at most 400 credits; truncated: true says more were found and only the listed ones were charged. Limits. text is at most 200,000 characters (a 422, never a truncation) and must be text. A key may send 5,000 resolutions a day through this route; past that the call answers 429 with Retry-After and nothing is charged. The text is never stored. Pinpoints. A citation printed with a pinpoint (42 U.S.C. § 1983(b)) also carries pinpointMatch: the unit it names, located inside the resolved section, as on GET /us/statutes/resolve (pinpoint there; here pinpoint is already the string printed in the text). Read pinpointMatch.matched first. It is present only for an exact match, adds no credits, and a row whose pinpoint could not be looked up this time keeps its resolution and gets a pinpointNote. pinpointMatch.matched: false (or matchLevel ancestor or none) says the section has no such unit; pinpointMatch.structure.quality: heuristic says the outline was parsed from the text and failed a check, so trust it less. A unit that EXISTS is not proof it says what the text claims: (l) exists in Cal. Civ. Code 1950.5 as a different rule than the one a brief may attribute to it. Compare pinpointMatch.text (the unit\u0026#x27;s own words) with the claim. A call spends at most about 20 seconds on pinpoints. Unresolved rows carry missReason, candidates and missReasonHint, the same finding GET /us/statutes/resolve gives (no extra charge). Pass state (the document\u0026#x27;s jurisdiction) so a citation that names none, such as Civil Rule 56.1, is checked against the right one. Related: POST /us/statutes/resolve for citations you already hold; GET /us/statutes/section/{actId} to read a resolved section.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vaquill.mintlify.site/docs/_mintlify/api/og/v2?division=US+Statutes\u0026amp;title=Find+the+citations+in+a+text+and+resolve+each\u0026amp;description=Read+a+block+of+text+%28a+brief%2C+a+memo%2C+a+statute-heavy+email%2C+a+model%27s+answer%29+and+return+every%0Adistinct+non-case+legal+citation+in+it%2C+each+resolved+to+the+se\u0026amp;theme=c0fd5b007b30a7a110519c4a\u0026amp;signature=56bb413a3338e066315805af19ac2885a6f3c226c583b038d4817cdeb11647ba\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Vaquill AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6E3730\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.vaquill.ai/docs/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.vaquill.ai/#organization\",\"name\":\"Vaquill AI\",\"url\":\"https://www.vaquill.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/vaquill/HoYf91pjRoTl4-t3/logo/light.png?fit=max\u0026auto=format\u0026n=HoYf91pjRoTl4-t3\u0026q=85\u0026s=1c97b6018caaa1fee0a743b05651bb81\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.vaquill.ai/docs#website\",\"name\":\"Vaquill AI\",\"url\":\"https://www.vaquill.ai/docs\",\"publisher\":{\"@id\":\"https://www.vaquill.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each#webpage\",\"url\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each\",\"name\":\"Find the citations in a text and resolve each\",\"description\":\"Read a block of text (a brief, a memo, a statute-heavy email, a model's answer) and return every distinct non-case legal citation in it, each resolved to the section it names. The text-in counterpart of POST /us/statutes/resolve: one call instead of extracting the citations yourself and sending them in batches of 50. Extraction reads statutes, regulations, court rules, constitutions and registers, in federal and state form (42 U.S.C. § 1983(b), Cal. Civ. Code § 1942, Fed. R. Civ. P. 12, 8 CCR 1206-2, N.Y. Const. art. I, § 8). It does not extract case citations. It is measured, not perfect: about 0.92 to 0.98 precision and 0.80 to 0.85 recall on unseen opinion text, so a citation can be missed and a non-citation can be read as one; resolved is what we verified. extractorVersion is the extractor's version: the same text can yield different citations when it changes. Dedupe. A citation and its pinpoint are one row however many times that exact pair appears (mentions counts them). Cal. Civ. Code § 1950.5(h) and Cal. Civ. Code § 1950.5(l) are two rows, each with its own pinpoint and pinpointMatch, so a wrong pinpoint on a repeated mention is checked and not hidden behind the first. A later bare section 1950.5(l) is read as the section the text already cited in full, when exactly one cited section has that number. The section is resolved once and charged once however many pinpoints of it appear. 42 U.S.C. § 1983 and 42 U.S.C.A. § 1983 are two rows, because they are two strings a reader might want checked; both carry the same actId. Cost: 2 credits per DISTINCT citation (section, not pinpoint) sent to the resolver, the same as POST /us/statutes/resolve, so pasting a document costs what pasting its citations one by one costs. The extraction itself is free: resolve: false returns the citations found and charges nothing. An unresolved citation is charged (the verdict is the product); a session-law citation (skipped: session_law, read it under /us/session-laws) is not resolved here and not charged; a citation we fail to process is refunded one by one, and an outage that takes half of them or more answers 503 and refunds the call. The charge is taken after extraction and before any lookup, so creditsConsumed is known up front. One call resolves at most 200 distinct citations, so one click is at most 400 credits; truncated: true says more were found and only the listed ones were charged. Limits. text is at most 200,000 characters (a 422, never a truncation) and must be text. A key may send 5,000 resolutions a day through this route; past that the call answers 429 with Retry-After and nothing is charged. The text is never stored. Pinpoints. A citation printed with a pinpoint (42 U.S.C. § 1983(b)) also carries pinpointMatch: the unit it names, located inside the resolved section, as on GET /us/statutes/resolve (pinpoint there; here pinpoint is already the string printed in the text). Read pinpointMatch.matched first. It is present only for an exact match, adds no credits, and a row whose pinpoint could not be looked up this time keeps its resolution and gets a pinpointNote. pinpointMatch.matched: false (or matchLevel ancestor or none) says the section has no such unit; pinpointMatch.structure.quality: heuristic says the outline was parsed from the text and failed a check, so trust it less. A unit that EXISTS is not proof it says what the text claims: (l) exists in Cal. Civ. Code 1950.5 as a different rule than the one a brief may attribute to it. Compare pinpointMatch.text (the unit's own words) with the claim. A call spends at most about 20 seconds on pinpoints. Unresolved rows carry missReason, candidates and missReasonHint, the same finding GET /us/statutes/resolve gives (no extra charge). Pass state (the document's jurisdiction) so a citation that names none, such as Civil Rule 56.1, is checked against the right one. Related: POST /us/statutes/resolve for citations you already hold; GET /us/statutes/section/{actId} to read a resolved section.\",\"isPartOf\":{\"@id\":\"https://www.vaquill.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"US Statutes\",\"item\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/search-us-statutes-constitutions-court-rules-and-executive-actions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Find the citations in a text and resolve each\",\"item\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each#apireference\",\"headline\":\"Find the citations in a text and resolve each\",\"name\":\"Find the citations in a text and resolve each\",\"description\":\"Read a block of text (a brief, a memo, a statute-heavy email, a model's answer) and return every distinct non-case legal citation in it, each resolved to the section it names. The text-in counterpart of POST /us/statutes/resolve: one call instead of extracting the citations yourself and sending them in batches of 50. Extraction reads statutes, regulations, court rules, constitutions and registers, in federal and state form (42 U.S.C. § 1983(b), Cal. Civ. Code § 1942, Fed. R. Civ. P. 12, 8 CCR 1206-2, N.Y. Const. art. I, § 8). It does not extract case citations. It is measured, not perfect: about 0.92 to 0.98 precision and 0.80 to 0.85 recall on unseen opinion text, so a citation can be missed and a non-citation can be read as one; resolved is what we verified. extractorVersion is the extractor's version: the same text can yield different citations when it changes. Dedupe. A citation and its pinpoint are one row however many times that exact pair appears (mentions counts them). Cal. Civ. Code § 1950.5(h) and Cal. Civ. Code § 1950.5(l) are two rows, each with its own pinpoint and pinpointMatch, so a wrong pinpoint on a repeated mention is checked and not hidden behind the first. A later bare section 1950.5(l) is read as the section the text already cited in full, when exactly one cited section has that number. The section is resolved once and charged once however many pinpoints of it appear. 42 U.S.C. § 1983 and 42 U.S.C.A. § 1983 are two rows, because they are two strings a reader might want checked; both carry the same actId. Cost: 2 credits per DISTINCT citation (section, not pinpoint) sent to the resolver, the same as POST /us/statutes/resolve, so pasting a document costs what pasting its citations one by one costs. The extraction itself is free: resolve: false returns the citations found and charges nothing. An unresolved citation is charged (the verdict is the product); a session-law citation (skipped: session_law, read it under /us/session-laws) is not resolved here and not charged; a citation we fail to process is refunded one by one, and an outage that takes half of them or more answers 503 and refunds the call. The charge is taken after extraction and before any lookup, so creditsConsumed is known up front. One call resolves at most 200 distinct citations, so one click is at most 400 credits; truncated: true says more were found and only the listed ones were charged. Limits. text is at most 200,000 characters (a 422, never a truncation) and must be text. A key may send 5,000 resolutions a day through this route; past that the call answers 429 with Retry-After and nothing is charged. The text is never stored. Pinpoints. A citation printed with a pinpoint (42 U.S.C. § 1983(b)) also carries pinpointMatch: the unit it names, located inside the resolved section, as on GET /us/statutes/resolve (pinpoint there; here pinpoint is already the string printed in the text). Read pinpointMatch.matched first. It is present only for an exact match, adds no credits, and a row whose pinpoint could not be looked up this time keeps its resolution and gets a pinpointNote. pinpointMatch.matched: false (or matchLevel ancestor or none) says the section has no such unit; pinpointMatch.structure.quality: heuristic says the outline was parsed from the text and failed a check, so trust it less. A unit that EXISTS is not proof it says what the text claims: (l) exists in Cal. Civ. Code 1950.5 as a different rule than the one a brief may attribute to it. Compare pinpointMatch.text (the unit's own words) with the claim. A call spends at most about 20 seconds on pinpoints. Unresolved rows carry missReason, candidates and missReasonHint, the same finding GET /us/statutes/resolve gives (no extra charge). Pass state (the document's jurisdiction) so a citation that names none, such as Civil Rule 56.1, is checked against the right one. Related: POST /us/statutes/resolve for citations you already hold; GET /us/statutes/section/{actId} to read a resolved section.\",\"url\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each\",\"mainEntityOfPage\":{\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each#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","description":"Every Federal Register rule, proposed rule and notice whose CFR references include this title and\npart, newest first, for the requested publication years.\n\n**Cost**: 2 credits. Failed lookups and parts that do not exist (404) are not charged.\n\nGrouping is done over the Federal Register documents of each requested year, not from an index on\nCFR parts, so the window is bounded: `years` most recent years (default 5, max 12).\n`coverage` says when a year's read was truncated.","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","description":"The USC and CFR sections whose text cross-references a given section.\n\n**Cost**: 2 credits. Not-found, failed lookups, and sections in a corpus with no\ncross-reference index are not charged.\n\nA section lookup tells you what a section cites; this is the other direction,\nwhich provisions elsewhere in the code depend on this one. That is the question\nbehind \"if this section changes, what else is affected\".\n\nResults are one row per citing section, never one row per matching chunk, best\nfirst: sections whose own text is confirmed to name this one, then by closeness\nto it (same chapter, same title, same code, other federal law, everything\nelse), then by how focused the citing section is. A tax-code list that mentions\na statute in passing ranks below the chapter that implements it.\n\n**Paging**: `limit` is the page size (default 25, max 100) and `offset` the\nstart. Read `hasMore` and pass `nextOffset` back as `offset` for the next page;\n`totalCiters` is the number of citing sections found. It is the whole count only\nwhen `totalCitersIsLowerBound` is false. At most 5,000 candidates are read per\ncall (the most-cited sections measured have about 3,000);\nwhen `totalCitersIsLowerBound` is true there are more citers than that, and the\nranking covers only the slice that was read (in storage order), so a citer\noutside it can be missing from every page. Every page is priced as one call.\n\n**Scope**: USC and CFR. State codes and Federal Register rules carry no\nsection-level cross-reference index, so a section from either returns an empty\nlist with a `note` explaining why, and is refunded. When `note` is null, an\nempty `citers` is a real answer: plenty of sections are cited by nothing.\n\n**Completeness**: this reads references as the publisher wrote them, including\nthe title-relative form a section uses for its own neighbours. A citation that\nthe source never recorded in machine-readable form cannot appear here, so treat\na result as evidence of a citation rather than proof there are no others.","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","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/list","href":"/api-reference/us-session-laws/list-a-states-session-laws"},{"title":"Get a state session law's text, current or a past version","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/{session_law_id}/body","href":"/api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version"},{"title":"Get a state session law, by id or by citation","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/{session_law_id}","href":"/api-reference/us-session-laws/get-a-state-session-law-by-id-or-by-citation"}]},{"group":"US Rulemaking","pages":[{"title":"What the rulemaking store holds (free)","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/coverage","href":"/api-reference/us-rulemaking/what-the-rulemaking-store-holds-free"},{"title":"List and filter Regulations.gov dockets","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/dockets/list","href":"/api-reference/us-rulemaking/list-and-filter-regulationsgov-dockets"},{"title":"One Regulations.gov docket","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/dockets/{docket_id}","href":"/api-reference/us-rulemaking/one-regulationsgov-docket"},{"title":"Documents of one docket, oldest first","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/dockets/{docket_id}/documents","href":"/api-reference/us-rulemaking/documents-of-one-docket-oldest-first"},{"title":"Everything we hold for one RIN","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/rins/{rin}","href":"/api-reference/us-rulemaking/everything-we-hold-for-one-rin"},{"title":"Unified Agenda history of one RIN","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/rins/{rin}/agenda","href":"/api-reference/us-rulemaking/unified-agenda-history-of-one-rin"},{"title":"List and filter Rules Committee records","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/committee-records/list","href":"/api-reference/us-rulemaking/list-and-filter-rules-committee-records"},{"title":"One Rules Committee record with its page text","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/committee-records/{record_id}","href":"/api-reference/us-rulemaking/one-rules-committee-record-with-its-page-text"}]}]},{"tab":"India API reference","pages":[{"title":"India API reference","href":"/api-guide/coverage/india"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]}]},"basePath":"","title":"Find the citations in a text and resolve each - 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"]}