Polling is the default way to retrieve analysis results from the Resistant Documents API. After you create a submission and upload the file, your system repeatedly calls the relevant result endpoint(s) until processing completes.
When to use polling
Polling is recommended when you want:
the simplest implementation (no additional infrastructure)
predictable integration behavior
full control over retry and timeout logic
If you want an event-driven integration, see:
Amazon SQS event notifications (optional)
Webhooks via Svix (optional)
What endpoints are polled
Poll the endpoint(s) that correspond to the pipeline features you use:
Fraud: GET /v2/submission/{submission_id}/fraud
Quality: GET /v2/submission/{submission_id}/quality
Classification: GET /v2/submission/{submission_id}/classification
Adaptive Decision: GET /v2/submission/{submission_id}/decision
Report: GET /v2/submission/{submission_id}/report
Your polling should be scoped to the endpoints you actually consume. Don’t poll endpoints you don’t need.
Recommended polling strategy
Exponential backoff (required)
Use exponential backoff to avoid unnecessary load on the API.Recommended behavior:
start with a short delay
increase delay exponentially
add jitter to prevent synchronized client bursts
cap the delay at 45 seconds
import time, randomdef poll_fraud_result(submission_id, token, max_retries=20): base_delay = 1 # seconds max_delay = 900 # 15 minutes hard cap for attempt in range(max_retries): response = requests.get( f"https://api.documents.resistant.ai/v2/submission/{submission_id}/fraud", headers={"Authorization": f"Bearer {token}"} ) if response.status_code == 200: return response.json() elif response.status_code == 404: # Not ready yet delay = min(base_delay * (2 ** attempt) + random.uniform(0, 1), max_delay) time.sleep(delay) else: response.raise_for_status() raise TimeoutError("Max polling retries exceeded")
Recommended Polling Intervals
Document volume
Initial delay
Max delay
Low (<10/min)
3–5 seconds
30 seconds
Medium (10–100/min)
2–3 seconds
20 seconds
High (>100/min)
Switch to SQS or Webhooks
—
Hard analysis timeout (15 minutes)
Stop polling after 15 minutes. Treat this as a hard upper bound for analysis completion and fail gracefully (log and surface an actionable error).
How to detect “completion”
Result endpoints return a response with a status field. Your integration should treat these as terminal states:
SUCCESS → results available
FAILED → processing failed
INVALID_INPUT → input could not be processed
SKIPPED → processing step did not run (e.g., not enabled)
For each endpoint, handle terminal states consistently and avoid infinite loops.
Handling errors and retries
429 Too Many Requests
If you receive 429, you are being throttled. Recommended behavior:
increase delay (apply backoff)
add jitter
avoid parallel polling bursts across many submissions
5xx server errors
If you receive transient 5xx errors:
retry with backoff
log request/response metadata (submission_id, timestamp, endpoint, status code)
4xx client errors
Most 4xx errors are not retriable (except 429). Treat them as failures and fix the request.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Documentation","colors":{"primary":"#5890FE","light":"#98B5EB","dark":"#1B2556"},"logo":{"light":"https://mintcdn.com/resistantai/kBNVB9KZmz_Sil9l/logo/dark.svg?fit=max\u0026auto=format\u0026n=kBNVB9KZmz_Sil9l\u0026q=85\u0026s=527885b3a41aa2741b41c452ab420a74","dark":"https://mintcdn.com/resistantai/kBNVB9KZmz_Sil9l/logo/light.svg?fit=max\u0026auto=format\u0026n=kBNVB9KZmz_Sil9l\u0026q=85\u0026s=ef2c740fa125cb64ca4b7ebe41bbccf6","href":"https://resistant.ai"},"favicon":"https://mintcdn.com/resistantai/D5OIGucA_1iVDM89/logo/favicon.png?fit=max\u0026auto=format\u0026n=D5OIGucA_1iVDM89\u0026q=85\u0026s=9abb4580ccb8152e551ac34ada3e83d1","footer":{"socials":{"linkedin":"https://www.linkedin.com/company/resistant-ai","website":"https://resistant.ai/"}},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"resistantai","hasAudioNarration":false,"actualSubdomain":"resistantai","customDomains":["developers.resistant.ai"],"gitSource":{"type":"gitlab","owner":"bulletproof-ai/product/docs","repo":"developer-portal","deployBranch":"main","contentDirectory":"","isPrivate":true,"projectId":79752642,"mountPath":"","label":"","_id":"6af18ea3ee06d45cdd828e37"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b003f696c736afc68456b30","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":150},{"language":"default","tag":"Resistant Documents API","count":104},{"language":"default","tag":"Docs","count":37},{"language":"default","tag":"Tenant Management API","count":14},{"language":"default","tag":"View results in Resistant UI","count":13},{"language":"default","tag":"Testing","count":12},{"language":"default","tag":"AP-2","count":11},{"language":"default","tag":"AP-3","count":11},{"language":"default","tag":"CA-1","count":11},{"language":"default","tag":"EU","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"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":false},"customCss":[]}
{"page":{"pagePath":"receiving-results/polling","slug":"/receiving-results/polling","pageMetadata":{"title":"Polling ","icon":"square-poll-horizontal","description":null,"href":"/receiving-results/polling"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={blockquote:`blockquote`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Polling is the default way to retrieve analysis results from the Resistant Documents API. After you create a submission and upload the file, your system repeatedly calls the relevant result endpoint(s) until processing completes.`}),`\n`,_jsx(Heading,{level:`2`,id:`when-to-use-polling`,children:`When to use polling`}),`\n`,_jsx(_components.p,{children:`Polling is recommended when you want:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`the simplest implementation (no additional infrastructure)`}),`\n`,_jsx(_components.li,{children:`predictable integration behavior`}),`\n`,_jsx(_components.li,{children:`full control over retry and timeout logic`}),`\n`]}),`\n`,_jsx(_components.p,{children:`If you want an event-driven integration, see:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Amazon SQS event notifications (optional)`}),`\n`,_jsx(_components.li,{children:`Webhooks via Svix (optional)`}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`what-endpoints-are-polled`,children:`What endpoints are polled`}),`\n`,_jsx(_components.p,{children:`Poll the endpoint(s) that correspond to the pipeline features you use:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Fraud: `,_jsx(_components.code,{children:`GET /v2/submission/{submission_id}/fraud`})]}),`\n`,_jsxs(_components.li,{children:[`Quality: `,_jsx(_components.code,{children:`GET /v2/submission/{submission_id}/quality`})]}),`\n`,_jsxs(_components.li,{children:[`Classification: `,_jsx(_components.code,{children:`GET /v2/submission/{submission_id}/classification`})]}),`\n`,_jsxs(_components.li,{children:[`Adaptive Decision: `,_jsx(_components.code,{children:`GET /v2/submission/{submission_id}/decision`})]}),`\n`,_jsxs(_components.li,{children:[`Report: `,_jsx(_components.code,{children:`GET /v2/submission/{submission_id}/report`})]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Your polling should be scoped to the endpoints you actually consume. Don’t poll endpoints you don’t need.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`recommended-polling-strategy`,children:`Recommended polling strategy`}),`\n`,_jsx(Heading,{level:`3`,id:`exponential-backoff-required`,children:`Exponential backoff (required)`}),`\n`,_jsx(_components.p,{children:`Use exponential backoff to avoid unnecessary load on the API.`}),`\n`,_jsx(_components.p,{children:`Recommended behavior:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`start with a short delay`}),`\n`,_jsx(_components.li,{children:`increase delay exponentially`}),`\n`,_jsx(_components.li,{children:`add jitter to prevent synchronized client bursts`}),`\n`,_jsxs(_components.li,{children:[`cap the delay at `,_jsx(_components.strong,{children:`45 seconds`})]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` time, random`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` poll_fraud_result`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`submission_id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`token`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`max_retries`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`20`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` base_delay `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # seconds`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` max_delay `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 900`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # 15 minutes hard cap`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` attempt `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` range`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(max_retries):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.documents.resistant.ai/v2/submission/`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`submission_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/fraud\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Bearer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.status_code `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`==`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` elif`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.status_code `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`==`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 404`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Not ready yet`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` delay `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` min`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(base_delay `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`*`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` **`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` attempt) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`+`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` random.uniform(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), max_delay)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` time.sleep(delay)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` else`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.raise_for_status()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` raise`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` TimeoutError`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Max polling retries exceeded\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Recommended Polling Intervals`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Document volume`}),_jsx(_components.th,{children:`Initial delay`}),_jsx(_components.th,{children:`Max delay`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Low (\u003c10/min)`}),_jsx(_components.td,{children:`3–5 seconds`}),_jsx(_components.td,{children:`30 seconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Medium (10–100/min)`}),_jsx(_components.td,{children:`2–3 seconds`}),_jsx(_components.td,{children:`20 seconds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`High (>100/min)`}),_jsx(_components.td,{children:`Switch to SQS or Webhooks`}),_jsx(_components.td,{children:`—`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`hard-analysis-timeout-15-minutes`,children:`Hard analysis timeout (15 minutes)`}),`\n`,_jsxs(_components.p,{children:[`Stop polling after `,_jsx(_components.strong,{children:`15 minutes`}),`. Treat this as a hard upper bound for analysis completion and fail gracefully (log and surface an actionable error).`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`how-to-detect-“completion”`,children:`How to detect “completion”`}),`\n`,_jsx(_components.p,{children:`Result endpoints return a response with a status field. Your integration should treat these as terminal states:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUCCESS`}),` → results available`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FAILED`}),` → processing failed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INVALID_INPUT`}),` → input could not be processed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SKIPPED`}),` → processing step did not run (e.g., not enabled)`]}),`\n`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`For each endpoint, handle terminal states consistently and avoid infinite loops.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`handling-errors-and-retries`,children:`Handling errors and retries`}),`\n`,_jsx(Heading,{level:`3`,id:`429-too-many-requests`,children:`429 Too Many Requests`}),`\n`,_jsx(_components.p,{children:`If you receive 429, you are being throttled. Recommended behavior:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`increase delay (apply backoff)`}),`\n`,_jsx(_components.li,{children:`add jitter`}),`\n`,_jsx(_components.li,{children:`avoid parallel polling bursts across many submissions`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`5xx-server-errors`,children:`5xx server errors`}),`\n`,_jsx(_components.p,{children:`If you receive transient 5xx errors:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`retry with backoff`}),`\n`,_jsx(_components.li,{children:`log request/response metadata (submission_id, timestamp, endpoint, status code)`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`4xx-client-errors`,children:`4xx client errors`}),`\n`,_jsx(_components.p,{children:`Most 4xx errors are not retriable (except 429). Treat them as failures and fix the request.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Polling ","icon":"square-poll-horizontal","description":null,"href":"/receiving-results/polling"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"When to use polling","slug":"when-to-use-polling","depth":2,"children":[]},{"title":"What endpoints are polled","slug":"what-endpoints-are-polled","depth":2,"children":[]},{"title":"Recommended polling strategy","slug":"recommended-polling-strategy","depth":2,"children":[{"title":"Exponential backoff (required)","slug":"exponential-backoff-required","depth":3,"children":[]},{"title":"Hard analysis timeout (15 minutes)","slug":"hard-analysis-timeout-15-minutes","depth":3,"children":[]}]},{"title":"How to detect “completion”","slug":"how-to-detect-“completion”","depth":2,"children":[]},{"title":"Handling errors and retries","slug":"handling-errors-and-retries","depth":2,"children":[{"title":"429 Too Many Requests","slug":"429-too-many-requests","depth":3,"children":[]},{"title":"5xx server errors","slug":"5xx-server-errors","depth":3,"children":[]},{"title":"4xx client errors","slug":"4xx-client-errors","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"resistantai","siteName":"Documentation","title":"Polling - Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T12:39:26.034Z","originalFileLocation":"receiving-results/polling.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=\"application-name\" content=\"Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_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/resistantai/aZPFi4_lVYJpbr4u/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Polling - Documentation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.resistant.ai/receiving-results/polling\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://resistantai.mintlify.site/_mintlify/api/og/v2?division=Receiving+results\u0026amp;title=Polling+\u0026amp;theme=f79165ce1e760ee331e0c96d\u0026amp;signature=8eb816f40c3c04e49d67d52e3bea1a557c6a763f554bea80eb5dde9417e0960b\">\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=\"Polling - Documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://resistantai.mintlify.site/_mintlify/api/og/v2?division=Receiving+results\u0026amp;title=Polling+\u0026amp;theme=f79165ce1e760ee331e0c96d\u0026amp;signature=8eb816f40c3c04e49d67d52e3bea1a557c6a763f554bea80eb5dde9417e0960b\">\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/resistantai/aZPFi4_lVYJpbr4u/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5890FE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.resistant.ai/receiving-results/polling\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/receiving-results/polling.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.resistant.ai/#organization\",\"name\":\"Documentation\",\"url\":\"https://developers.resistant.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/resistantai/kBNVB9KZmz_Sil9l/logo/dark.svg?fit=max\u0026auto=format\u0026n=kBNVB9KZmz_Sil9l\u0026q=85\u0026s=527885b3a41aa2741b41c452ab420a74\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.resistant.ai#website\",\"name\":\"Documentation\",\"url\":\"https://developers.resistant.ai\",\"publisher\":{\"@id\":\"https://developers.resistant.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.resistant.ai/receiving-results/polling#webpage\",\"url\":\"https://developers.resistant.ai/receiving-results/polling\",\"name\":\"Polling \",\"dateModified\":\"2026-11-20T12:39:26.034Z\",\"isPartOf\":{\"@id\":\"https://developers.resistant.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developers.resistant.ai/receiving-results/polling#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.resistant.ai/receiving-results/polling#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Receiving results\",\"item\":\"https://developers.resistant.ai/receiving-results/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Polling \",\"item\":\"https://developers.resistant.ai/receiving-results/polling\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developers.resistant.ai/receiving-results/polling#article\",\"headline\":\"Polling \",\"name\":\"Polling \",\"url\":\"https://developers.resistant.ai/receiving-results/polling\",\"mainEntityOfPage\":{\"@id\":\"https://developers.resistant.ai/receiving-results/polling#webpage\"},\"dateModified\":\"2026-11-20T12:39:26.034Z\",\"publisher\":{\"@id\":\"https://developers.resistant.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.resistant.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/receiving-results/polling.md","siteName":"Documentation","nav":{"global":null,"products":[{"product":"Resistant Documents API","color":{"light":"#5890FE","dark":"#5890FE"},"tabs":[{"tab":"Docs","groups":[{"group":"Getting started","pages":[{"title":"About Resistant Documents","icon":"book-copy","href":"/getting-started/about"},{"title":"Concepts","icon":"pen","href":"/getting-started/concepts"},{"title":"Authentication","icon":"key-skeleton","href":"/getting-started/authentication"},{"title":"Getting an access token","icon":"lock-open","href":"/getting-started/getting-access-token"},{"title":"Quickstart API","icon":"diagram-sankey","href":"/getting-started/quickstart-api"},{"title":"Authentication","hidden":true,"mode":"default","href":"/authentification"},{"title":"Authentication","hidden":true,"mode":"default","href":"/authentification"},{"title":"Domains to allowlist","icon":"check-double","href":"/getting-started/domains-to-allowlist"}]},{"group":"Integrate","pages":[{"title":"Core integration mechanics","icon":"book-bookmark","href":"/integrate/core-integration"},{"title":"Integration journeys","icon":"route","href":"/integrate/integration-journeys"},{"title":"Integration best practices","icon":"lightbulb","href":"/integrate/best-practices"},{"title":"Optional API capabilities","icon":"page","href":"/integrate/optional-features"},{"title":"Adaptive Decision","icon":"pen","href":"/integrate/adaptive-decision"},{"title":"Document classification","icon":"tags","href":"/document-classification"},{"title":"Downloadable PDF report","icon":"page","href":"/integrate/pdf-report"},{"group":"Optional features","pages":[{"title":"Submission characteristics","icon":"page","href":"/optional-features/submission-characteristics"},{"title":"Payload encryption","icon":"lock","href":"/optional-features/payload-encryption"},{"title":"Document tags","icon":"tags","href":"/optional-features/document-tags"}]}]},{"group":"Receiving results","pages":[{"title":"Overview","icon":"arrow-down-to-square","description":null,"href":"/receiving-results/overview"},{"title":"Polling ","icon":"square-poll-horizontal","href":"/receiving-results/polling"},{"title":"Amazon SQS ","icon":"bell","description":null,"href":"/receiving-results/amazon-sqs"},{"title":"Webhooks (Svix)","icon":"webhook","href":"/receiving-results/webhooks"},{"title":"Webhooks (Svix) - version with all endpoints","icon":"webhook","hidden":true,"href":"/receiving-results/webhooks-old-full"}]},{"group":"View results in Resistant UI","pages":[{"title":"UI overview","icon":"file","href":"/view-results/overview"},{"group":"Web UI","pages":[{"title":"Accessing the Web UI","icon":"file-dashed-line","href":"/view-results/web-ui/access"},{"title":"Authentication options","icon":"file-dashed-line","href":"/view-results/web-ui/authentication-options"},{"title":"SSO setup (SAML 2.0)","icon":"file-dashed-line","href":"/view-results/web-ui/sso-saml"},{"title":"SSO setup (OIDC)","icon":"file-dashed-line","href":"/view-results/web-ui/sso-oidc"},{"title":"SSO setup with MS Entra ID (SAML)","icon":"file-dashed-line","href":"/view-results/web-ui/sso-entra-id"},{"title":"Using the Web UI","icon":"file-dashed-line","href":"/view-results/web-ui/using-web-ui"},{"title":"Admin settings (password users)","icon":"user-gear","href":"/view-results/web-ui/page"}]},{"group":"Offline iFrame viewer","pages":[{"title":"Overview","icon":"frame","href":"/view-results/iframe/overview"},{"title":"Access and hosting","icon":"frame","href":"/view-results/iframe/access-hosting"},{"title":"Quickstart","icon":"frame","href":"/view-results/iframe/quickstart"},{"icon":"frame","title":"Visualize a Serial fraud cluster","href":"/view-results/iframe/serial-fraud"},{"title":"Troubleshooting","icon":"frame","href":"/view-results/iframe/troubleshooting"}]}]},{"group":"Operations \u0026 Support","pages":[{"title":"Document intake best practices","icon":"page","href":"/support/document-intake-best-practices"},{"title":"Supported formats","icon":"file","href":"/supported-formats"},{"title":"Limits \u0026 quotas","icon":"pager","href":"/support/limit-and-quotas"},{"title":"Contact support","icon":"phone","href":"/support/contact-support"}]},{"group":"Old \u0026 hidden","pages":[{"title":"Core workflow reference","hidden":true,"href":"/overview"},{"title":"Core Integration Mechanics","hidden":true,"href":"/core-integration"}]}]},{"tab":"API Reference","dropdowns":[{"dropdown":"EU","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json post /v2/submission","href":"/api-reference/create-a-submission-[eu-1]"},{"title":"Add submission characteristics [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[eu-1]"},{"title":"Fetch fraud result [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[eu-1]"},{"title":"Fetch quality result [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[eu-1]"},{"title":"Fetch Adaptive Decision result [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[eu-1]"},{"title":"Fetch document classification [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[eu-1]"},{"title":"Fetch PDF report [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[eu-1]"},{"title":"Delete submission [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[eu-1]"},{"title":"Get analysis feedback [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[eu-1]"},{"title":"Add analysis feedback [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[eu-1]"},{"title":"Create token [eu-1]","deprecated":null,"version":null,"openapi":"/spec-eu-1.json post /token","href":"/api-reference/create-token-[eu-1]"},{"title":"Fetch content result [limited]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/content","href":"/api-reference/fetch-content-result-[limited]"}]}]},{"dropdown":"US-1","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json post /v2/submission","href":"/api-reference/create-a-submission-[us-1]"},{"title":"Add submission characteristics [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[us-1]"},{"title":"Fetch fraud result [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[us-1]"},{"title":"Fetch quality result [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[us-1]"},{"title":"Fetch Adaptive Decision result [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[us-1]"},{"title":"Fetch document classification [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[us-1]"},{"title":"Fetch PDF report [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[us-1]"},{"title":"Delete submission [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[us-1]"},{"title":"Get analysis feedback [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[us-1]"},{"title":"Add analysis feedback [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[us-1]"},{"title":"Create token [us-1]","deprecated":null,"version":null,"openapi":"/spec-us-1.json post /token","href":"/api-reference/create-token-[us-1]"}]}]},{"dropdown":"AP-2","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json post /v2/submission","href":"/api-reference/create-a-submission-[ap-2]"},{"title":"Add submission characteristics [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[ap-2]"},{"title":"Fetch fraud result [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[ap-2]"},{"title":"Fetch quality result [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[ap-2]"},{"title":"Fetch Adaptive Decision result [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[ap-2]"},{"title":"Fetch document classification [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[ap-2]"},{"title":"Fetch PDF report [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[ap-2]"},{"title":"Delete submission [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[ap-2]"},{"title":"Get analysis feedback [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[ap-2]"},{"title":"Add analysis feedback [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[ap-2]"},{"title":"Create token [ap-2]","deprecated":null,"version":null,"openapi":"/spec-ap-2.json post /token","href":"/api-reference/create-token-[ap-2]"}]}]},{"dropdown":"AP-3","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json post /v2/submission","href":"/api-reference/create-a-submission-[ap-3]"},{"title":"Add submission characteristics [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[ap-3]"},{"title":"Fetch fraud result [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[ap-3]"},{"title":"Fetch quality result [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[ap-3]"},{"title":"Fetch Adaptive Decision result [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[ap-3]"},{"title":"Fetch document classification [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[ap-3]"},{"title":"Fetch PDF report [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[ap-3]"},{"title":"Delete submission [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[ap-3]"},{"title":"Get analysis feedback [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[ap-3]"},{"title":"Add analysis feedback [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[ap-3]"},{"title":"Create token [ap-3]","deprecated":null,"version":null,"openapi":"/spec-ap-3.json post /token","href":"/api-reference/create-token-[ap-3]"}]}]},{"dropdown":"CA-1","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json post /v2/submission","href":"/api-reference/create-a-submission-[ca-1]"},{"title":"Add submission characteristics [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[ca-1]"},{"title":"Fetch fraud result [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[ca-1]"},{"title":"Fetch quality result [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[ca-1]"},{"title":"Fetch Adaptive Decision result [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[ca-1]"},{"title":"Fetch document classification [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[ca-1]"},{"title":"Fetch PDF report [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[ca-1]"},{"title":"Delete submission [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[ca-1]"},{"title":"Get analysis feedback [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[ca-1]"},{"title":"Add analysis feedback [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[ca-1]"},{"title":"Create token [ca-1]","deprecated":null,"version":null,"openapi":"/spec-ca-1.json post /token","href":"/api-reference/create-token-[ca-1]"}]}]},{"dropdown":"Testing","groups":[{"group":"API Reference","pages":[{"title":"Create a submission [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json post /v2/submission","href":"/api-reference/create-a-submission-[testing]"},{"title":"Add submission characteristics [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json put /v2/submission/{submission_id}/characteristics","href":"/api-reference/add-submission-characteristics-[testing]"},{"title":"Fetch fraud result [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/fraud","href":"/api-reference/fetch-fraud-result-[testing]"},{"title":"Fetch quality result [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/quality","href":"/api-reference/fetch-quality-result-[testing]"},{"title":"Fetch Adaptive Decision result [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/decision","href":"/api-reference/fetch-adaptive-decision-result-[testing]"},{"title":"Fetch document classification [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/classification","href":"/api-reference/fetch-document-classification-[testing]"},{"title":"Fetch PDF report [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/report","href":"/api-reference/fetch-pdf-report-[testing]"},{"title":"Delete submission [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json delete /v2/submission/{submission_id}","href":"/api-reference/delete-submission-[testing]"},{"title":"Get analysis feedback [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/feedback","href":"/api-reference/get-analysis-feedback-[testing]"},{"title":"Add analysis feedback [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json put /v2/submission/{submission_id}/feedback","href":"/api-reference/add-analysis-feedback-[testing]"},{"title":"Create token [testing]","deprecated":null,"version":null,"openapi":"/spec-testing.json post /token","href":"/api-reference/create-token-[testing]"},{"title":"Fetch content result [limited]","deprecated":null,"version":null,"openapi":"/spec-testing.json get /v2/submission/{submission_id}/content","href":"/api-reference/fetch-content-result-[limited]"}]}]}]},{"tab":"Status page ","href":"https://resistantai.statuspage.io/"},{"tab":"Trust center","href":"https://trust.resistant.ai/"}]},{"product":"Tenant Management API","color":{"light":"#5890FE","dark":"#5890FE"},"pages":[{"title":"Tenant Management API","href":"/tenant-management-api-overview"}]}]},"basePath":"","title":"Polling - Documentation","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}