Mints the grant every request to the autocomplete service carries in X-Autocomplete-Session. Minting writes one Order; the keystrokes it admits write nothing. An organization mints without limit unless one is set for it, sessions_per_window per ten minutes and sessions_per_day per rolling day (each null when there is none), one pool drawn from by every caller in it; past either the mint answers 429. The grant is bound to the Origin it was minted with, expires after expires_in seconds (refresh at about 80% of it; expires_at is the same instant as a UTC timestamp, for display) and admits request_budget requests per route. A sandbox application’s grant is served the sandbox’s own index, and its mint writes no Order and counts against neither limit. A caller whose autocomplete.enabled override is off is answered 403; a locked organization is answered 402.
Opaque, signed session grant. Send it verbatim in the X-Autocomplete-Session header of every autocomplete request; it carries its own expiry and budget.
Seconds until the grant expires, counted from this response. Time the refresh from this, not from expires_at: it is right however far the caller's clock is off. Mint the next grant at about 80% of it so expiry never lands on the typing path.
Requests this session may make per autocomplete route. Past it the autocomplete service answers 429 with session_budget_spent; the remedy is a new session, not a retry.
How many times this session may change its query to a different name before the autocomplete service refuses it (429, code 482). Growing, trimming or correcting the name being typed never counts.
What this session may search: the routes, the relations per route, and the most suggestions a request may ask for. Offer a search only where its route is listed.
Sessions this organization may mint per ten-minute window, one number shared by every user and API key in it; the mint past it is answered 429 with a Retry-After. null when there is no limit.
Sessions a user signed in to the console may mint per ten-minute window, their own pool beside the organization's; past it the mint answers 429 with a Retry-After. null for an API key, whose sessions are billed, or when there is no limit.
Characters a query needs before the autocomplete service searches at all; shorter, a request is a 422 naming q. Advisory: the service holds it on its own.
What each route in scope holds its narrowing filters to, so a client can wait before sending a filter the service would refuse. Each route's min_stem is what this session enforces on it, and filter_min_stem is the strictest of them. The service decides; a client that ignores this learns the same from the 422.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Baselayer","colors":{"primary":"#384ce3","light":"#c6dbf6","dark":"#2232b5"},"logo":{"light":"https://mintcdn.com/baselayer-81245324/D2HqlyNVJCqb8u23/logo/baselayer-wordmark-white.svg?fit=max\u0026auto=format\u0026n=D2HqlyNVJCqb8u23\u0026q=85\u0026s=533e2ee556334e910d3a6d1f2f66ca6a","dark":"https://mintcdn.com/baselayer-81245324/D2HqlyNVJCqb8u23/logo/baselayer-wordmark-white.svg?fit=max\u0026auto=format\u0026n=D2HqlyNVJCqb8u23\u0026q=85\u0026s=533e2ee556334e910d3a6d1f2f66ca6a","href":"https://www.baselayer.com"},"favicon":"https://mintcdn.com/baselayer-81245324/y8jjNyo-CIhfj2Df/favicon.ico?fit=max\u0026auto=format\u0026n=y8jjNyo-CIhfj2Df\u0026q=85\u0026s=5f1029f95d2abd5d4ffd1699330f82ff","navbar":{"links":[{"href":"https://console.baselayer.com","label":"Console"}]},"fonts":{"heading":{"family":"Season Mix","source":"fonts/SeasonMix-Variable.woff2","format":"woff2"},"body":{"family":"Uncut Sans","source":"fonts/UncutSans-Variable.woff2","format":"woff2"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"baselayer-81245324","hasAudioNarration":false,"actualSubdomain":"baselayer-81245324","customDomains":["docs.baselayer.com"],"gitSource":{"type":"github","owner":"osiris-ratings","repo":"docs-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af3e8d50ed1bdb2a637ecd0","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":286},{"language":"default","tag":"Changelog","count":172},{"language":"default","tag":"Businesses","count":133},{"language":"default","tag":"Webhooks","count":81},{"language":"default","tag":"Know Your Agent","count":73},{"language":"default","tag":"Webhook Events","count":68},{"language":"default","tag":"PRODUCT GUIDES","count":64},{"language":"default","tag":"Verify Businesses \u0026 People","count":60},{"language":"default","tag":"Business Verification","count":49},{"language":"default","tag":"Portfolio Monitoring","count":48}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html:not(.dark) #navbar{background:#384ce3!important}html:not(.dark) #navbar div,html:not(.dark) #navbar nav{background-color:transparent!important;backdrop-filter:none!important}html:not(.dark) #navbar *{border-color:rgba(255, 255, 255, 0.18)!important}html:not(.dark) #navbar a,html:not(.dark) #navbar span,html:not(.dark) #navbar svg,html:not(.dark) #navbar button,html:not(.dark) #navbar p,html:not(.dark) #navbar div{color:#fff!important}html:not(.dark) #navbar button{background:rgba(255, 255, 255, 0.12)!important;border-color:rgba(255, 255, 255, 0.25)!important}"}],"page":{"pagePath":"api-reference/autocomplete/mint-an-autocomplete-session","slug":"/api-reference/autocomplete/mint-an-autocomplete-session","pageMetadata":{"title":"Mint an autocomplete session","description":"Mints the grant every request to the autocomplete service carries in ``X-Autocomplete-Session``. Minting writes one Order; the keystrokes it admits write nothing. An organization mints without limit unless one is set for it, ``sessions_per_window`` per ten minutes and ``sessions_per_day`` per rolling day (each ``null`` when there is none), one pool drawn from by every caller in it; past either the mint answers 429. The grant is bound to the ``Origin`` it was minted with, expires after ``expires_in`` seconds (refresh at about 80% of it; ``expires_at`` is the same instant as a UTC timestamp, for display) and admits ``request_budget`` requests per route. A sandbox application's grant is served the sandbox's own index, and its mint writes no Order and counts against neither limit. A caller whose ``autocomplete.enabled`` override is off is answered 403; a locked organization is answered 402.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /autocomplete/sessions","href":"/api-reference/autocomplete/mint-an-autocomplete-session","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: [\"Mints the grant every request to the autocomplete service carries in \", _jsx(_components.code, {\n children: \"X-Autocomplete-Session\"\n }), \". Minting writes one Order; the keystrokes it admits write nothing. An organization mints without limit unless one is set for it, \", _jsx(_components.code, {\n children: \"sessions_per_window\"\n }), \" per ten minutes and \", _jsx(_components.code, {\n children: \"sessions_per_day\"\n }), \" per rolling day (each \", _jsx(_components.code, {\n children: \"null\"\n }), \" when there is none), one pool drawn from by every caller in it; past either the mint answers 429. The grant is bound to the \", _jsx(_components.code, {\n children: \"Origin\"\n }), \" it was minted with, expires after \", _jsx(_components.code, {\n children: \"expires_in\"\n }), \" seconds (refresh at about 80% of it; \", _jsx(_components.code, {\n children: \"expires_at\"\n }), \" is the same instant as a UTC timestamp, for display) and admits \", _jsx(_components.code, {\n children: \"request_budget\"\n }), \" requests per route. A sandbox application’s grant is served the sandbox’s own index, and its mint writes no Order and counts against neither limit. A caller whose \", _jsx(_components.code, {\n children: \"autocomplete.enabled\"\n }), \" override is off is answered 403; a locked organization is answered 402.\"]\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":{"config":{},"pageMetadata":{"title":"Mint an autocomplete session","description":"Mints the grant every request to the autocomplete service carries in ``X-Autocomplete-Session``. Minting writes one Order; the keystrokes it admits write nothing. An organization mints without limit unless one is set for it, ``sessions_per_window`` per ten minutes and ``sessions_per_day`` per rolling day (each ``null`` when there is none), one pool drawn from by every caller in it; past either the mint answers 429. The grant is bound to the ``Origin`` it was minted with, expires after ``expires_in`` seconds (refresh at about 80% of it; ``expires_at`` is the same instant as a UTC timestamp, for display) and admits ``request_budget`` requests per route. A sandbox application's grant is served the sandbox's own index, and its mint writes no Order and counts against neither limit. A caller whose ``autocomplete.enabled`` override is off is answered 403; a locked organization is answered 402.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /autocomplete/sessions","href":"/api-reference/autocomplete/mint-an-autocomplete-session","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/baselayer-81245324/8f3f8776472b6600/kya-nudge.js"],"openApiReferenceData":{"operation":{"tags":["Autocomplete"],"summary":"Mint an autocomplete session","description":"Mints the grant every request to the autocomplete service carries in ``X-Autocomplete-Session``. Minting writes one Order; the keystrokes it admits write nothing. An organization mints without limit unless one is set for it, ``sessions_per_window`` per ten minutes and ``sessions_per_day`` per rolling day (each ``null`` when there is none), one pool drawn from by every caller in it; past either the mint answers 429. The grant is bound to the ``Origin`` it was minted with, expires after ``expires_in`` seconds (refresh at about 80% of it; ``expires_at`` is the same instant as a UTC timestamp, for display) and admits ``request_budget`` requests per route. A sandbox application's grant is served the sandbox's own index, and its mint writes no Order and counts against neither limit. A caller whose ``autocomplete.enabled`` override is off is answered 403; a locked organization is answered 402.","operationId":"mint_autocomplete_session_autocomplete_sessions_post","requestBody":"f7021aa0-f792-4e74-9e6a-c5b6a6cd5973","responses":{"201":"ddda9fb2-7c55-4fd5-addb-2152c37aa01f","422":"de15e5db-496f-448c-8bd7-264b0a35742b"},"security":["38476594-5576-4e4a-8c27-16ddb75a6193"],"method":"post","type":"path","servers":["10ca874f-2381-4d12-a88d-0834bbb5a2af"],"path":"/autocomplete/sessions","baseUrlOptions":["https://api.baselayer.com/"],"title":"Mint an autocomplete session","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"AutocompleteSessionRequest (v1)","description":"What a caller asks of a new session; the body is optional.","properties":{"scope":{"oneOf":[{"type":"object","title":"AutocompleteSessionScopeRequest","description":"Narrows what the session may search, so a leaked session can do no more than this. Left out, everything the caller may search.","properties":{"routes":{"type":"any","uniqueKey":"oneOf.0.scope.oneOf.0.routes","typeLabel":"any"},"max_limit":{"oneOf":[{"type":"integer","title":"Max Limit","description":"The most suggestions a request may ask for. Left out, 20.","maximum":20,"minimum":1,"example":5,"uniqueKey":"oneOf.0.scope.oneOf.0.max_limit.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Max Limit","description":"The most suggestions a request may ask for. Left out, 20.","example":5,"uniqueKey":"oneOf.0.scope.oneOf.0.max_limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.scope.oneOf.0.max_limit","typeLabel":"integer | null"}},"additionalProperties":false,"uniqueKey":"oneOf.0.scope.oneOf.0","typeLabel":"AutocompleteSessionScopeRequest · object"},{"type":"null","description":"Narrows what the session may search, so a leaked session can do no more than this. Left out, everything the caller may search.","uniqueKey":"oneOf.0.scope.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.scope","typeLabel":"AutocompleteSessionScopeRequest · object | null"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"AutocompleteSessionRequest (v1) · object"},{"type":"null","title":"Request","uniqueKey":"oneOf.1","typeLabel":"null"}],"uniqueKey":"","typeLabel":"AutocompleteSessionRequest (v1) · object | null"},"examples":{"Example":{"title":"Example","value":{"scope":{"routes":"\u003cunknown>","max_limit":5}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ddda9fb2-7c55-4fd5-addb-2152c37aa01f":{"description":"Response","content":{"application/json":{"schema":{"description":"A grant from ``POST /autocomplete/sessions``, and its organization's limits.","properties":{"session_token":{"description":"Opaque, signed session grant. Send it verbatim in the ``X-Autocomplete-Session`` header of every autocomplete request; it carries its own expiry and budget.","examples":["eyJhbGciOiJFZERTQSIsInR5cCI6ImFjczEiLCJraWQiOiJ…"],"title":"Session Token","type":"string","isRequired":true,"uniqueKey":"session_token","typeLabel":"string"},"expires_in":{"description":"Seconds until the grant expires, counted from this response. Time the refresh from this, not from ``expires_at``: it is right however far the caller's clock is off. Mint the next grant at about 80% of it so expiry never lands on the typing path.","examples":[120],"title":"Expires In","type":"integer","isRequired":true,"uniqueKey":"expires_in","typeLabel":"integer"},"expires_at":{"description":"When the grant stops working, in UTC: the token's own expiry, for display and logs. Time refreshes from ``expires_in``.","examples":["2026-09-23T12:03:00Z"],"format":"date-time","title":"Expires At","type":"string","isRequired":true,"uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"request_budget":{"description":"Requests this session may make per autocomplete route. Past it the autocomplete service answers 429 with ``session_budget_spent``; the remedy is a new session, not a retry.","examples":[10],"title":"Request Budget","type":"integer","isRequired":true,"uniqueKey":"request_budget","typeLabel":"integer"},"pivot_allowance":{"description":"How many times this session may change its query to a different name before the autocomplete service refuses it (429, code 482). Growing, trimming or correcting the name being typed never counts.","examples":[5],"title":"Pivot Allowance","type":"integer","isRequired":true,"uniqueKey":"pivot_allowance","typeLabel":"integer"},"filter_min_stem":{"description":"Characters the query needs before the ``person.*``, ``address.*`` and ``state`` filters narrow the suggestions; shorter, a filtered request is a 422 naming ``q``.","examples":[5],"title":"Filter Min Stem","type":"integer","isRequired":true,"uniqueKey":"filter_min_stem","typeLabel":"integer"},"scope":{"additionalProperties":false,"description":"What this session may search: the routes, the relations per route, and the most suggestions a request may ask for. Offer a search only where its route is listed.","properties":{"routes":{"additionalProperties":{"items":{"description":"A kind of row a suggestion relates to: the key of ``related.\u003crelation>``.","enum":["businesses","people","addresses"],"title":"AutocompleteRelation","type":"string","uniqueKey":"scope.routes.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"scope.routes.additionalProperties","typeLabel":"enum\u003cstring>[]"},"description":"Each route the session may query, and the relations a request on it may include or filter by. Any other route answers 403, and so does a relation outside the list.","examples":[{"businesses":["addresses","people"]}],"propertyNames":{"$ref":"#/components/schemas/v1.AutocompleteRoute"},"title":"Routes","type":"object","isRequired":true,"uniqueKey":"scope.routes","typeLabel":"Routes · object"},"max_limit":{"description":"The most suggestions a request may ask for; a larger ``limit`` answers 422.","examples":[20],"maximum":20,"minimum":1,"title":"Max Limit","type":"integer","isRequired":true,"uniqueKey":"scope.max_limit","typeLabel":"integer"}},"required":["routes","max_limit"],"title":"AutocompleteSessionScope","type":"object","isRequired":true,"uniqueKey":"scope","typeLabel":"AutocompleteSessionScope · object"},"sessions_per_window":{"oneOf":[{"type":"integer","title":"Sessions Per Window","description":"Sessions this organization may mint per ten-minute window, one number shared by every user and API key in it; the mint past it is answered 429 with a ``Retry-After``. ``null`` when there is no limit.","isRequired":true,"uniqueKey":"sessions_per_window.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Sessions Per Window","description":"Sessions this organization may mint per ten-minute window, one number shared by every user and API key in it; the mint past it is answered 429 with a ``Retry-After``. ``null`` when there is no limit.","isRequired":true,"uniqueKey":"sessions_per_window.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sessions_per_window","typeLabel":"integer | null"},"sessions_per_day":{"oneOf":[{"type":"integer","title":"Sessions Per Day","description":"Sessions this organization may mint in a rolling 24 hours, shared and refused the same way. ``null`` when there is no limit.","isRequired":true,"uniqueKey":"sessions_per_day.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Sessions Per Day","description":"Sessions this organization may mint in a rolling 24 hours, shared and refused the same way. ``null`` when there is no limit.","isRequired":true,"uniqueKey":"sessions_per_day.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sessions_per_day","typeLabel":"integer | null"},"user_sessions_per_window":{"oneOf":[{"type":"integer","title":"User Sessions Per Window","description":"Sessions a user signed in to the console may mint per ten-minute window, their own pool beside the organization's; past it the mint answers 429 with a ``Retry-After``. ``null`` for an API key, whose sessions are billed, or when there is no limit.","isRequired":true,"uniqueKey":"user_sessions_per_window.oneOf.0","typeLabel":"integer"},{"type":"null","title":"User Sessions Per Window","description":"Sessions a user signed in to the console may mint per ten-minute window, their own pool beside the organization's; past it the mint answers 429 with a ``Retry-After``. ``null`` for an API key, whose sessions are billed, or when there is no limit.","isRequired":true,"uniqueKey":"user_sessions_per_window.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"user_sessions_per_window","typeLabel":"integer | null"},"user_sessions_per_day":{"oneOf":[{"type":"integer","title":"User Sessions Per Day","description":"Sessions a user signed in to the console may mint in a rolling 24 hours, refused the same way. ``null`` for an API key, or when there is no limit.","isRequired":true,"uniqueKey":"user_sessions_per_day.oneOf.0","typeLabel":"integer"},{"type":"null","title":"User Sessions Per Day","description":"Sessions a user signed in to the console may mint in a rolling 24 hours, refused the same way. ``null`` for an API key, or when there is no limit.","isRequired":true,"uniqueKey":"user_sessions_per_day.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"user_sessions_per_day","typeLabel":"integer | null"},"min_query_chars":{"oneOf":[{"type":"integer","title":"Min Query Chars","description":"Characters a query needs before the autocomplete service searches at all; shorter, a request is a 422 naming ``q``. Advisory: the service holds it on its own.","example":2,"uniqueKey":"min_query_chars.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Min Query Chars","description":"Characters a query needs before the autocomplete service searches at all; shorter, a request is a 422 naming ``q``. Advisory: the service holds it on its own.","example":2,"uniqueKey":"min_query_chars.oneOf.1","typeLabel":"null"}],"uniqueKey":"min_query_chars","typeLabel":"integer | null"},"filter_rules":{"oneOf":[{"type":"object","title":"Filter Rules","description":"What each route in ``scope`` holds its narrowing filters to, so a client can wait before sending a filter the service would refuse. Each route's ``min_stem`` is what this session enforces on it, and ``filter_min_stem`` is the strictest of them. The service decides; a client that ignores this learns the same from the 422.","additionalProperties":{"additionalProperties":false,"description":"What one route holds its narrowing filters to.","properties":{"min_stem":{"description":"Characters the query needs, counted as ``count`` says, before any filter in ``gated`` narrows the suggestions.","examples":[5],"title":"Min Stem","type":"integer","isRequired":true,"uniqueKey":"filter_rules.oneOf.0.additionalProperties.min_stem","typeLabel":"integer"},"count":{"description":"How the query's characters are counted: ``stem`` (letters and digits, a symbol such as ``\u0026`` counting as the word it stands for) or ``person_name`` (the spelling the people index uses, ASCII letters only). Another value may follow; one a client does not know is no reason to stop it counting its own way.","examples":["stem"],"title":"Count","type":"string","isRequired":true,"uniqueKey":"filter_rules.oneOf.0.additionalProperties.count","typeLabel":"string"},"gated":{"description":"The request parameters that wait for ``min_stem``: a request carrying one of them with a shorter query is a 422 naming ``q``, unless ``short_allowed_with`` applies.","examples":[["person.name","state"]],"items":{"type":"string","uniqueKey":"filter_rules.oneOf.0.additionalProperties.gated.items.[INDEX]","typeLabel":"string"},"title":"Gated","type":"array","isRequired":true,"uniqueKey":"filter_rules.oneOf.0.additionalProperties.gated","typeLabel":"string[]"},"short_allowed_with":{"description":"The parameters that let a non-empty query shorter than ``min_stem`` through. A necessary condition, not a promise: a request that carries one still runs only if the search can answer it, and may be refused.","examples":[["business.name"]],"items":{"type":"string","uniqueKey":"filter_rules.oneOf.0.additionalProperties.short_allowed_with.items.[INDEX]","typeLabel":"string"},"title":"Short Allowed With","type":"array","isRequired":true,"uniqueKey":"filter_rules.oneOf.0.additionalProperties.short_allowed_with","typeLabel":"string[]"}},"required":["min_stem","count","gated","short_allowed_with"],"title":"AutocompleteFilterRule","type":"object","uniqueKey":"filter_rules.oneOf.0.additionalProperties","typeLabel":"AutocompleteFilterRule · object"},"uniqueKey":"filter_rules.oneOf.0","typeLabel":"Filter Rules · object"},{"type":"null","title":"Filter Rules","description":"What each route in ``scope`` holds its narrowing filters to, so a client can wait before sending a filter the service would refuse. Each route's ``min_stem`` is what this session enforces on it, and ``filter_min_stem`` is the strictest of them. The service decides; a client that ignores this learns the same from the 422.","uniqueKey":"filter_rules.oneOf.1","typeLabel":"null"}],"uniqueKey":"filter_rules","typeLabel":"Filter Rules · object | null"}},"required":["session_token","expires_in","expires_at","request_budget","pivot_allowance","filter_min_stem","scope","sessions_per_window","sessions_per_day","user_sessions_per_window","user_sessions_per_day"],"title":"AutocompleteSessionGrantResponse (v1)","type":"object","uniqueKey":"","typeLabel":"AutocompleteSessionGrantResponse (v1) · object"},"examples":{"Example":{"title":"Example","value":{"session_token":"eyJhbGciOiJFZERTQSIsInR5cCI6ImFjczEiLCJraWQiOiJ…","expires_in":120,"expires_at":"2026-09-23T12:03:00Z","request_budget":10,"pivot_allowance":5,"filter_min_stem":5,"scope":{"routes":{"businesses":["addresses","people"]},"max_limit":20},"sessions_per_window":123,"sessions_per_day":123,"user_sessions_per_window":123,"user_sessions_per_day":123,"min_query_chars":2,"filter_rules":{}}}},"exampleType":"generated"},"application/vnd.baselayer.v1+json":{"schema":{"description":"A grant from ``POST /autocomplete/sessions``, and its organization's limits.","properties":{"session_token":{"description":"Opaque, signed session grant. Send it verbatim in the ``X-Autocomplete-Session`` header of every autocomplete request; it carries its own expiry and budget.","examples":["eyJhbGciOiJFZERTQSIsInR5cCI6ImFjczEiLCJraWQiOiJ…"],"title":"Session Token","type":"string","isRequired":true,"uniqueKey":"session_token","typeLabel":"string"},"expires_in":{"description":"Seconds until the grant expires, counted from this response. Time the refresh from this, not from ``expires_at``: it is right however far the caller's clock is off. Mint the next grant at about 80% of it so expiry never lands on the typing path.","examples":[120],"title":"Expires In","type":"integer","isRequired":true,"uniqueKey":"expires_in","typeLabel":"integer"},"expires_at":{"description":"When the grant stops working, in UTC: the token's own expiry, for display and logs. Time refreshes from ``expires_in``.","examples":["2026-09-23T12:03:00Z"],"format":"date-time","title":"Expires At","type":"string","isRequired":true,"uniqueKey":"expires_at","typeLabel":"string\u003cdate-time>"},"request_budget":{"description":"Requests this session may make per autocomplete route. Past it the autocomplete service answers 429 with ``session_budget_spent``; the remedy is a new session, not a retry.","examples":[10],"title":"Request Budget","type":"integer","isRequired":true,"uniqueKey":"request_budget","typeLabel":"integer"},"pivot_allowance":{"description":"How many times this session may change its query to a different name before the autocomplete service refuses it (429, code 482). Growing, trimming or correcting the name being typed never counts.","examples":[5],"title":"Pivot Allowance","type":"integer","isRequired":true,"uniqueKey":"pivot_allowance","typeLabel":"integer"},"filter_min_stem":{"description":"Characters the query needs before the ``person.*``, ``address.*`` and ``state`` filters narrow the suggestions; shorter, a filtered request is a 422 naming ``q``.","examples":[5],"title":"Filter Min Stem","type":"integer","isRequired":true,"uniqueKey":"filter_min_stem","typeLabel":"integer"},"scope":{"additionalProperties":false,"description":"What this session may search: the routes, the relations per route, and the most suggestions a request may ask for. Offer a search only where its route is listed.","properties":{"routes":{"additionalProperties":{"items":{"description":"A kind of row a suggestion relates to: the key of ``related.\u003crelation>``.","enum":["businesses","people","addresses"],"title":"AutocompleteRelation","type":"string","uniqueKey":"scope.routes.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"scope.routes.additionalProperties","typeLabel":"enum\u003cstring>[]"},"description":"Each route the session may query, and the relations a request on it may include or filter by. Any other route answers 403, and so does a relation outside the list.","examples":[{"businesses":["addresses","people"]}],"propertyNames":{"$ref":"#/components/schemas/v1.AutocompleteRoute"},"title":"Routes","type":"object","isRequired":true,"uniqueKey":"scope.routes","typeLabel":"Routes · object"},"max_limit":{"description":"The most suggestions a request may ask for; a larger ``limit`` answers 422.","examples":[20],"maximum":20,"minimum":1,"title":"Max Limit","type":"integer","isRequired":true,"uniqueKey":"scope.max_limit","typeLabel":"integer"}},"required":["routes","max_limit"],"title":"AutocompleteSessionScope","type":"object","isRequired":true,"uniqueKey":"scope","typeLabel":"AutocompleteSessionScope · object"},"sessions_per_window":{"oneOf":[{"type":"integer","title":"Sessions Per Window","description":"Sessions this organization may mint per ten-minute window, one number shared by every user and API key in it; the mint past it is answered 429 with a ``Retry-After``. ``null`` when there is no limit.","isRequired":true,"uniqueKey":"sessions_per_window.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Sessions Per Window","description":"Sessions this organization may mint per ten-minute window, one number shared by every user and API key in it; the mint past it is answered 429 with a ``Retry-After``. ``null`` when there is no limit.","isRequired":true,"uniqueKey":"sessions_per_window.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sessions_per_window","typeLabel":"integer | null"},"sessions_per_day":{"oneOf":[{"type":"integer","title":"Sessions Per Day","description":"Sessions this organization may mint in a rolling 24 hours, shared and refused the same way. ``null`` when there is no limit.","isRequired":true,"uniqueKey":"sessions_per_day.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Sessions Per Day","description":"Sessions this organization may mint in a rolling 24 hours, shared and refused the same way. ``null`` when there is no limit.","isRequired":true,"uniqueKey":"sessions_per_day.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"sessions_per_day","typeLabel":"integer | null"},"user_sessions_per_window":{"oneOf":[{"type":"integer","title":"User Sessions Per Window","description":"Sessions a user signed in to the console may mint per ten-minute window, their own pool beside the organization's; past it the mint answers 429 with a ``Retry-After``. ``null`` for an API key, whose sessions are billed, or when there is no limit.","isRequired":true,"uniqueKey":"user_sessions_per_window.oneOf.0","typeLabel":"integer"},{"type":"null","title":"User Sessions Per Window","description":"Sessions a user signed in to the console may mint per ten-minute window, their own pool beside the organization's; past it the mint answers 429 with a ``Retry-After``. ``null`` for an API key, whose sessions are billed, or when there is no limit.","isRequired":true,"uniqueKey":"user_sessions_per_window.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"user_sessions_per_window","typeLabel":"integer | null"},"user_sessions_per_day":{"oneOf":[{"type":"integer","title":"User Sessions Per Day","description":"Sessions a user signed in to the console may mint in a rolling 24 hours, refused the same way. ``null`` for an API key, or when there is no limit.","isRequired":true,"uniqueKey":"user_sessions_per_day.oneOf.0","typeLabel":"integer"},{"type":"null","title":"User Sessions Per Day","description":"Sessions a user signed in to the console may mint in a rolling 24 hours, refused the same way. ``null`` for an API key, or when there is no limit.","isRequired":true,"uniqueKey":"user_sessions_per_day.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"user_sessions_per_day","typeLabel":"integer | null"},"min_query_chars":{"oneOf":[{"type":"integer","title":"Min Query Chars","description":"Characters a query needs before the autocomplete service searches at all; shorter, a request is a 422 naming ``q``. Advisory: the service holds it on its own.","example":2,"uniqueKey":"min_query_chars.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Min Query Chars","description":"Characters a query needs before the autocomplete service searches at all; shorter, a request is a 422 naming ``q``. Advisory: the service holds it on its own.","example":2,"uniqueKey":"min_query_chars.oneOf.1","typeLabel":"null"}],"uniqueKey":"min_query_chars","typeLabel":"integer | null"},"filter_rules":{"oneOf":[{"type":"object","title":"Filter Rules","description":"What each route in ``scope`` holds its narrowing filters to, so a client can wait before sending a filter the service would refuse. Each route's ``min_stem`` is what this session enforces on it, and ``filter_min_stem`` is the strictest of them. The service decides; a client that ignores this learns the same from the 422.","additionalProperties":{"additionalProperties":false,"description":"What one route holds its narrowing filters to.","properties":{"min_stem":{"description":"Characters the query needs, counted as ``count`` says, before any filter in ``gated`` narrows the suggestions.","examples":[5],"title":"Min Stem","type":"integer","isRequired":true,"uniqueKey":"filter_rules.oneOf.0.additionalProperties.min_stem","typeLabel":"integer"},"count":{"description":"How the query's characters are counted: ``stem`` (letters and digits, a symbol such as ``\u0026`` counting as the word it stands for) or ``person_name`` (the spelling the people index uses, ASCII letters only). Another value may follow; one a client does not know is no reason to stop it counting its own way.","examples":["stem"],"title":"Count","type":"string","isRequired":true,"uniqueKey":"filter_rules.oneOf.0.additionalProperties.count","typeLabel":"string"},"gated":{"description":"The request parameters that wait for ``min_stem``: a request carrying one of them with a shorter query is a 422 naming ``q``, unless ``short_allowed_with`` applies.","examples":[["person.name","state"]],"items":{"type":"string","uniqueKey":"filter_rules.oneOf.0.additionalProperties.gated.items.[INDEX]","typeLabel":"string"},"title":"Gated","type":"array","isRequired":true,"uniqueKey":"filter_rules.oneOf.0.additionalProperties.gated","typeLabel":"string[]"},"short_allowed_with":{"description":"The parameters that let a non-empty query shorter than ``min_stem`` through. A necessary condition, not a promise: a request that carries one still runs only if the search can answer it, and may be refused.","examples":[["business.name"]],"items":{"type":"string","uniqueKey":"filter_rules.oneOf.0.additionalProperties.short_allowed_with.items.[INDEX]","typeLabel":"string"},"title":"Short Allowed With","type":"array","isRequired":true,"uniqueKey":"filter_rules.oneOf.0.additionalProperties.short_allowed_with","typeLabel":"string[]"}},"required":["min_stem","count","gated","short_allowed_with"],"title":"AutocompleteFilterRule","type":"object","uniqueKey":"filter_rules.oneOf.0.additionalProperties","typeLabel":"AutocompleteFilterRule · object"},"uniqueKey":"filter_rules.oneOf.0","typeLabel":"Filter Rules · object"},{"type":"null","title":"Filter Rules","description":"What each route in ``scope`` holds its narrowing filters to, so a client can wait before sending a filter the service would refuse. Each route's ``min_stem`` is what this session enforces on it, and ``filter_min_stem`` is the strictest of them. The service decides; a client that ignores this learns the same from the 422.","uniqueKey":"filter_rules.oneOf.1","typeLabel":"null"}],"uniqueKey":"filter_rules","typeLabel":"Filter Rules · object | null"}},"required":["session_token","expires_in","expires_at","request_budget","pivot_allowance","filter_min_stem","scope","sessions_per_window","sessions_per_day","user_sessions_per_window","user_sessions_per_day"],"title":"AutocompleteSessionGrantResponse (v1)","type":"object","uniqueKey":"","typeLabel":"AutocompleteSessionGrantResponse (v1) · object"},"examples":{"Example":{"title":"Example","value":{"session_token":"eyJhbGciOiJFZERTQSIsInR5cCI6ImFjczEiLCJraWQiOiJ…","expires_in":120,"expires_at":"2026-09-23T12:03:00Z","request_budget":10,"pivot_allowance":5,"filter_min_stem":5,"scope":{"routes":{"businesses":["addresses","people"]},"max_limit":20},"sessions_per_window":123,"sessions_per_day":123,"user_sessions_per_window":123,"user_sessions_per_day":123,"min_query_chars":2,"filter_rules":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"de15e5db-496f-448c-8bd7-264b0a35742b":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"38476594-5576-4e4a-8c27-16ddb75a6193":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"APIKeyHeader"}}},"servers":{"10ca874f-2381-4d12-a88d-0834bbb5a2af":{"url":"https://api.baselayer.com/"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[],"schemeName":"APIKeyHeader"},"schema":{"title":"X-API-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"APIKeyHeader","name":"X-API-Key"}],"title":"APIKeyHeader"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"baselayer-81245324","siteName":"Baselayer","title":"Mint an autocomplete session - Baselayer","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T04:02:48.467Z","originalFileLocation":"api-reference/autocomplete/mint-an-autocomplete-session.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"system\"}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=\"Mints the grant every request to the autocomplete service carries in X-Autocomplete-Session. Minting writes one Order; the keystrokes it admits write nothing. An organization mints without limit unless one is set for it, sessions_per_window per ten minutes and sessions_per_day per rolling day (each null when there is none), one pool drawn from by every caller in it; past either the mint answers 429. The grant is bound to the Origin it was minted with, expires after expires_in seconds (refresh at about 80% of it; expires_at is the same instant as a UTC timestamp, for display) and admits request_budget requests per route. A sandbox application\u0026#x27;s grant is served the sandbox\u0026#x27;s own index, and its mint writes no Order and counts against neither limit. A caller whose autocomplete.enabled override is off is answered 403; a locked organization is answered 402.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Baselayer\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-81245324/PX_ZXIXr1oHoY_hi/_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=\"/mintlify-assets/_mintlify/favicons/baselayer-81245324/PX_ZXIXr1oHoY_hi/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-81245324/PX_ZXIXr1oHoY_hi/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-81245324/PX_ZXIXr1oHoY_hi/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-81245324/PX_ZXIXr1oHoY_hi/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-81245324/PX_ZXIXr1oHoY_hi/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-81245324/PX_ZXIXr1oHoY_hi/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-81245324/PX_ZXIXr1oHoY_hi/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/baselayer-81245324/PX_ZXIXr1oHoY_hi/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Mint an autocomplete session - Baselayer\">\u003cmeta data-mint-head property=\"og:description\" content=\"Mints the grant every request to the autocomplete service carries in X-Autocomplete-Session. Minting writes one Order; the keystrokes it admits write nothing. An organization mints without limit unless one is set for it, sessions_per_window per ten minutes and sessions_per_day per rolling day (each null when there is none), one pool drawn from by every caller in it; past either the mint answers 429. The grant is bound to the Origin it was minted with, expires after expires_in seconds (refresh at about 80% of it; expires_at is the same instant as a UTC timestamp, for display) and admits request_budget requests per route. A sandbox application\u0026#x27;s grant is served the sandbox\u0026#x27;s own index, and its mint writes no Order and counts against neither limit. A caller whose autocomplete.enabled override is off is answered 403; a locked organization is answered 402.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Baselayer\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.baselayer.com/api-reference/autocomplete/mint-an-autocomplete-session\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://baselayer-81245324.mintlify.site/_mintlify/api/og/v2?division=Pre.Fill+%26+Autocomplete\u0026amp;title=Mint+an+autocomplete+session\u0026amp;description=Mints+the+grant+every+request+to+the+autocomplete+service+carries+in+%60%60X-Autocomplete-Session%60%60.+Minting+writes+one+Order%3B+the+keystrokes+it+admits+write+nothin\u0026amp;theme=8062a696da8f8e4202f95a94\u0026amp;signature=2ef9c900b45ae97ab6d3980fc4b0fc2df24e2cc9c1ecb09c4ac5d6979fcbfccd\">\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=\"Mint an autocomplete session - Baselayer\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Mints the grant every request to the autocomplete service carries in X-Autocomplete-Session. Minting writes one Order; the keystrokes it admits write nothing. An organization mints without limit unless one is set for it, sessions_per_window per ten minutes and sessions_per_day per rolling day (each null when there is none), one pool drawn from by every caller in it; past either the mint answers 429. The grant is bound to the Origin it was minted with, expires after expires_in seconds (refresh at about 80% of it; expires_at is the same instant as a UTC timestamp, for display) and admits request_budget requests per route. A sandbox application\u0026#x27;s grant is served the sandbox\u0026#x27;s own index, and its mint writes no Order and counts against neither limit. A caller whose autocomplete.enabled override is off is answered 403; a locked organization is answered 402.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://baselayer-81245324.mintlify.site/_mintlify/api/og/v2?division=Pre.Fill+%26+Autocomplete\u0026amp;title=Mint+an+autocomplete+session\u0026amp;description=Mints+the+grant+every+request+to+the+autocomplete+service+carries+in+%60%60X-Autocomplete-Session%60%60.+Minting+writes+one+Order%3B+the+keystrokes+it+admits+write+nothin\u0026amp;theme=8062a696da8f8e4202f95a94\u0026amp;signature=2ef9c900b45ae97ab6d3980fc4b0fc2df24e2cc9c1ecb09c4ac5d6979fcbfccd\">\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=\"/mintlify-assets/_mintlify/favicons/baselayer-81245324/PX_ZXIXr1oHoY_hi/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Baselayer\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#384ce3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.baselayer.com/api-reference/autocomplete/mint-an-autocomplete-session\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/autocomplete/mint-an-autocomplete-session.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.baselayer.com/#organization\",\"name\":\"Baselayer\",\"url\":\"https://docs.baselayer.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/baselayer-81245324/D2HqlyNVJCqb8u23/logo/baselayer-wordmark-white.svg?fit=max\u0026auto=format\u0026n=D2HqlyNVJCqb8u23\u0026q=85\u0026s=533e2ee556334e910d3a6d1f2f66ca6a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.baselayer.com#website\",\"name\":\"Baselayer\",\"url\":\"https://docs.baselayer.com\",\"publisher\":{\"@id\":\"https://docs.baselayer.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.baselayer.com/api-reference/autocomplete/mint-an-autocomplete-session#webpage\",\"url\":\"https://docs.baselayer.com/api-reference/autocomplete/mint-an-autocomplete-session\",\"name\":\"Mint an autocomplete session\",\"description\":\"Mints the grant every request to the autocomplete service carries in X-Autocomplete-Session. Minting writes one Order; the keystrokes it admits write nothing. An organization mints without limit unless one is set for it, sessions_per_window per ten minutes and sessions_per_day per rolling day (each null when there is none), one pool drawn from by every caller in it; past either the mint answers 429. The grant is bound to the Origin it was minted with, expires after expires_in seconds (refresh at about 80% of it; expires_at is the same instant as a UTC timestamp, for display) and admits request_budget requests per route. A sandbox application's grant is served the sandbox's own index, and its mint writes no Order and counts against neither limit. A caller whose autocomplete.enabled override is off is answered 403; a locked organization is answered 402.\",\"dateModified\":\"2026-11-11T04:02:48.467Z\",\"isPartOf\":{\"@id\":\"https://docs.baselayer.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.baselayer.com/api-reference/autocomplete/mint-an-autocomplete-session#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.baselayer.com/api-reference/autocomplete/mint-an-autocomplete-session#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Business Verification\",\"item\":\"https://docs.baselayer.com/api-reference/search/post-search\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pre.Fill \u0026 Autocomplete\",\"item\":\"https://docs.baselayer.com/api-reference/prefill/business-prefill\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Mint an autocomplete session\",\"item\":\"https://docs.baselayer.com/api-reference/autocomplete/mint-an-autocomplete-session\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.baselayer.com/api-reference/autocomplete/mint-an-autocomplete-session#apireference\",\"headline\":\"Mint an autocomplete session\",\"name\":\"Mint an autocomplete session\",\"description\":\"Mints the grant every request to the autocomplete service carries in X-Autocomplete-Session. Minting writes one Order; the keystrokes it admits write nothing. An organization mints without limit unless one is set for it, sessions_per_window per ten minutes and sessions_per_day per rolling day (each null when there is none), one pool drawn from by every caller in it; past either the mint answers 429. The grant is bound to the Origin it was minted with, expires after expires_in seconds (refresh at about 80% of it; expires_at is the same instant as a UTC timestamp, for display) and admits request_budget requests per route. A sandbox application's grant is served the sandbox's own index, and its mint writes no Order and counts against neither limit. A caller whose autocomplete.enabled override is off is answered 403; a locked organization is answered 402.\",\"url\":\"https://docs.baselayer.com/api-reference/autocomplete/mint-an-autocomplete-session\",\"mainEntityOfPage\":{\"@id\":\"https://docs.baselayer.com/api-reference/autocomplete/mint-an-autocomplete-session#webpage\"},\"dateModified\":\"2026-11-11T04:02:48.467Z\",\"publisher\":{\"@id\":\"https://docs.baselayer.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.baselayer.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Baselayer\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Baselayer\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/autocomplete/mint-an-autocomplete-session.md","siteName":"Baselayer","nav":{"global":null,"tabs":[{"tab":"Get Started","icon":"rocket","pages":[{"title":"Get Started","href":"/docs/meet-baselayer"}]},{"tab":"Verify Businesses \u0026 People","icon":"book-open","pages":[{"title":"Verify Businesses \u0026 People","href":"/docs/business-verification-basics"}]},{"tab":"Know Your Agent","icon":"robot","pages":[{"title":"Know Your Agent","href":"/docs/kya-overview"}]},{"tab":"Hosted Enrollment","icon":"id-card","pages":[{"title":"Hosted Enrollment","href":"/hosted-enrollment/overview"}]},{"tab":"MCP","icon":"plug","pages":[{"title":"MCP","href":"/docs/mcp"}]},{"tab":"API Reference","icon":"square-terminal","anchors":[{"anchor":"Businesses","icon":"building","groups":[{"group":"Business Verification","pages":[{"group":"KYB Search","pages":[{"title":"Post Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /searches","href":"/api-reference/search/post-search"},{"title":"Get Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /searches/{id}","href":"/api-reference/search/get-search"},{"title":"Get Task Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /searches/{id}/status","href":"/api-reference/search/get-task-status"},{"title":"Get Searches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /searches","href":"/api-reference/search/get-searches"},{"title":"Export Search To Pdf","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /searches/{id}/export","href":"/api-reference/search/export-search-to-pdf"}]},{"group":"Batch Search","pages":[{"title":"List search batches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /searches/batches","href":"/api-reference/search/list-search-batches"},{"title":"Get Search Batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /searches/batch/{id}","href":"/api-reference/search/get-search-batch"}]},{"group":"Reason Codes","pages":[{"title":"List every reason code","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /reason_codes","href":"/api-reference/reason-codes/list-every-reason-code"}]},{"group":"Business Information","pages":[{"title":"Get Business","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /businesses/{id}","href":"/api-reference/business/get-business"},{"title":"Get Business Officers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /businesses/{id}/officers","href":"/api-reference/business/get-business-officers"},{"title":"Get Business Registrations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /businesses/{id}/registrations","href":"/api-reference/business/get-business-registrations"},{"title":"Get Business Application History","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /businesses/{id}/applications","href":"/api-reference/business/get-business-application-history"},{"title":"Get Business Searches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /businesses/{id}/searches","href":"/api-reference/business/get-business-searches"},{"title":"Get Business Search Combinations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /businesses/{id}/search_combinations","href":"/api-reference/business/get-business-search-combinations"},{"title":"Get Registration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /registrations/{id}","href":"/api-reference/business/get-registration"},{"title":"Get Address","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /addresses/{address_id}","href":"/api-reference/address/get-address"},{"title":"Get Exclusions For Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /businesses/{id}/exclusions","href":"/api-reference/exclusions/get-exclusions-for-search"}]},{"group":"TIN Verification","pages":[{"title":"Submit Tin Verification","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /tin_verifications","href":"/api-reference/tin-verification/submit-tin-verification"},{"title":"Get Tin Verification","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tin_verifications/{id}","href":"/api-reference/tin-verification/get-tin-verification"},{"title":"List Tin Verifications","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tin_verifications","href":"/api-reference/tin-verification/list-tin-verifications"}]},{"group":"OFAC Batch Screening","pages":[{"title":"Post Ofac Batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /ofac/searches/batches","href":"/api-reference/ofac/post-ofac-batch"},{"title":"Get Ofac Batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /ofac/searches/batches/{batch_id}","href":"/api-reference/ofac/get-ofac-batch"},{"title":"List Ofac Batches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /ofac/searches/batches","href":"/api-reference/ofac/list-ofac-batches"},{"title":"Get Ofac Batch File","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /ofac/searches/batches/{batch_id}/download","href":"/api-reference/ofac/get-ofac-batch-file"}]},{"group":"Consortium","pages":[{"title":"Search Consortium","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /consortium/searches","href":"/api-reference/consortium/search-consortium"},{"title":"Post Consortium Search Batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /consortium/searches/batches","href":"/api-reference/consortium/post-consortium-search-batch"},{"title":"Post Submission","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /consortium/submissions","href":"/api-reference/consortium/post-submission"},{"title":"Get Consortium Search Batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /consortium/searches/batches/{batch_id}","href":"/api-reference/consortium/get-consortium-search-batch"},{"title":"Get Submissions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /consortium/submissions","href":"/api-reference/consortium/get-submissions"},{"title":"Download Consortium Search Results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /consortium/searches/batches/{batch_id}/download","href":"/api-reference/consortium/download-consortium-search-results"},{"title":"Download Submission","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /consortium/submissions/{submission_id}/download","href":"/api-reference/consortium/download-submission"}]},{"group":"International KYB","pages":[{"title":"Post International Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /international/searches","href":"/api-reference/international/post-international-search"},{"title":"Get International Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /international/searches/{id}","href":"/api-reference/international/get-international-search"},{"title":"Get International Searches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /international/searches","href":"/api-reference/international/get-international-searches"},{"title":"Search International Registrations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /international/registrations","href":"/api-reference/international/search-international-registrations"},{"title":"List International Countries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /international/countries","href":"/api-reference/international/list-international-countries"}]},{"group":"Pre.Fill \u0026 Autocomplete","pages":[{"title":"Business Prefill","description":"Prefill businesses by searching officer names.\nBusiness name is optional and used only for matching comparison in the response.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /prefill/businesses","href":"/api-reference/prefill/business-prefill"},{"title":"Mint an autocomplete session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /autocomplete/sessions","href":"/api-reference/autocomplete/mint-an-autocomplete-session"},{"title":"Autocomplete","description":"Suggest businesses matching a partial name, for typeahead UIs.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /autocomplete","href":"/api-reference/business-autocomplete/autocomplete"}]}]},{"group":"Liens","pages":[{"group":"Business Lien Search","pages":[{"title":"Start Liens Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /lien_searches","href":"/api-reference/lien-search/start-liens-search"},{"title":"Get All Lien Searches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_searches","href":"/api-reference/lien-search/get-all-lien-searches"},{"title":"Get Liens Search Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_searches/{liens_search_request_id}/status","href":"/api-reference/lien-search/get-liens-search-status"},{"title":"Get Liens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_searches/{liens_search_request_id}","href":"/api-reference/lien-search/get-liens"},{"title":"Get Lien Filing Documents","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_searches/{liens_search_request_id}/filings/{filing_id}","href":"/api-reference/lien-search/get-lien-filing-documents"}]},{"group":"Adhoc Lien Search","pages":[{"title":"Start Liens Adhoc Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /lien_searches/adhoc","href":"/api-reference/lien-search/start-liens-adhoc-search"},{"title":"Get Adhoc Lien Searches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_searches/adhoc","href":"/api-reference/lien-search/get-adhoc-lien-searches"},{"title":"Get Adhoc Liens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_searches/adhoc/{liens_search_request_id}","href":"/api-reference/lien-search/get-adhoc-liens"}]},{"group":"Lien Filing","expanded":false,"pages":[{"title":"Create New Ucc1 Lien Filing Submission For Business","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /businesses/{business_id}/lien_submissions","href":"/api-reference/lien-filing/create-new-ucc1-lien-filing-submission-for-business"},{"title":"Create New Standalone Ucc1 Lien Filing Submission","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /lien_submissions","href":"/api-reference/lien-filing/create-new-standalone-ucc1-lien-filing-submission"},{"title":"Import Lien Filing Submission","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /lien_submissions/import","href":"/api-reference/lien-filing/import-lien-filing-submission"},{"title":"Import Lien Filings In Bulk","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /lien_submissions/import/batches","href":"/api-reference/lien-filing/import-lien-filings-in-bulk"},{"title":"Lookup Initial Filing For Amendment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /lien_submissions/initial_filing_lookup","href":"/api-reference/lien-filing/lookup-initial-filing-for-amendment"},{"title":"Create New Ucc3 Lien Filing Submission","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /lien_submissions/{filing_id}/amend","href":"/api-reference/lien-filing/create-new-ucc3-lien-filing-submission"},{"title":"Upload Lien Submission Attachment Item Attachment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /lien_submissions/{filing_id}/attachments","href":"/api-reference/lien-filing/upload-lien-submission-attachment-item-attachment"},{"title":"Cancel Lien Filing Submission","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /lien_submissions/{filing_id}/cancel","href":"/api-reference/lien-filing/cancel-lien-filing-submission"},{"title":"Submit Lien Filing Submission","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /lien_submissions/{filing_id}/submit","href":"/api-reference/lien-filing/submit-lien-filing-submission"},{"title":"Create New Ucc1 Lien Filing Submission For Person","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /people/{person_id}/lien_submissions","href":"/api-reference/lien-filing/create-new-ucc1-lien-filing-submission-for-person"},{"title":"Get Lien Filing Submissions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_submissions","href":"/api-reference/lien-filing/get-lien-filing-submissions"},{"title":"List Lien Filing Import Batches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_submissions/import/batches","href":"/api-reference/lien-filing/list-lien-filing-import-batches"},{"title":"Get Lien Filing Import Batch","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_submissions/import/batches/{batch_id}","href":"/api-reference/lien-filing/get-lien-filing-import-batch"},{"title":"Download Lien Filing Import Batch Results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_submissions/import/batches/{batch_id}/download","href":"/api-reference/lien-filing/download-lien-filing-import-batch-results"},{"title":"Fetch Existing Lien Filing","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_submissions/{filing_id}","href":"/api-reference/lien-filing/fetch-existing-lien-filing"},{"title":"Get Lien Submission Attachments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_submissions/{filing_id}/attachments","href":"/api-reference/lien-filing/get-lien-submission-attachments"},{"title":"Get Lien Submission Attachment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_submissions/{filing_id}/attachments/{attachment_id}","href":"/api-reference/lien-filing/get-lien-submission-attachment"},{"title":"Get Lien Submission Filed Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_submissions/{filing_id}/filed_document","href":"/api-reference/lien-filing/get-lien-submission-filed-document"},{"title":"Get Lien Submission Preview Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_submissions/{filing_id}/preview_document","href":"/api-reference/lien-filing/get-lien-submission-preview-document"},{"title":"Get Lien Submission Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /lien_submissions/{filing_id}/submission_document","href":"/api-reference/lien-filing/get-lien-submission-document"},{"title":"Patch Existing Lien Filing Submission","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /lien_submissions/{filing_id}","href":"/api-reference/lien-filing/patch-existing-lien-filing-submission"},{"title":"Delete Lien Filing Submission","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /lien_submissions/{filing_id}","href":"/api-reference/lien-filing/delete-lien-filing-submission"},{"title":"Delete Lien Submission Attachment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /lien_submissions/{filing_id}/attachments/{attachment_id}","href":"/api-reference/lien-filing/delete-lien-submission-attachment"}]}]},{"group":"Litigations","pages":[{"group":"Business Docket Search","pages":[{"title":"Start Docket Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /docket_searches","href":"/api-reference/litigation-\u0026-bankruptcy/start-docket-search"},{"title":"Get All Docket Searches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /docket_searches","href":"/api-reference/litigation-\u0026-bankruptcy/get-all-docket-searches"},{"title":"Get Docket Search Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /docket_searches/{search_request_id}/status","href":"/api-reference/litigation-\u0026-bankruptcy/get-docket-search-status"},{"title":"Get All Dockets By Search Request Id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /docket_searches/{search_request_id}","href":"/api-reference/litigation-\u0026-bankruptcy/get-all-dockets-by-search-request-id"}]},{"group":"Adhoc Docket Search","pages":[{"title":"Start Docket Adhoc Search","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /docket_searches/adhoc","href":"/api-reference/litigation-\u0026-bankruptcy/start-docket-adhoc-search"},{"title":"Get Adhoc Docket Searches","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /docket_searches/adhoc","href":"/api-reference/litigation-\u0026-bankruptcy/get-adhoc-docket-searches"},{"title":"Get Adhoc Docket Search By Search Request Id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /docket_searches/adhoc/{search_request_id}","href":"/api-reference/litigation-\u0026-bankruptcy/get-adhoc-docket-search-by-search-request-id"}]},{"group":"Docket Details","pages":[{"title":"Order Docket Details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /dockets/{docket_id}/details","href":"/api-reference/litigation-\u0026-bankruptcy/order-docket-details"},{"title":"Get Docket Details Request Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /docket_searches/details/{docket_details_request_id}/status","href":"/api-reference/litigation-\u0026-bankruptcy/get-docket-details-request-status"},{"title":"Get Docket Details","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /dockets/{docket_id}/details","href":"/api-reference/litigation-\u0026-bankruptcy/get-docket-details"},{"title":"Get Docket Details By Request Id","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /docket_searches/details/{docket_details_request_id}","href":"/api-reference/litigation-\u0026-bankruptcy/get-docket-details-by-request-id"}]},{"group":"Docket Exhibits","pages":[{"title":"Order Docket Exhibit","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /dockets/exhibits/{docket_exhibit_id}","href":"/api-reference/litigation-\u0026-bankruptcy/order-docket-exhibit"},{"title":"Get Docket Exhibit Request Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /docket_searches/exhibits/{docket_exhibit_request_id}/status","href":"/api-reference/litigation-\u0026-bankruptcy/get-docket-exhibit-request-status"},{"title":"Get Docket Exhibit Document","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /dockets/exhibits/{docket_exhibit_id}","href":"/api-reference/litigation-\u0026-bankruptcy/get-docket-exhibit-document"}]}]},{"group":"Online","pages":[{"group":"Web Presence","pages":[{"title":"Post Web Presence Request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /web_presence_requests","href":"/api-reference/web-presence/post-web-presence-request"},{"title":"Get Web Presence Request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /web_presence_requests/{id}","href":"/api-reference/web-presence/get-web-presence-request"},{"title":"List Web Presence Requests","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /web_presence_requests","href":"/api-reference/web-presence/list-web-presence-requests"}]},{"group":"Website Analysis","pages":[{"title":"Post Website Analysis","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /website_analysis_requests","href":"/api-reference/website-analysis/post-website-analysis"},{"title":"Get Website Analysis Request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /website_analysis_requests/{id}","href":"/api-reference/website-analysis/get-website-analysis-request"},{"title":"Get Website Analysis Requests","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /website_analysis_requests","href":"/api-reference/website-analysis/get-website-analysis-requests"},{"title":"Get Website Analysis Screenshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /website_analysis/{id}/screenshot","href":"/api-reference/website-analysis/get-website-analysis-screenshot"}]},{"group":"Industry Prediction","pages":[{"title":"Post Naics Prediction Request","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /naics_prediction_requests","href":"/api-reference/industry-prediction/post-naics-prediction-request"},{"title":"Get Industry Prediction","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /naics_prediction_requests/{id}","href":"/api-reference/industry-prediction/get-industry-prediction"},{"title":"Get Industry Prediction Status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /naics_prediction_requests/{id}/status","href":"/api-reference/industry-prediction/get-industry-prediction-status"}]}]},{"group":"Portfolio Monitoring","expanded":false,"pages":[{"group":"Items","pages":[{"title":"Create Portfolio Item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /portfolio/items","href":"/api-reference/portfolio-monitoring/create-portfolio-item"},{"title":"Create Portfolio Items Bulk","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /portfolio/items/bulk","href":"/api-reference/portfolio-monitoring/create-portfolio-items-bulk"},{"title":"Get Portfolio Items","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/items","href":"/api-reference/portfolio-monitoring/get-portfolio-items"},{"title":"Get Portfolio Item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/items/{item_id}","href":"/api-reference/portfolio-monitoring/get-portfolio-item"},{"title":"Update Portfolio Item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /portfolio/items/{item_id}","href":"/api-reference/portfolio-monitoring/update-portfolio-item"},{"title":"Delete Portfolio Item","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /portfolio/items/{item_id}","href":"/api-reference/portfolio-monitoring/delete-portfolio-item"}]},{"group":"Groups","pages":[{"title":"Create Portfolio Group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /portfolio/groups","href":"/api-reference/portfolio-monitoring/create-portfolio-group"},{"title":"Get Portfolio Groups","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/groups","href":"/api-reference/portfolio-monitoring/get-portfolio-groups"},{"title":"Get Portfolio Group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/groups/{group_id}","href":"/api-reference/portfolio-monitoring/get-portfolio-group"},{"title":"Get Portfolio Group Items","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/groups/{group_id}/items","href":"/api-reference/portfolio-monitoring/get-portfolio-group-items"},{"title":"Update Portfolio Group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /portfolio/groups/{group_id}","href":"/api-reference/portfolio-monitoring/update-portfolio-group"},{"title":"Delete Portfolio Group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /portfolio/groups/{group_id}","href":"/api-reference/portfolio-monitoring/delete-portfolio-group"}]},{"group":"Monitoring Policies","pages":[{"group":"Available Policies","pages":[{"title":"Get Monitoring Policies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /monitoring_policies","href":"/api-reference/portfolio-monitoring/get-monitoring-policies"}]},{"group":"Portfolio","pages":[{"title":"Get Portfolio Monitoring Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/monitoring_policy","href":"/api-reference/portfolio-monitoring/get-portfolio-monitoring-policy"},{"title":"Update Portfolio Monitoring Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /portfolio/monitoring_policy","href":"/api-reference/portfolio-monitoring/update-portfolio-monitoring-policy"}]},{"group":"Group","pages":[{"title":"Get Portfolio Group Monitoring Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/groups/{group_id}/monitoring_policy","href":"/api-reference/portfolio-monitoring/get-portfolio-group-monitoring-policy"},{"title":"Update Portfolio Group Monitoring Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /portfolio/groups/{group_id}/monitoring_policy","href":"/api-reference/portfolio-monitoring/update-portfolio-group-monitoring-policy"},{"title":"Delete Portfolio Group Monitoring Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /portfolio/groups/{group_id}/monitoring_policy","href":"/api-reference/portfolio-monitoring/delete-portfolio-group-monitoring-policy"}]},{"group":"Item","pages":[{"title":"Get Portfolio Item Monitoring Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/items/{item_id}/monitoring_policy","href":"/api-reference/portfolio-monitoring/get-portfolio-item-monitoring-policy"},{"title":"Update Portfolio Item Monitoring Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /portfolio/items/{item_id}/monitoring_policy","href":"/api-reference/portfolio-monitoring/update-portfolio-item-monitoring-policy"},{"title":"Delete Portfolio Item Monitoring Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /portfolio/items/{item_id}/monitoring_policy","href":"/api-reference/portfolio-monitoring/delete-portfolio-item-monitoring-policy"}]}]},{"group":"Notification Policies","pages":[{"group":"Policy Definitions","pages":[{"title":"Get Notification Policies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /notification_policies","href":"/api-reference/portfolio-monitoring/get-notification-policies"},{"title":"Get Notification Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /notification_policies/{notification_policy_id}","href":"/api-reference/portfolio-monitoring/get-notification-policy"},{"title":"Update Notification Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /notification_policies/{notification_policy_id}","href":"/api-reference/portfolio-monitoring/update-notification-policy"},{"title":"Delete Notification Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /notification_policies/{notification_policy_id}","href":"/api-reference/portfolio-monitoring/delete-notification-policy"}]},{"group":"Portfolio","pages":[{"title":"Create Portfolio Notification Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /portfolio/notification_policies","href":"/api-reference/portfolio-monitoring/create-portfolio-notification-policy"},{"title":"Get Portfolio Notification Policies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/notification_policies","href":"/api-reference/portfolio-monitoring/get-portfolio-notification-policies"}]},{"group":"Group","pages":[{"title":"Create Portfolio Group Notification Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /portfolio/groups/{group_id}/notification_policies","href":"/api-reference/portfolio-monitoring/create-portfolio-group-notification-policy"},{"title":"Get Portfolio Group Notification Policies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/groups/{group_id}/notification_policies","href":"/api-reference/portfolio-monitoring/get-portfolio-group-notification-policies"}]},{"group":"Item","pages":[{"title":"Create Portfolio Item Notification Policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /portfolio/items/{item_id}/notification_policies","href":"/api-reference/portfolio-monitoring/create-portfolio-item-notification-policy"},{"title":"Get Portfolio Item Notification Policies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/items/{item_id}/notification_policies","href":"/api-reference/portfolio-monitoring/get-portfolio-item-notification-policies"}]}]},{"group":"Updates \u0026 Notifications","pages":[{"title":"Get Portfolio Group Updates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/groups/{group_id}/updates","href":"/api-reference/portfolio-monitoring/get-portfolio-group-updates"},{"title":"Get Portfolio Item Changes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/items/{item_id}/changes","href":"/api-reference/portfolio-monitoring/get-portfolio-item-changes"},{"title":"Get Portfolio Item Notifications","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/items/{item_id}/notifications","href":"/api-reference/portfolio-monitoring/get-portfolio-item-notifications"},{"title":"Get Portfolio Item Updates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/items/{item_id}/updates","href":"/api-reference/portfolio-monitoring/get-portfolio-item-updates"},{"title":"Get Portfolio Updates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/updates","href":"/api-reference/portfolio-monitoring/get-portfolio-updates"}]},{"group":"Snapshots","pages":[{"title":"Get Portfolio Item Snapshot Diff","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/items/{item_id}/diff","href":"/api-reference/portfolio-monitoring/get-portfolio-item-snapshot-diff"},{"title":"Get Portfolio Item Snapshots","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/items/{item_id}/snapshots","href":"/api-reference/portfolio-monitoring/get-portfolio-item-snapshots"},{"title":"Get Portfolio Item Snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /portfolio/items/{item_id}/snapshots/{snapshot_id}","href":"/api-reference/portfolio-monitoring/get-portfolio-item-snapshot"}]}]}]},{"anchor":"People","icon":"user","pages":[{"title":"People","href":"/api-reference/people/create-person"}]},{"anchor":"Know Your Agent","icon":"robot","pages":[{"title":"Know Your Agent","href":"/api-reference/credentials/mint-a-credential-for-a-person-or-a-business-operator"}]},{"anchor":"Admin","icon":"gear","pages":[{"title":"Admin","href":"/api-reference/organization-management/create-organization-for-federation"}]},{"anchor":"Webhooks","icon":"webhook","pages":[{"title":"Webhooks","href":"/api-reference/webhook-management/create-webhook-endpoint"}]}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog/kyb-score-settings-unknown-status-and-missing-address"}]}]},"basePath":"","title":"Mint an autocomplete session - Baselayer","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js","Markdown-CwLx6PAg.js","clsx-C3kuh_dz.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CmKHfscc.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-U3mI6Ljh.js"]}