One judge by judgeId: name parts, dates of birth and death (read the ...Precision field: a date may be known only to the month or year), birth and death places, gender, positions held with their dates and date precisions, education and political affiliations. A field we do not hold is null, and a list we do not hold is empty. Priced at 2 credits per judge, plus 2 credits more with include=stats (case counts by year, court, role and outcome; the extra part is refunded when the count times out and stats is null). An unknown id is a 404 and is not charged. To find a judgeId by name use GET /us/judges; for a judge’s cases use GET /us/cases/list?judgeId={judgeId}; for financial disclosures use GET /us/judges/{judgeId}/disclosures.
API key issued from the developer dashboard. Pass as Authorization: Bearer vq_key_... (preferred).
Headers
Idempotency-Key
string | null
Optional. 16 to 255 visible ASCII characters (a UUIDv4 works). Repeating the same request with the same key replays the original 2xx response for 24 hours without charging again. The same key on a different request is rejected. With the account's cacheQueryDerivedData retention setting off, no body is stored and a retry answers 409 idempotency_replay_unavailable, still without a second charge.
Required string length: 16 - 255
Pattern: ^[\x21-\x7e]+$
Example:
"3f9c2a1e-7b44-4d0a-9c1e-5a6b7c8d9e0f"
Path Parameters
judge_id
string
required
The judgeId: USJDG_ and 20 uppercase hex characters. Malformed is a 422.
Pattern: ^USJDG_[0-9A-F]{20}$
Example:
"USJDG_3F9A2B1C4D5E6F708192"
Query Parameters
include
string | null
stats adds stats to the judge: the number of cases by year, by court, by role (authored, panel) and by normalized outcome. Costs more, in the same charge; the extra part is refunded if the count times out and the profile then comes back with stats: null. Omit for the profile alone.
{"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, court rules and case law, 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":"6b02b5345b6e7b6948559b2f","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"US API reference","count":69},{"language":"default","tag":"Guide","count":62},{"language":"default","tag":"India API reference","count":59},{"language":"default","tag":"Endpoints","count":51},{"language":"default","tag":"Indian Acts and Legislation","count":20},{"language":"default","tag":"US Case Law","count":20},{"language":"default","tag":"Guides","count":18},{"language":"default","tag":"US Statutes","count":18},{"language":"default","tag":"Core concepts","count":16},{"language":"default","tag":"Integrations","count":14}]},"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":"custom-rbac-roles","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":"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":"site-roles","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":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","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-case-law/get-a-judge","slug":"/api-reference/us-case-law/get-a-judge","pageMetadata":{"title":"Get a judge","description":"One judge by `judgeId`: name parts, dates of birth and death (read the `...Precision` field: a date may be known only to the month or year), birth and death places, gender, positions held with their dates and date precisions, education and political affiliations. A field we do not hold is null, and a list we do not hold is empty. Priced at 2 credits per judge, plus 2 credits more with `include=stats` (case counts by year, court, role and outcome; the extra part is refunded when the count times out and `stats` is null). An unknown id is a 404 and is not charged. To find a judgeId by name use `GET /us/judges`; for a judge's cases use `GET /us/cases/list?judgeId={judgeId}`; for financial disclosures use `GET /us/judges/{judgeId}/disclosures`.","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/judges/{judge_id}","href":"/api-reference/us-case-law/get-a-judge","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"One judge by \", _jsx(_components.code, {\n children: \"judgeId\"\n }), \": name parts, dates of birth and death (read the \", _jsx(_components.code, {\n children: \"...Precision\"\n }), \" field: a date may be known only to the month or year), birth and death places, gender, positions held with their dates and date precisions, education and political affiliations. A field we do not hold is null, and a list we do not hold is empty. Priced at 2 credits per judge, plus 2 credits more with \", _jsx(_components.code, {\n children: \"include=stats\"\n }), \" (case counts by year, court, role and outcome; the extra part is refunded when the count times out and \", _jsx(_components.code, {\n children: \"stats\"\n }), \" is null). An unknown id is a 404 and is not charged. To find a judgeId by name use \", _jsx(_components.code, {\n children: \"GET /us/judges\"\n }), \"; for a judge’s cases use \", _jsx(_components.code, {\n children: \"GET /us/cases/list?judgeId={judgeId}\"\n }), \"; for financial disclosures use \", _jsx(_components.code, {\n children: \"GET /us/judges/{judgeId}/disclosures\"\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":"Get a judge","description":"One judge by `judgeId`: name parts, dates of birth and death (read the `...Precision` field: a date may be known only to the month or year), birth and death places, gender, positions held with their dates and date precisions, education and political affiliations. A field we do not hold is null, and a list we do not hold is empty. Priced at 2 credits per judge, plus 2 credits more with `include=stats` (case counts by year, court, role and outcome; the extra part is refunded when the count times out and `stats` is null). An unknown id is a 404 and is not charged. To find a judgeId by name use `GET /us/judges`; for a judge's cases use `GET /us/cases/list?judgeId={judgeId}`; for financial disclosures use `GET /us/judges/{judgeId}/disclosures`.","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/judges/{judge_id}","href":"/api-reference/us-case-law/get-a-judge","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["US Case Law"],"summary":"Get a judge","description":"One judge by `judgeId`: name parts, dates of birth and death (read the `...Precision` field: a date may be known only to the month or year), birth and death places, gender, positions held with their dates and date precisions, education and political affiliations. A field we do not hold is null, and a list we do not hold is empty. Priced at 2 credits per judge, plus 2 credits more with `include=stats` (case counts by year, court, role and outcome; the extra part is refunded when the count times out and `stats` is null). An unknown id is a 404 and is not charged. To find a judgeId by name use `GET /us/judges`; for a judge's cases use `GET /us/cases/list?judgeId={judgeId}`; for financial disclosures use `GET /us/judges/{judgeId}/disclosures`.","operationId":"get_judge","parameters":["c2ec148b-3f98-4d5e-aef6-202da3e8eef9","e631a9bb-0e17-4908-ab1d-27d1547ed424","d07f0838-43ee-4dd2-a674-ed354e049b83"],"responses":{"200":"f482abce-fb90-4723-8021-d7a05de3f400","401":"03bc5d9b-03c6-4b43-9235-08672bd16727","402":"0b0e3f85-480c-4815-90f7-cce7222541b7","403":"5cdabe0b-9baf-4cf6-81b5-2c5e091cf198","404":"ff8764e5-6b68-4b59-a5b0-b5f5238e6b4b","409":"0369b00c-caad-445a-84a3-7a55971d7cce","422":"d7a179a6-b747-417c-802e-06d3de331827","429":"27395bac-202f-4d20-ade2-888886a71532","500":"a4e3b282-d4ee-4826-9899-1314b8dbe8a8","503":"f357e285-485f-4a91-baa5-b23e6fe4e292"},"method":"get","type":"path","servers":["3535de99-a70d-489b-a9db-9a8ec8e19d51"],"security":["df1159de-5660-4e1c-9ab7-b329c735bfac","7fa8d3ea-3cf3-42b3-bc2a-d74b864da571"],"path":"/api/v1/us/judges/{judge_id}","baseUrlOptions":["https://api.vaquill.ai"],"title":"Get a judge","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"c2ec148b-3f98-4d5e-aef6-202da3e8eef9":{"name":"judge_id","in":"path","required":true,"schema":{"type":"string","pattern":"^USJDG_[0-9A-F]{20}$","description":"The judgeId: `USJDG_` and 20 uppercase hex characters. Malformed is a 422.","examples":["USJDG_3F9A2B1C4D5E6F708192"],"title":"Judge Id","isRequired":true,"uniqueKey":"","typeLabel":"string"},"description":"The judgeId: `USJDG_` and 20 uppercase hex characters. Malformed is a 422."},"e631a9bb-0e17-4908-ab1d-27d1547ed424":{"name":"include","in":"query","required":false,"schema":{"oneOf":[{"type":"string","title":"Include","description":"`stats` adds `stats` to the judge: the number of cases by year, by court, by role (authored, panel) and by normalized outcome. Costs more, in the same charge; the extra part is refunded if the count times out and the profile then comes back with `stats: null`. Omit for the profile alone.","const":"stats","example":"stats","uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","title":"Include","description":"`stats` adds `stats` to the judge: the number of cases by year, by court, by role (authored, panel) and by normalized outcome. Costs more, in the same charge; the extra part is refunded if the count times out and the profile then comes back with `stats: null`. Omit for the profile alone.","example":"stats","uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":false,"uniqueKey":"","typeLabel":"string | null"},"description":"`stats` adds `stats` to the judge: the number of cases by year, by court, by role (authored, panel) and by normalized outcome. Costs more, in the same charge; the extra part is refunded if the count times out and the profile then comes back with `stats: null`. Omit for the profile alone."},"d07f0838-43ee-4dd2-a674-ed354e049b83":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"oneOf":[{"type":"string","title":"Idempotency-Key","description":"Optional. 16 to 255 visible ASCII characters (a UUIDv4 works). Repeating the same request with the same key replays the original 2xx response for 24 hours without charging again. The same key on a different request is rejected. With the account's `cacheQueryDerivedData` retention setting off, no body is stored and a retry answers 409 `idempotency_replay_unavailable`, still without a second charge.","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 works). Repeating the same request with the same key replays the original 2xx response for 24 hours without charging again. The same key on a different request is rejected. With the account's `cacheQueryDerivedData` retention setting off, no body is stored and a retry answers 409 `idempotency_replay_unavailable`, still without a second charge.","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 works). Repeating the same request with the same key replays the original 2xx response for 24 hours without charging again. The same key on a different request is rejected. With the account's `cacheQueryDerivedData` retention setting off, no body is stored and a retry answers 409 `idempotency_replay_unavailable`, still without a second charge."}},"responses":{"f482abce-fb90-4723-8021-d7a05de3f400":{"description":"The judge profile.","content":{"application/json":{"schema":{"properties":{"judge":{"properties":{"judgeId":{"type":"string","title":"Judgeid","description":"Our id of the judge.","isRequired":true,"uniqueKey":"judge.judgeId","typeLabel":"string"},"name":{"type":"string","title":"Name","description":"The judge's name, first to last, with middle name and suffix when known.","isRequired":true,"uniqueKey":"judge.name","typeLabel":"string"},"nameLast":{"type":"string","title":"Namelast","description":"Last name.","isRequired":true,"uniqueKey":"judge.nameLast","typeLabel":"string"},"nameFirst":{"oneOf":[{"type":"string","title":"Namefirst","description":"First name. Null when unknown.","uniqueKey":"judge.nameFirst.oneOf.0","typeLabel":"string"},{"type":"null","title":"Namefirst","description":"First name. Null when unknown.","uniqueKey":"judge.nameFirst.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.nameFirst","typeLabel":"string | null"},"nameMiddle":{"oneOf":[{"type":"string","title":"Namemiddle","description":"Middle name or initial. Null when none.","uniqueKey":"judge.nameMiddle.oneOf.0","typeLabel":"string"},{"type":"null","title":"Namemiddle","description":"Middle name or initial. Null when none.","uniqueKey":"judge.nameMiddle.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.nameMiddle","typeLabel":"string | null"},"nameSuffix":{"oneOf":[{"type":"string","title":"Namesuffix","description":"Suffix, such as `Jr.`. Null when none.","uniqueKey":"judge.nameSuffix.oneOf.0","typeLabel":"string"},{"type":"null","title":"Namesuffix","description":"Suffix, such as `Jr.`. Null when none.","uniqueKey":"judge.nameSuffix.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.nameSuffix","typeLabel":"string | null"},"dateOfBirth":{"oneOf":[{"type":"string","title":"Dateofbirth","description":"Date of birth. Null when unknown. Read `dateOfBirthPrecision`: a month or year only is stored as the first day of that period.","format":"date","uniqueKey":"judge.dateOfBirth.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Dateofbirth","description":"Date of birth. Null when unknown. Read `dateOfBirthPrecision`: a month or year only is stored as the first day of that period.","uniqueKey":"judge.dateOfBirth.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.dateOfBirth","typeLabel":"string\u003cdate> | null"},"dateOfBirthPrecision":{"oneOf":[{"type":"string","title":"Dateofbirthprecision","description":"How exact `dateOfBirth` is: `day`, `month` or `year`. Null when the date is null.","enum":["day","month","year",null],"uniqueKey":"judge.dateOfBirthPrecision.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Dateofbirthprecision","description":"How exact `dateOfBirth` is: `day`, `month` or `year`. Null when the date is null.","enum":["day","month","year",null],"uniqueKey":"judge.dateOfBirthPrecision.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.dateOfBirthPrecision","typeLabel":"enum\u003cstring> | null"},"dateOfDeath":{"oneOf":[{"type":"string","title":"Dateofdeath","description":"Date of death. Null while living or when unknown. Read `dateOfDeathPrecision`.","format":"date","uniqueKey":"judge.dateOfDeath.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Dateofdeath","description":"Date of death. Null while living or when unknown. Read `dateOfDeathPrecision`.","uniqueKey":"judge.dateOfDeath.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.dateOfDeath","typeLabel":"string\u003cdate> | null"},"dateOfDeathPrecision":{"oneOf":[{"type":"string","title":"Dateofdeathprecision","description":"How exact `dateOfDeath` is: `day`, `month` or `year`. Null when the date is null.","enum":["day","month","year",null],"uniqueKey":"judge.dateOfDeathPrecision.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Dateofdeathprecision","description":"How exact `dateOfDeath` is: `day`, `month` or `year`. Null when the date is null.","enum":["day","month","year",null],"uniqueKey":"judge.dateOfDeathPrecision.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.dateOfDeathPrecision","typeLabel":"enum\u003cstring> | null"},"birthCity":{"oneOf":[{"type":"string","title":"Birthcity","description":"City of birth. Null when unknown.","uniqueKey":"judge.birthCity.oneOf.0","typeLabel":"string"},{"type":"null","title":"Birthcity","description":"City of birth. Null when unknown.","uniqueKey":"judge.birthCity.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.birthCity","typeLabel":"string | null"},"birthState":{"oneOf":[{"type":"string","title":"Birthstate","description":"State of birth. Null when unknown or born abroad.","uniqueKey":"judge.birthState.oneOf.0","typeLabel":"string"},{"type":"null","title":"Birthstate","description":"State of birth. Null when unknown or born abroad.","uniqueKey":"judge.birthState.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.birthState","typeLabel":"string | null"},"birthCountry":{"oneOf":[{"type":"string","title":"Birthcountry","description":"Country of birth. Null when unknown, and null until we serve the country.","uniqueKey":"judge.birthCountry.oneOf.0","typeLabel":"string"},{"type":"null","title":"Birthcountry","description":"Country of birth. Null when unknown, and null until we serve the country.","uniqueKey":"judge.birthCountry.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.birthCountry","typeLabel":"string | null"},"deathCity":{"oneOf":[{"type":"string","title":"Deathcity","description":"City of death. Null while living, when unknown, and until we serve the place.","uniqueKey":"judge.deathCity.oneOf.0","typeLabel":"string"},{"type":"null","title":"Deathcity","description":"City of death. Null while living, when unknown, and until we serve the place.","uniqueKey":"judge.deathCity.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.deathCity","typeLabel":"string | null"},"deathState":{"oneOf":[{"type":"string","title":"Deathstate","description":"State of death. Null while living, when unknown or abroad, and until we serve the place.","uniqueKey":"judge.deathState.oneOf.0","typeLabel":"string"},{"type":"null","title":"Deathstate","description":"State of death. Null while living, when unknown or abroad, and until we serve the place.","uniqueKey":"judge.deathState.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.deathState","typeLabel":"string | null"},"deathCountry":{"oneOf":[{"type":"string","title":"Deathcountry","description":"Country of death. Null while living, when unknown, and until we serve the place.","uniqueKey":"judge.deathCountry.oneOf.0","typeLabel":"string"},{"type":"null","title":"Deathcountry","description":"Country of death. Null while living, when unknown, and until we serve the place.","uniqueKey":"judge.deathCountry.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.deathCountry","typeLabel":"string | null"},"fjcBiographicalId":{"oneOf":[{"type":"integer","title":"Fjcbiographicalid","description":"The judge's number in the Federal Judicial Center's biographical directory of federal judges. Null for a judge outside it, and null until we serve the number.","uniqueKey":"judge.fjcBiographicalId.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Fjcbiographicalid","description":"The judge's number in the Federal Judicial Center's biographical directory of federal judges. Null for a judge outside it, and null until we serve the number.","uniqueKey":"judge.fjcBiographicalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.fjcBiographicalId","typeLabel":"integer | null"},"gender":{"oneOf":[{"type":"string","title":"Gender","description":"`male`, `female` or `unknown`. Null when not recorded.","enum":["male","female","unknown",null],"uniqueKey":"judge.gender.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Gender","description":"`male`, `female` or `unknown`. Null when not recorded.","enum":["male","female","unknown",null],"uniqueKey":"judge.gender.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.gender","typeLabel":"enum\u003cstring> | null"},"aliasOfJudgeId":{"oneOf":[{"type":"string","title":"Aliasofjudgeid","description":"Set when this record is another name for the judge with this id: read that record for the full profile. Null for a record that stands alone.","uniqueKey":"judge.aliasOfJudgeId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Aliasofjudgeid","description":"Set when this record is another name for the judge with this id: read that record for the full profile. Null for a record that stands alone.","uniqueKey":"judge.aliasOfJudgeId.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.aliasOfJudgeId","typeLabel":"string | null"},"positions":{"items":{"properties":{"courtId":{"oneOf":[{"type":"string","title":"Courtid","description":"Our id of the court of the position. Null for a position outside a court we hold.","uniqueKey":"judge.positions.items.[INDEX].courtId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Courtid","description":"Our id of the court of the position. Null for a position outside a court we hold.","uniqueKey":"judge.positions.items.[INDEX].courtId.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].courtId","typeLabel":"string | null"},"positionType":{"oneOf":[{"type":"string","title":"Positiontype","description":"Kind of position in plain words, such as `judge`, `chief_judge` or `magistrate_judge`. Null when unknown.","uniqueKey":"judge.positions.items.[INDEX].positionType.oneOf.0","typeLabel":"string"},{"type":"null","title":"Positiontype","description":"Kind of position in plain words, such as `judge`, `chief_judge` or `magistrate_judge`. Null when unknown.","uniqueKey":"judge.positions.items.[INDEX].positionType.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].positionType","typeLabel":"string | null"},"jobTitle":{"oneOf":[{"type":"string","title":"Jobtitle","description":"Title held, such as `Circuit Judge`. Null when unknown.","uniqueKey":"judge.positions.items.[INDEX].jobTitle.oneOf.0","typeLabel":"string"},{"type":"null","title":"Jobtitle","description":"Title held, such as `Circuit Judge`. Null when unknown.","uniqueKey":"judge.positions.items.[INDEX].jobTitle.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].jobTitle","typeLabel":"string | null"},"organizationName":{"oneOf":[{"type":"string","title":"Organizationname","description":"Name of the body when the position was not on a court of ours. Null otherwise.","uniqueKey":"judge.positions.items.[INDEX].organizationName.oneOf.0","typeLabel":"string"},{"type":"null","title":"Organizationname","description":"Name of the body when the position was not on a court of ours. Null otherwise.","uniqueKey":"judge.positions.items.[INDEX].organizationName.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].organizationName","typeLabel":"string | null"},"appointedByJudgeId":{"oneOf":[{"type":"string","title":"Appointedbyjudgeid","description":"Our id of the appointing person, when held as a judge record. Null otherwise.","uniqueKey":"judge.positions.items.[INDEX].appointedByJudgeId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Appointedbyjudgeid","description":"Our id of the appointing person, when held as a judge record. Null otherwise.","uniqueKey":"judge.positions.items.[INDEX].appointedByJudgeId.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].appointedByJudgeId","typeLabel":"string | null"},"howSelected":{"oneOf":[{"type":"string","title":"Howselected","description":"How the judge came to the seat, such as `appointment` or `election`. Null when unknown.","uniqueKey":"judge.positions.items.[INDEX].howSelected.oneOf.0","typeLabel":"string"},{"type":"null","title":"Howselected","description":"How the judge came to the seat, such as `appointment` or `election`. Null when unknown.","uniqueKey":"judge.positions.items.[INDEX].howSelected.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].howSelected","typeLabel":"string | null"},"dateNominated":{"oneOf":[{"type":"string","title":"Datenominated","description":"Date of nomination. Null when none applies or it is unknown.","format":"date","uniqueKey":"judge.positions.items.[INDEX].dateNominated.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Datenominated","description":"Date of nomination. Null when none applies or it is unknown.","uniqueKey":"judge.positions.items.[INDEX].dateNominated.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].dateNominated","typeLabel":"string\u003cdate> | null"},"dateConfirmed":{"oneOf":[{"type":"string","title":"Dateconfirmed","description":"Date of confirmation. Null when none applies or it is unknown.","format":"date","uniqueKey":"judge.positions.items.[INDEX].dateConfirmed.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Dateconfirmed","description":"Date of confirmation. Null when none applies or it is unknown.","uniqueKey":"judge.positions.items.[INDEX].dateConfirmed.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].dateConfirmed","typeLabel":"string\u003cdate> | null"},"dateStart":{"oneOf":[{"type":"string","title":"Datestart","description":"Date the judge took the seat. Null when unknown.","format":"date","uniqueKey":"judge.positions.items.[INDEX].dateStart.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Datestart","description":"Date the judge took the seat. Null when unknown.","uniqueKey":"judge.positions.items.[INDEX].dateStart.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].dateStart","typeLabel":"string\u003cdate> | null"},"dateStartPrecision":{"oneOf":[{"type":"string","title":"Datestartprecision","description":"How exact `dateStart` is: `day`, `month` or `year`. Null when the date is null, and null until we serve the precision.","enum":["day","month","year",null],"uniqueKey":"judge.positions.items.[INDEX].dateStartPrecision.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Datestartprecision","description":"How exact `dateStart` is: `day`, `month` or `year`. Null when the date is null, and null until we serve the precision.","enum":["day","month","year",null],"uniqueKey":"judge.positions.items.[INDEX].dateStartPrecision.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].dateStartPrecision","typeLabel":"enum\u003cstring> | null"},"dateEnd":{"oneOf":[{"type":"string","title":"Dateend","description":"Date the position ended. Null while it continues or when unknown.","format":"date","uniqueKey":"judge.positions.items.[INDEX].dateEnd.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Dateend","description":"Date the position ended. Null while it continues or when unknown.","uniqueKey":"judge.positions.items.[INDEX].dateEnd.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].dateEnd","typeLabel":"string\u003cdate> | null"},"dateEndPrecision":{"oneOf":[{"type":"string","title":"Dateendprecision","description":"How exact `dateEnd` is: `day`, `month` or `year`. Null when the date is null, and null until we serve the precision.","enum":["day","month","year",null],"uniqueKey":"judge.positions.items.[INDEX].dateEndPrecision.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Dateendprecision","description":"How exact `dateEnd` is: `day`, `month` or `year`. Null when the date is null, and null until we serve the precision.","enum":["day","month","year",null],"uniqueKey":"judge.positions.items.[INDEX].dateEndPrecision.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].dateEndPrecision","typeLabel":"enum\u003cstring> | null"},"endReason":{"oneOf":[{"type":"string","title":"Endreason","description":"Why the position ended, such as `retirement`. Null when not ended or unknown.","uniqueKey":"judge.positions.items.[INDEX].endReason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Endreason","description":"Why the position ended, such as `retirement`. Null when not ended or unknown.","uniqueKey":"judge.positions.items.[INDEX].endReason.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.positions.items.[INDEX].endReason","typeLabel":"string | null"}},"type":"object","title":"JudgePosition","uniqueKey":"judge.positions.items.[INDEX]","typeLabel":"JudgePosition · object"},"type":"array","title":"Positions","description":"Positions held, with dates. Empty when none are recorded.","uniqueKey":"judge.positions","typeLabel":"JudgePosition · object[]"},"education":{"items":{"properties":{"schoolName":{"type":"string","title":"Schoolname","description":"Name of the school.","isRequired":true,"uniqueKey":"judge.education.items.[INDEX].schoolName","typeLabel":"string"},"degreeLevel":{"oneOf":[{"type":"string","title":"Degreelevel","description":"Level of the degree, such as `jd` or `ba`. Null when unknown.","uniqueKey":"judge.education.items.[INDEX].degreeLevel.oneOf.0","typeLabel":"string"},{"type":"null","title":"Degreelevel","description":"Level of the degree, such as `jd` or `ba`. Null when unknown.","uniqueKey":"judge.education.items.[INDEX].degreeLevel.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.education.items.[INDEX].degreeLevel","typeLabel":"string | null"},"degreeDetail":{"oneOf":[{"type":"string","title":"Degreedetail","description":"Detail of the degree, such as the field. Null when unknown.","uniqueKey":"judge.education.items.[INDEX].degreeDetail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Degreedetail","description":"Detail of the degree, such as the field. Null when unknown.","uniqueKey":"judge.education.items.[INDEX].degreeDetail.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.education.items.[INDEX].degreeDetail","typeLabel":"string | null"},"degreeYear":{"oneOf":[{"type":"integer","title":"Degreeyear","description":"Year the degree was awarded. Null when unknown.","uniqueKey":"judge.education.items.[INDEX].degreeYear.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Degreeyear","description":"Year the degree was awarded. Null when unknown.","uniqueKey":"judge.education.items.[INDEX].degreeYear.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.education.items.[INDEX].degreeYear","typeLabel":"integer | null"}},"type":"object","required":["schoolName"],"title":"JudgeEducation","uniqueKey":"judge.education.items.[INDEX]","typeLabel":"JudgeEducation · object"},"type":"array","title":"Education","description":"Schools and degrees. Empty when none are recorded.","uniqueKey":"judge.education","typeLabel":"JudgeEducation · object[]"},"politicalAffiliations":{"items":{"properties":{"party":{"type":"string","title":"Party","description":"The political party.","isRequired":true,"uniqueKey":"judge.politicalAffiliations.items.[INDEX].party","typeLabel":"string"},"basis":{"oneOf":[{"type":"string","title":"Basis","description":"How the affiliation is known, in plain words. Null when not stated.","uniqueKey":"judge.politicalAffiliations.items.[INDEX].basis.oneOf.0","typeLabel":"string"},{"type":"null","title":"Basis","description":"How the affiliation is known, in plain words. Null when not stated.","uniqueKey":"judge.politicalAffiliations.items.[INDEX].basis.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.politicalAffiliations.items.[INDEX].basis","typeLabel":"string | null"},"dateStart":{"oneOf":[{"type":"string","title":"Datestart","description":"Date the affiliation began. Null when unknown.","format":"date","uniqueKey":"judge.politicalAffiliations.items.[INDEX].dateStart.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Datestart","description":"Date the affiliation began. Null when unknown.","uniqueKey":"judge.politicalAffiliations.items.[INDEX].dateStart.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.politicalAffiliations.items.[INDEX].dateStart","typeLabel":"string\u003cdate> | null"},"dateEnd":{"oneOf":[{"type":"string","title":"Dateend","description":"Date the affiliation ended. Null while it continues or when unknown.","format":"date","uniqueKey":"judge.politicalAffiliations.items.[INDEX].dateEnd.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","title":"Dateend","description":"Date the affiliation ended. Null while it continues or when unknown.","uniqueKey":"judge.politicalAffiliations.items.[INDEX].dateEnd.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.politicalAffiliations.items.[INDEX].dateEnd","typeLabel":"string\u003cdate> | null"}},"type":"object","required":["party"],"title":"JudgeAffiliation","uniqueKey":"judge.politicalAffiliations.items.[INDEX]","typeLabel":"JudgeAffiliation · object"},"type":"array","title":"Politicalaffiliations","description":"Party affiliations over time. Empty when none are recorded.","uniqueKey":"judge.politicalAffiliations","typeLabel":"JudgeAffiliation · object[]"},"stats":{"oneOf":[{"type":"object","title":"JudgeStats","description":"Counts of the judge's cases by year, court, role and outcome. Present only with `include=stats`. Null without it, and null when the count timed out (that part of the charge is refunded: check `creditsConsumed`).","required":["cases","byYear","byCourt","byRole","byOutcome"],"properties":{"cases":{"type":"integer","title":"Cases","description":"Distinct cases the judge wrote an opinion in or sat on the panel of.","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.cases","typeLabel":"integer"},"byYear":{"items":{"properties":{"year":{"type":"integer","title":"Year","description":"The year of the decision.","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byYear.items.[INDEX].year","typeLabel":"integer"},"cases":{"type":"integer","title":"Cases","description":"The judge's cases decided that year.","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byYear.items.[INDEX].cases","typeLabel":"integer"}},"type":"object","required":["year","cases"],"title":"JudgeYearCount","uniqueKey":"judge.stats.oneOf.0.byYear.items.[INDEX]","typeLabel":"JudgeYearCount · object"},"type":"array","title":"Byyear","description":"Cases per year of decision, oldest year first. Cases with no decision date are in `cases` but in no year.","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byYear","typeLabel":"JudgeYearCount · object[]"},"byCourt":{"items":{"properties":{"courtId":{"type":"string","title":"Courtid","description":"Our id of the court.","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byCourt.items.[INDEX].courtId","typeLabel":"string"},"cases":{"type":"integer","title":"Cases","description":"The judge's cases decided by that court.","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byCourt.items.[INDEX].cases","typeLabel":"integer"}},"type":"object","required":["courtId","cases"],"title":"JudgeCourtCount","uniqueKey":"judge.stats.oneOf.0.byCourt.items.[INDEX]","typeLabel":"JudgeCourtCount · object"},"type":"array","title":"Bycourt","description":"Cases per court, most cases first, ties by `courtId`.","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byCourt","typeLabel":"JudgeCourtCount · object[]"},"byRole":{"properties":{"authored":{"type":"integer","title":"Authored","description":"Cases in which the judge wrote an opinion.","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byRole.authored","typeLabel":"integer"},"panel":{"type":"integer","title":"Panel","description":"Cases in which the judge sat on the panel. A case where the judge both sat and wrote counts in both, so `authored` and `panel` do not add up to `cases`.","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byRole.panel","typeLabel":"integer"}},"type":"object","required":["authored","panel"],"title":"JudgeRoleCounts","description":"Cases as author and cases as panel member.","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byRole","typeLabel":"JudgeRoleCounts · object"},"byOutcome":{"items":{"properties":{"outcome":{"oneOf":[{"type":"string","title":"Outcome","description":"The normalized outcome of the cases counted (see `outcome` on a case). Null counts the cases with no disposition.","enum":["affirmed","reversed","vacated","remanded","affirmed_in_part","reversed_in_part","dismissed","granted","denied","other",null],"isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byOutcome.items.[INDEX].outcome.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Outcome","description":"The normalized outcome of the cases counted (see `outcome` on a case). Null counts the cases with no disposition.","enum":["affirmed","reversed","vacated","remanded","affirmed_in_part","reversed_in_part","dismissed","granted","denied","other",null],"isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byOutcome.items.[INDEX].outcome.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byOutcome.items.[INDEX].outcome","typeLabel":"enum\u003cstring> | null"},"cases":{"type":"integer","title":"Cases","description":"The judge's cases with that outcome.","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byOutcome.items.[INDEX].cases","typeLabel":"integer"}},"type":"object","required":["outcome","cases"],"title":"JudgeOutcomeCount","uniqueKey":"judge.stats.oneOf.0.byOutcome.items.[INDEX]","typeLabel":"JudgeOutcomeCount · object"},"type":"array","title":"Byoutcome","description":"Cases per normalized outcome, most cases first, ties by outcome. The outcome is the one printed on the decision (it does not say whether this judge was in the majority).","isRequired":true,"uniqueKey":"judge.stats.oneOf.0.byOutcome","typeLabel":"JudgeOutcomeCount · object[]"}},"uniqueKey":"judge.stats.oneOf.0","typeLabel":"JudgeStats · object"},{"type":"null","description":"Counts of the judge's cases by year, court, role and outcome. Present only with `include=stats`. Null without it, and null when the count timed out (that part of the charge is refunded: check `creditsConsumed`).","uniqueKey":"judge.stats.oneOf.1","typeLabel":"null"}],"uniqueKey":"judge.stats","typeLabel":"JudgeStats · object | null"}},"type":"object","required":["judgeId","name","nameLast"],"title":"Judge","examples":[{"birthCity":"Columbus","birthState":"OH","dateOfBirth":"1958-04-02","dateOfBirthPrecision":"day","education":[{"degreeLevel":"jd","degreeYear":1983,"schoolName":"Example State University"}],"gender":"female","judgeId":"USJDG_0123456789ABCDEF0123","name":"Dana Marie Whitfield","nameFirst":"Dana","nameLast":"Whitfield","nameMiddle":"Marie","politicalAffiliations":[{"dateStart":"1990-01-01","party":"Independent"}],"positions":[{"courtId":"US_FED_CA6","dateConfirmed":"2004-06-24","dateNominated":"2004-02-10","dateStart":"2004-07-01","howSelected":"appointment","jobTitle":"Circuit Judge","positionType":"judge"}]}],"description":"The judge.","isRequired":true,"uniqueKey":"judge","typeLabel":"Judge · object"},"creditsConsumed":{"type":"integer","title":"Creditsconsumed","description":"Credits this call cost. 0 on a free route.","isRequired":true,"uniqueKey":"creditsConsumed","typeLabel":"integer"},"processingTimeMs":{"type":"number","title":"Processingtimems","description":"Server time spent on this call, in milliseconds.","isRequired":true,"uniqueKey":"processingTimeMs","typeLabel":"number"}},"type":"object","required":["judge","creditsConsumed","processingTimeMs"],"title":"JudgeResponse","examples":[{"creditsConsumed":1,"judge":{"birthCity":"Columbus","birthState":"OH","dateOfBirth":"1958-04-02","dateOfBirthPrecision":"day","education":[{"degreeLevel":"jd","degreeYear":1983,"schoolName":"Example State University"}],"gender":"female","judgeId":"USJDG_0123456789ABCDEF0123","name":"Dana Marie Whitfield","nameFirst":"Dana","nameLast":"Whitfield","nameMiddle":"Marie","politicalAffiliations":[{"dateStart":"1990-01-01","party":"Independent"}],"positions":[{"courtId":"US_FED_CA6","dateConfirmed":"2004-06-24","dateNominated":"2004-02-10","dateStart":"2004-07-01","howSelected":"appointment","jobTitle":"Circuit Judge","positionType":"judge"}]},"processingTimeMs":12.4}],"uniqueKey":"","typeLabel":"JudgeResponse · object"},"examples":{"Example":{"title":"Example","value":{"creditsConsumed":1,"judge":{"birthCity":"Columbus","birthState":"OH","dateOfBirth":"1958-04-02","dateOfBirthPrecision":"day","education":[{"degreeLevel":"jd","degreeYear":1983,"schoolName":"Example State University"}],"gender":"female","judgeId":"USJDG_0123456789ABCDEF0123","name":"Dana Marie Whitfield","nameFirst":"Dana","nameLast":"Whitfield","nameMiddle":"Marie","politicalAffiliations":[{"dateStart":"1990-01-01","party":"Independent"}],"positions":[{"courtId":"US_FED_CA6","dateConfirmed":"2004-06-24","dateNominated":"2004-02-10","dateStart":"2004-07-01","howSelected":"appointment","jobTitle":"Circuit Judge","positionType":"judge"}]},"processingTimeMs":12.4}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"03bc5d9b-03c6-4b43-9235-08672bd16727":{"description":"Missing, invalid or revoked API key. Not 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","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"0b0e3f85-480c-4815-90f7-cce7222541b7":{"description":"Insufficient credits (`insufficient_credits`, never retry). `creditsRequired` and `creditsAvailable` say how short you are when known; top up, then repeat the call.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"5cdabe0b-9baf-4cf6-81b5-2c5e091cf198":{"description":"The API key lacks the `cases:read` scope. Not 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","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"ff8764e5-6b68-4b59-a5b0-b5f5238e6b4b":{"description":"No judge carries this id. Never 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","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"0369b00c-caad-445a-84a3-7a55971d7cce":{"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 not kept (too large, or the account's data retention setting), so it cannot be replayed; nothing is charged again, so check the credit balance instead of retrying. Read the top-level `code`; `detail` is the message string, as on every other error. A replayed response reports `creditsConsumed: 0`.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"d7a179a6-b747-417c-802e-06d3de331827":{"description":"A parameter failed validation (for example a malformed id). Never charged. `idempotency_key_reused`: the `Idempotency-Key` was already used with a different request (another body, path or method). Not 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","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"27395bac-202f-4d20-ade2-888886a71532":{"description":"Rate limit exceeded.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"exampleType":"generated"},"a4e3b282-d4ee-4826-9899-1314b8dbe8a8":{"description":"Internal error (`internal_error`, retryable). Any credits charged for the call are refunded; retry with backoff and quote `requestId` to support if it persists.","content":{"application/json":{"schema":{"properties":{"detail":{"type":"string","title":"Detail","description":"Human-readable reason, safe to surface to an end user. Branch on the HTTP status rather than on this string: the wording is not part of the contract and may be reworded, but 401 (bad key), 402 (out of credits), 403 (missing scope), 404 (no such resource) and 429 (rate limited) are stable.","examples":["Insufficient API credits."],"isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Loc","description":"Where the bad value is: `body`, `query` or `path`, then the parameter name exactly as you send it (camelCase), then list indexes. A bare `[\"body\"]` means the body as a whole was not a JSON object.","examples":[["body","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"},"f357e285-485f-4a91-baa5-b23e6fe4e292":{"description":"The case-law database could not answer. A charge, if the route takes one, 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","query"]],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Msg","description":"What is wrong with the value, in plain English.","examples":["Field required"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Type","description":"Machine-readable error kind, e.g. `missing`, `literal_error`, `json_invalid`.","examples":["missing"],"isRequired":true,"uniqueKey":"errors.oneOf.0.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ApiFieldError","description":"One rejected field in a 422 response.","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"ApiFieldError · object"},"title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.0","typeLabel":"ApiFieldError · object[]"},{"type":"null","title":"Errors","description":"Present on 422 only: every field that failed validation.","uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"errors","typeLabel":"ApiFieldError · object[] | null"},"code":{"oneOf":[{"type":"string","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","upstream_timeout","service_unavailable","internal_error","conflict"],"example":"insufficient_credits","uniqueKey":"code.oneOf.0","typeLabel":"string"},{"type":"null","title":"Code","description":"Stable machine code for the failure. Branch on this, not on `detail`. The set is open: tolerate values you do not know. Known values: authentication_required, invalid_api_key, api_key_expired, agent_trial_expired, permission_denied, insufficient_scope, insufficient_credits, payment_required, rate_limited, quota_exceeded, daily_cap_exceeded, bad_request, validation_error, method_not_allowed, payload_too_large, unsupported_media_type, invalid_query, invalid_citation_input, section_not_found, resource_not_found, idempotency_key_reused, idempotency_in_progress, idempotency_replay_unavailable, upstream_timeout, service_unavailable, internal_error, conflict.","x-known-values":["authentication_required","invalid_api_key","api_key_expired","agent_trial_expired","permission_denied","insufficient_scope","insufficient_credits","payment_required","rate_limited","quota_exceeded","daily_cap_exceeded","bad_request","validation_error","method_not_allowed","payload_too_large","unsupported_media_type","invalid_query","invalid_citation_input","section_not_found","resource_not_found","idempotency_key_reused","idempotency_in_progress","idempotency_replay_unavailable","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":"UNKNOWN_99999","uniqueKey":"actId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Actid","description":"Section routes only, on a miss: the identifier that matched nothing.","example":"UNKNOWN_99999","uniqueKey":"actId.oneOf.1","typeLabel":"null"}],"uniqueKey":"actId","typeLabel":"string | null"},"reason":{"oneOf":[{"type":"string","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.0","typeLabel":"string"},{"type":"null","title":"Reason","description":"Section routes only, on a miss: why nothing matched, for example `unsupported_jurisdiction` or `not_in_registry`. The set is open.","example":"not_in_registry","uniqueKey":"reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"reason","typeLabel":"string | null"},"didYouMean":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"didYouMean.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Didyoumean","description":"Section routes only, on a miss: identifiers worth trying instead.","uniqueKey":"didYouMean.oneOf.1","typeLabel":"null"}],"uniqueKey":"didYouMean","typeLabel":"string[] | null"},"sessionLawId":{"oneOf":[{"type":"string","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Sessionlawid","description":"Session-law routes only, on a miss: the id or citation that matched nothing.","example":"Pub. L. 117-58","uniqueKey":"sessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionLawId","typeLabel":"string | null"},"defaultSessionLawId":{"oneOf":[{"type":"string","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.0","typeLabel":"string"},{"type":"null","title":"Defaultsessionlawid","description":"Session-law routes only, on an `ambiguous_citation` miss: the conventional reading, which is NOT chosen for you. `didYouMean` lists every candidate.","example":"us1_ca_2019_ch_123","uniqueKey":"defaultSessionLawId.oneOf.1","typeLabel":"null"}],"uniqueKey":"defaultSessionLawId","typeLabel":"string | null"},"candidateCount":{"oneOf":[{"type":"integer","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Candidatecount","description":"Session-law routes only: how many laws the citation names in all.","example":3,"uniqueKey":"candidateCount.oneOf.1","typeLabel":"null"}],"uniqueKey":"candidateCount","typeLabel":"integer | null"},"truncated":{"oneOf":[{"type":"boolean","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Truncated","description":"Session-law routes only: true when `didYouMean` lists fewer laws than `candidateCount`, so the list is not complete.","example":false,"uniqueKey":"truncated.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncated","typeLabel":"boolean | null"},"jurisdictions":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"jurisdictions.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Jurisdictions","description":"Session-law routes only, on a `needs_jurisdiction` miss: every state where the citation exists. Name one in the citation, or pass `state`.","uniqueKey":"jurisdictions.oneOf.1","typeLabel":"null"}],"uniqueKey":"jurisdictions","typeLabel":"string[] | null"},"sessionCoverage":{"oneOf":[{"type":"object","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","additionalProperties":true,"uniqueKey":"sessionCoverage.oneOf.0","typeLabel":"Sessioncoverage · object"},{"type":"null","title":"Sessioncoverage","description":"Session-law routes only, on a `session_not_fully_collected` miss: how much of the session we hold.","uniqueKey":"sessionCoverage.oneOf.1","typeLabel":"null"}],"uniqueKey":"sessionCoverage","typeLabel":"Sessioncoverage · object | null"},"creditsRequired":{"oneOf":[{"type":"integer","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsrequired","description":"402 only, when known: the credits this call needed.","example":5,"uniqueKey":"creditsRequired.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsRequired","typeLabel":"integer | null"},"creditsAvailable":{"oneOf":[{"type":"integer","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Creditsavailable","description":"402 only, when known: the credits you can spend right now.","example":2,"uniqueKey":"creditsAvailable.oneOf.1","typeLabel":"null"}],"uniqueKey":"creditsAvailable","typeLabel":"integer | null"},"topUpHint":{"oneOf":[{"type":"string","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.0","typeLabel":"string"},{"type":"null","title":"Topuphint","description":"402 only, when known: where to add credits.","example":"Add credits in the developer dashboard, then retry the same request.","uniqueKey":"topUpHint.oneOf.1","typeLabel":"null"}],"uniqueKey":"topUpHint","typeLabel":"string | null"}},"type":"object","required":["detail"],"title":"ApiDetailError","description":"Error envelope the API actually returns.\n\nEvery error (400/401/402/403/404/405/422/429/5xx) carries a `detail`\nstring, e.g. `{\"detail\": \"Insufficient API credits.\"}`, on every mount of\nthe API. A 422 adds `errors`, one entry per rejected field. Some 404s add\nendpoint-specific diagnosis beside `detail` (the statutes section routes\nadd `actId`, `reason` and `didYouMean`); treat unknown keys as optional.","uniqueKey":"","typeLabel":"ApiDetailError · object"},"examples":{"Example":{"title":"Example","value":{"detail":"Insufficient API credits.","errors":[{"loc":["body","query"],"msg":"Field required","type":"missing"}],"code":"insufficient_credits","type":"https://www.vaquill.ai/docs/errors/insufficient_credits","title":"Insufficient credits","status":402,"requestId":"8d32789e-7b27-44f7-9523-424596e7a929","retryable":false,"retryAfterSeconds":30,"actId":"UNKNOWN_99999","reason":"not_in_registry","didYouMean":["\u003cstring>"],"sessionLawId":"Pub. L. 117-58","defaultSessionLawId":"us1_ca_2019_ch_123","candidateCount":3,"truncated":false,"jurisdictions":["\u003cstring>"],"sessionCoverage":{},"creditsRequired":5,"creditsAvailable":2,"topUpHint":"Add credits in the developer dashboard, then retry the same request."}}},"exampleType":"generated"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current per-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix timestamp at which the per-minute window resets.","schema":{"type":"integer"}},"X-RateLimit-Limit-Day":{"description":"Requests allowed per day (the slow-drip backstop).","schema":{"type":"integer"}},"X-RateLimit-Remaining-Day":{"description":"Requests left in the daily window.","schema":{"type":"integer"}},"X-RateLimit-Limit-Hour":{"description":"Requests allowed per hour.","schema":{"type":"integer"}},"X-RateLimit-Remaining-Hour":{"description":"Requests left in the hourly window.","schema":{"type":"integer"}},"X-RateLimit-Reset-Day":{"description":"Unix timestamp at which the daily window resets (next UTC midnight).","schema":{"type":"integer"}},"X-RateLimit-Scope":{"description":"Which bucket the limits above describe: `key` (this API key's own allowance) or `ip` (the shared per-address ceiling, also used when the key did not validate). Absent on requests without an API key.","schema":{"type":"string","enum":["key","ip"]}},"X-Request-ID":{"description":"Correlation id of this request. Quote it when contacting support.","schema":{"type":"string"}}},"exampleType":"generated"}},"security":{"df1159de-5660-4e1c-9ab7-b329c735bfac":{"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"}},"7fa8d3ea-3cf3-42b3-bc2a-d74b864da571":{"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":{"3535de99-a70d-489b-a9db-9a8ec8e19d51":{"url":"https://api.vaquill.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"vq_key_*","description":"API key issued from the developer dashboard. Pass as `Authorization: Bearer vq_key_...` (preferred).","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key issued from the developer dashboard. Pass as `Authorization: Bearer vq_key_...` (preferred).","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"The same API key as a bare header value: `X-API-Key: vq_key_...`. Equivalent to the Bearer form.","scopes":[],"schemeName":"ApiKeyHeader"},"schema":{"title":"X-API-Key","type":"string","description":"The same API key as a bare header value: `X-API-Key: vq_key_...`. Equivalent to the Bearer form.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"X-API-Key"}],"title":"ApiKeyHeader"}]},"originalFileLocation":"https://api.vaquill.ai/external/openapi.json"},"subdomain":"vaquill","siteName":"Vaquill AI","title":"Get a judge - Vaquill AI","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"api-reference/us-case-law/get-a-judge.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=\"One judge by judgeId: name parts, dates of birth and death (read the ...Precision field: a date may be known only to the month or year), birth and death places, gender, positions held with their dates and date precisions, education and political affiliations. A field we do not hold is null, and a list we do not hold is empty. Priced at 2 credits per judge, plus 2 credits more with include=stats (case counts by year, court, role and outcome; the extra part is refunded when the count times out and stats is null). An unknown id is a 404 and is not charged. To find a judgeId by name use GET /us/judges; for a judge\u0026#x27;s cases use GET /us/cases/list?judgeId={judgeId}; for financial disclosures use GET /us/judges/{judgeId}/disclosures.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Vaquill AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/vaquill/cxXYvhk1ARjGdjCs/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a judge - Vaquill AI\">\u003cmeta data-mint-head property=\"og:description\" content=\"One judge by judgeId: name parts, dates of birth and death (read the ...Precision field: a date may be known only to the month or year), birth and death places, gender, positions held with their dates and date precisions, education and political affiliations. A field we do not hold is null, and a list we do not hold is empty. Priced at 2 credits per judge, plus 2 credits more with include=stats (case counts by year, court, role and outcome; the extra part is refunded when the count times out and stats is null). An unknown id is a 404 and is not charged. To find a judgeId by name use GET /us/judges; for a judge\u0026#x27;s cases use GET /us/cases/list?judgeId={judgeId}; for financial disclosures use GET /us/judges/{judgeId}/disclosures.\">\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-case-law/get-a-judge\">\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+Case+Law\u0026amp;title=Get+a+judge\u0026amp;description=One+judge+by+%60judgeId%60%3A+name+parts%2C+dates+of+birth+and+death+%28read+the+%60...Precision%60+field%3A+a+date+may+be+known+only+to+the+month+or+year%29%2C+birth+and+death+pla\u0026amp;theme=4f8ca970eaa5a0775e273f11\u0026amp;signature=1af3fbc33d7e72c05dc1c731bbf0cd4b2fb610a10e8ea55c79413ab805451c80\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get a judge - Vaquill AI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"One judge by judgeId: name parts, dates of birth and death (read the ...Precision field: a date may be known only to the month or year), birth and death places, gender, positions held with their dates and date precisions, education and political affiliations. A field we do not hold is null, and a list we do not hold is empty. Priced at 2 credits per judge, plus 2 credits more with include=stats (case counts by year, court, role and outcome; the extra part is refunded when the count times out and stats is null). An unknown id is a 404 and is not charged. To find a judgeId by name use GET /us/judges; for a judge\u0026#x27;s cases use GET /us/cases/list?judgeId={judgeId}; for financial disclosures use GET /us/judges/{judgeId}/disclosures.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://vaquill.mintlify.site/docs/_mintlify/api/og/v2?division=US+Case+Law\u0026amp;title=Get+a+judge\u0026amp;description=One+judge+by+%60judgeId%60%3A+name+parts%2C+dates+of+birth+and+death+%28read+the+%60...Precision%60+field%3A+a+date+may+be+known+only+to+the+month+or+year%29%2C+birth+and+death+pla\u0026amp;theme=4f8ca970eaa5a0775e273f11\u0026amp;signature=1af3fbc33d7e72c05dc1c731bbf0cd4b2fb610a10e8ea55c79413ab805451c80\">\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-case-law/get-a-judge\">\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-case-law/get-a-judge.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-case-law/get-a-judge#webpage\",\"url\":\"https://www.vaquill.ai/docs/api-reference/us-case-law/get-a-judge\",\"name\":\"Get a judge\",\"description\":\"One judge by judgeId: name parts, dates of birth and death (read the ...Precision field: a date may be known only to the month or year), birth and death places, gender, positions held with their dates and date precisions, education and political affiliations. A field we do not hold is null, and a list we do not hold is empty. Priced at 2 credits per judge, plus 2 credits more with include=stats (case counts by year, court, role and outcome; the extra part is refunded when the count times out and stats is null). An unknown id is a 404 and is not charged. To find a judgeId by name use GET /us/judges; for a judge's cases use GET /us/cases/list?judgeId={judgeId}; for financial disclosures use GET /us/judges/{judgeId}/disclosures.\",\"isPartOf\":{\"@id\":\"https://www.vaquill.ai/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-case-law/get-a-judge#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-case-law/get-a-judge#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"US Case Law\",\"item\":\"https://www.vaquill.ai/docs/api-reference/us-case-law/search-us-court-opinions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get a judge\",\"item\":\"https://www.vaquill.ai/docs/api-reference/us-case-law/get-a-judge\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-case-law/get-a-judge#apireference\",\"headline\":\"Get a judge\",\"name\":\"Get a judge\",\"description\":\"One judge by judgeId: name parts, dates of birth and death (read the ...Precision field: a date may be known only to the month or year), birth and death places, gender, positions held with their dates and date precisions, education and political affiliations. A field we do not hold is null, and a list we do not hold is empty. Priced at 2 credits per judge, plus 2 credits more with include=stats (case counts by year, court, role and outcome; the extra part is refunded when the count times out and stats is null). An unknown id is a 404 and is not charged. To find a judgeId by name use GET /us/judges; for a judge's cases use GET /us/cases/list?judgeId={judgeId}; for financial disclosures use GET /us/judges/{judgeId}/disclosures.\",\"url\":\"https://www.vaquill.ai/docs/api-reference/us-case-law/get-a-judge\",\"mainEntityOfPage\":{\"@id\":\"https://www.vaquill.ai/docs/api-reference/us-case-law/get-a-judge#webpage\"},\"publisher\":{\"@id\":\"https://www.vaquill.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://www.vaquill.ai/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Vaquill AI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Vaquill AI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/us-case-law/get-a-judge.md","siteName":"Vaquill AI","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":"clock","href":"/api-guide/changelog"},{"anchor":"MCP","icon":"plug","href":"/integrations/mcp/vaquill"}]},"tabs":[{"tab":"Guide","pages":[{"title":"Guide","href":"/api-guide/coverage"}]},{"tab":"US API reference","groups":[{"group":"US Statutes","pages":[{"title":"Search US statutes, constitutions, court rules, and executive actions","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/statutes/search","href":"/api-reference/us-statutes/search-us-statutes-constitutions-court-rules-and-executive-actions"},{"title":"Get statute section metadata","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}","href":"/api-reference/us-statutes/get-statute-section-metadata"},{"title":"Resolve a citation to its section","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/resolve","href":"/api-reference/us-statutes/resolve-a-citation-to-its-section"},{"title":"Resolve many citations at once","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/statutes/resolve","href":"/api-reference/us-statutes/resolve-many-citations-at-once"},{"title":"Get the sections around this one","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/related","href":"/api-reference/us-statutes/get-the-sections-around-this-one"},{"title":"Get metadata for many statute sections","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/statutes/sections","href":"/api-reference/us-statutes/get-metadata-for-many-statute-sections"},{"title":"Get statute full text","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/body","href":"/api-reference/us-statutes/get-statute-full-text"},{"title":"Count the sections in a scope","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/statutes/count","href":"/api-reference/us-statutes/count-the-sections-in-a-scope"},{"title":"Coverage matrix by jurisdiction and corpusType","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/coverage","href":"/api-reference/us-statutes/coverage-matrix-by-jurisdiction-and-corpustype"},{"title":"Browse the statutory hierarchy","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/divisions","href":"/api-reference/us-statutes/browse-the-statutory-hierarchy"},{"title":"Get this section's change history","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/changes","href":"/api-reference/us-statutes/get-this-sections-change-history"},{"title":"Which acts a state publisher lists against this section","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/enactments","href":"/api-reference/us-statutes/which-acts-a-state-publisher-lists-against-this-section"},{"title":"Get the Federal Register documents behind a CFR section","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/rulemaking","href":"/api-reference/us-statutes/get-the-federal-register-documents-behind-a-cfr-section"},{"title":"Get every Federal Register document for a CFR part","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/part/{title}/{part}/rulemaking","href":"/api-reference/us-statutes/get-every-federal-register-document-for-a-cfr-part"},{"title":"Find the citations in a text and resolve each","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/statutes/extract-citations","href":"/api-reference/us-statutes/find-the-citations-in-a-text-and-resolve-each"},{"title":"Find the sections that cite this one","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/cited-by","href":"/api-reference/us-statutes/find-the-sections-that-cite-this-one"},{"title":"Get the defined terms that govern this section","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/definitions","href":"/api-reference/us-statutes/get-the-defined-terms-that-govern-this-section"},{"title":"Compare this provision against other states","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/statutes/section/{act_id}/cross-state","href":"/api-reference/us-statutes/compare-this-provision-against-other-states"}]},{"group":"Pricing","pages":[{"title":"Get API credit pricing","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/api-credits/pricing","href":"/api-reference/pricing/get-api-credit-pricing"}]},{"group":"Board Watches","pages":[{"title":"List watchable boards","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/boards","href":"/api-reference/board-watches/list-watchable-boards"},{"title":"List your board watches","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/watches","href":"/api-reference/board-watches/list-your-board-watches"},{"title":"Create a board watch","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/watches","href":"/api-reference/board-watches/create-a-board-watch"},{"title":"Send a test delivery","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/watches/{watch_id}/test","href":"/api-reference/board-watches/send-a-test-delivery"},{"title":"Delete a board watch","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json delete /api/v1/watches/{watch_id}","href":"/api-reference/board-watches/delete-a-board-watch"},{"title":"Update a board watch","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json patch /api/v1/watches/{watch_id}","href":"/api-reference/board-watches/update-a-board-watch"},{"title":"List what changed on a watch's source","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/watches/{watch_id}/changes","href":"/api-reference/board-watches/list-what-changed-on-a-watchs-source"},{"title":"Old-vs-new text for one change","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/watches/{watch_id}/changes/{change_id}/diff","href":"/api-reference/board-watches/old-vs-new-text-for-one-change"},{"title":"List delivery history for a watch","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/watches/{watch_id}/deliveries","href":"/api-reference/board-watches/list-delivery-history-for-a-watch"},{"title":"Law change alert","version":null,"deprecated":null,"openapi":"https://api.vaquill.ai/external/openapi.json webhook board.updated","href":"/api-reference/board-watches/law-change-alert"},{"title":"Webhook test delivery","version":null,"deprecated":null,"openapi":"https://api.vaquill.ai/external/openapi.json webhook board.test","href":"/api-reference/board-watches/webhook-test-delivery"}]},{"group":"Credits","pages":[{"title":"Get your credit balance","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/credits/balance","href":"/api-reference/credits/get-your-credit-balance"}]},{"group":"Agent Onboarding","pages":[{"title":"Start an agent signup and get a trial key","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/agent/signup","href":"/api-reference/agent-onboarding/start-an-agent-signup-and-get-a-trial-key"},{"title":"Check whether the email is verified","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/agent/token","href":"/api-reference/agent-onboarding/check-whether-the-email-is-verified"},{"title":"Verify the emailed code and keep the key","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/agent/verify","href":"/api-reference/agent-onboarding/verify-the-emailed-code-and-keep-the-key"}]},{"group":"US Session Laws","pages":[{"title":"Feed of changes to the session-law registry","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/changes","href":"/api-reference/us-session-laws/feed-of-changes-to-the-session-law-registry"},{"title":"Get many state session laws at once, by id or citation","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/session-laws/batch","href":"/api-reference/us-session-laws/get-many-state-session-laws-at-once-by-id-or-citation"},{"title":"Search the text of state session laws","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/session-laws/search","href":"/api-reference/us-session-laws/search-the-text-of-state-session-laws"},{"title":"List every served version of a state session law","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/{session_law_id}/versions","href":"/api-reference/us-session-laws/list-every-served-version-of-a-state-session-law"},{"title":"List a state's session laws","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/list","href":"/api-reference/us-session-laws/list-a-states-session-laws"},{"title":"Get a state session law's text, current or a past version","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/{session_law_id}/body","href":"/api-reference/us-session-laws/get-a-state-session-laws-text-current-or-a-past-version"},{"title":"Get a state session law, by id or by citation","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/session-laws/{session_law_id}","href":"/api-reference/us-session-laws/get-a-state-session-law-by-id-or-by-citation"}]},{"group":"US Case Law","pages":[{"title":"Search US court opinions","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/cases/search","href":"/api-reference/us-case-law/search-us-court-opinions"},{"title":"Resolve citations to cases","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/cases/resolve","href":"/api-reference/us-case-law/resolve-citations-to-cases"},{"title":"Get several US court decisions","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/cases/batch","href":"/api-reference/us-case-law/get-several-us-court-decisions"},{"title":"Cases added or changed since a moment","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/cases/changes","href":"/api-reference/us-case-law/cases-added-or-changed-since-a-moment"},{"title":"List US court decisions","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/cases/list","href":"/api-reference/us-case-law/list-us-court-decisions"},{"title":"Get a US court decision","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/cases/{case_id}","href":"/api-reference/us-case-law/get-a-us-court-decision"},{"title":"Case citations, in either direction","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/cases/{case_id}/citations","href":"/api-reference/us-case-law/case-citations-in-either-direction"},{"title":"Parentheticals describing a decision","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/cases/{case_id}/parentheticals","href":"/api-reference/us-case-law/parentheticals-describing-a-decision"},{"title":"Get the text of an opinion","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/opinions/{opinion_id}","href":"/api-reference/us-case-law/get-the-text-of-an-opinion"},{"title":"Get the text of several opinions","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json post /api/v1/us/opinions/batch","href":"/api-reference/us-case-law/get-the-text-of-several-opinions"},{"title":"Opinion citations, in either direction","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/opinions/{opinion_id}/citations","href":"/api-reference/us-case-law/opinion-citations-in-either-direction"},{"title":"List US courts","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/courts","href":"/api-reference/us-case-law/list-us-courts"},{"title":"Get a US court","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/courts/{court_id}","href":"/api-reference/us-case-law/get-a-us-court"},{"title":"List and search judges","description":"Judges ordered by last name, first name, then `judgeId`, so a page never repeats or skips a row. Narrow with `name` (words of the name, 2 characters or more), `courtId` (judges who have held a position on that court) and `active` (`true` for judges who hold a position with no end date). A record that is only another name for a judge is not listed: read the judge it points at. Each row is the short record with `isActive` and `courtIds`; fetch the positions, education and affiliations with `GET /us/judges/{judgeId}`. Page with `limit` and `offset`; `hasMore` says whether another page follows. Priced at 2 credits per page, and an empty page is charged.","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/judges","href":"/api-reference/us-case-law/list-and-search-judges"},{"title":"Get a judge","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/judges/{judge_id}","href":"/api-reference/us-case-law/get-a-judge"},{"title":"List and search dockets","description":"Dockets, newest filing first by default (`sort=filed_asc` for oldest first; ties by `docketId`, so a page never repeats or skips a row), narrowed by `courtId`, an exact `docketNumber`, words of the case caption (`name`, 3 characters or more), a `dateFrom` to `dateTo` filing window, `natureOfSuit` and `cause` (words of the text), `assignedJudgeId`, `jurisdictionBasis`, `appealFromCourtId`, `terminated` (`true` for dockets with a termination date, `false` for open ones) and a `terminatedFrom` to `terminatedTo` termination window. A window with its start after its end is a 422 and is not charged. A docket with no filing date comes last. Party names and docket text are served with personal identifiers masked. Priced at 2 credits per page; an empty page is charged.","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/dockets/list","href":"/api-reference/us-case-law/list-and-search-dockets"},{"title":"Get a docket","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/dockets/{docket_id}","href":"/api-reference/us-case-law/get-a-docket"},{"title":"List oral arguments","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/oral-arguments/list","href":"/api-reference/us-case-law/list-oral-arguments"},{"title":"Get an oral argument","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/oral-arguments/{argument_id}","href":"/api-reference/us-case-law/get-an-oral-argument"},{"title":"List a judge's financial disclosures","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/judges/{judge_id}/disclosures","href":"/api-reference/us-case-law/list-a-judges-financial-disclosures"}]},{"group":"US Rulemaking","pages":[{"title":"What the rulemaking store holds (free)","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/coverage","href":"/api-reference/us-rulemaking/what-the-rulemaking-store-holds-free"},{"title":"List and filter Regulations.gov dockets","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/dockets/list","href":"/api-reference/us-rulemaking/list-and-filter-regulationsgov-dockets"},{"title":"One Regulations.gov docket","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/dockets/{docket_id}","href":"/api-reference/us-rulemaking/one-regulationsgov-docket"},{"title":"Documents of one docket, oldest first","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/dockets/{docket_id}/documents","href":"/api-reference/us-rulemaking/documents-of-one-docket-oldest-first"},{"title":"Everything we hold for one RIN","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/rins/{rin}","href":"/api-reference/us-rulemaking/everything-we-hold-for-one-rin"},{"title":"Unified Agenda history of one RIN","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/rins/{rin}/agenda","href":"/api-reference/us-rulemaking/unified-agenda-history-of-one-rin"},{"title":"List and filter Rules Committee records","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/committee-records/list","href":"/api-reference/us-rulemaking/list-and-filter-rules-committee-records"},{"title":"One Rules Committee record with its page text","deprecated":null,"version":null,"openapi":"https://api.vaquill.ai/external/openapi.json get /api/v1/us/rulemaking/committee-records/{record_id}","href":"/api-reference/us-rulemaking/one-rules-committee-record-with-its-page-text"}]}]},{"tab":"India API reference","pages":[{"title":"India API reference","href":"/api-guide/coverage/india"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]}]},"basePath":"","title":"Get a judge - Vaquill AI","deploymentId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","buildId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CUHhyXy2.js","snippetPresets-CLZ6zHrE.js","utils-YgZO0660.js","style-to-object-BY3JEAdk.js","utils-BfGpunL-.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-nXeJG4mW.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CfiGwWS2.js","_Uint8Array-DMwpGz7v.js","isObject-FP1Yky1u.js","ApiExamples-ClwIRLsI.js","usePlaygroundInputsStore-D3zE52Kn.js","shallow-D4RQzCAp.js","isEqual-Ba6nq9eA.js","CodeSnippets-DK9iv102.js","CodeSnippet-CD0M-PIN.js","getApiPlaygroundDisplay-MZpK72mj.js","Page-wRPqmnTs.js","DynamicMarkdown-B4E-vXj3.js","SectionHeading-Cd1Hebqh.js","icon-CopWpdT0.js","MethodPill-DHN7T7vW.js","getPastedJson-BuLRhr5B.js","Check2Icon-DTvkZOnk.js","axios-CsQoIw0U.js","Markdown-BZDfk3ee.js","AssistantPageLink-CXXpl6Pb.js","dist-D0qiytnz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}