Understand the tier-based rate limit model and how to handle 429 responses
Overview
The Integrations API enforces rate limits to keep the service stable and usage fair. Limits are tier-based and resolved per API key: the limit that applies to a request depends on the plan associated with your key and on which capability bucket the request falls into.Exact request-per-minute numbers are configured per tier and are not published here. To see the limits that apply to your key, check the control plane or contact support.
Capability buckets
Each request is counted against one of six buckets. Read operations, write operations, uploads, and sandbox calls are limited independently, so heavy polling does not consume your submission-write budget.
Bucket
Covers
upload
Presigned upload URL requests
submission_write
Creating submissions and retrying assets
submission_read
Reading submission status, assets, issues, topics, and versions
webhook_write
Creating, updating, and deleting webhook subscriptions
webhook_read
Listing subscriptions and reading delivery history
sandbox
Sandbox-only endpoints such as firing synthetic events
When you exceed a limit
Exceeding a bucket limit returns a 429 with a single error string and a Retry-After header (in seconds).
{ "error": "Rate limit exceeded: too many submission writes"}
HTTP/1.1 429 Too Many RequestsRetry-After: 30
The API does not emit X-RateLimit-Limit, X-RateLimit-Remaining, or X-RateLimit-Reset headers. The only rate-limit header is Retry-After, returned on 429 responses. Do not write code that reads X-RateLimit-* headers.
When your plan lacks API access
If your tier is not authorized for the Integrations API at all, requests return a 402 instead of a 429. This is a plan-gating response, not a transient rate limit.
{ "error_code": "tier_not_authorized_for_integrations_api", "message": "Your plan does not include access to the Integrations API.", "bucket": "submission_write"}
The bucket field names the capability that was gated. To enable API access, upgrade your plan in the control plane or contact support. Retrying a 402 will not succeed.
Best practices
Respect Retry-After
When you receive a 429, wait for the duration in the Retry-After header before retrying, then apply exponential backoff with jitter for any further attempts.
import randomimport timeimport requestsdef request_with_backoff(method: str, url: str, headers: dict, max_retries: int = 5, **kwargs): """Retry on 429/500/502 with Retry-After and exponential backoff plus jitter.""" delay = 1.0 for attempt in range(max_retries): response = requests.request(method, url, headers=headers, **kwargs) if response.status_code not in (429, 500, 502): return response if response.status_code == 429 and response.headers.get("Retry-After"): wait = float(response.headers["Retry-After"]) else: wait = delay + random.uniform(0, delay) # exponential backoff with jitter print(f"Got {response.status_code}, waiting {wait:.1f}s before retry...") time.sleep(wait) delay *= 2 raise RuntimeError("Exceeded max retries")
Batch assets into one submission
Submit all assets for a job in a single request rather than one submission per asset. This consumes a single submission_write instead of many.
# Less efficient: one submission per file.for blob_path in blob_paths: requests.post( "https://api.northell.io/nhl/prod/mediamagic-verify-integrations/api/submissions", headers={"X-API-Key": api_key, "Api-Version": "v1"}, json={"assets": [{"blobPath": blob_path}], "sidekickIds": ["<sidekick-id>"]}, )# Preferred: one submission for all files.assets = [{"blobPath": blob_path} for blob_path in blob_paths]requests.post( "https://api.northell.io/nhl/prod/mediamagic-verify-integrations/api/submissions", headers={"X-API-Key": api_key, "Api-Version": "v1"}, json={"assets": assets, "sidekickIds": ["<sidekick-id>"]},)
Prefer webhooks over tight polling
Polling submission status in a tight loop consumes your submission_read budget quickly. Subscribe to webhooks so you are notified when processing completes, and poll only as a fallback. See Webhook subscriptions.
Poll with backoff
When you do poll, read status from GET /submissions/{id} (there is no /status suffix), space your requests out, and stop once the top-level status reaches a terminal state of complete, partial, or failed.
import timeimport requestsAPI_BASE = "https://api.northell.io/nhl/prod/mediamagic-verify-integrations"def poll_until_done(submission_id: str, api_key: str) -> dict: """Poll a submission with a widening interval until it reaches a terminal state.""" start = time.time() while True: elapsed = time.time() - start interval = 2 if elapsed < 30 else (10 if elapsed < 120 else 30) response = requests.get( f"{API_BASE}/api/submissions/{submission_id}", headers={"X-API-Key": api_key, "Api-Version": "v1"}, ) submission = response.json() if submission["status"] in ("complete", "partial", "failed"): return submission time.sleep(interval)
Queue and space out requests
If you generate bursts of work, place requests on a queue and release them at a steady rate rather than firing them all at once. This keeps you under your bucket limits and reduces the number of 429 responses you have to recover from.
Troubleshooting
Hitting limits unexpectedly
Confirm you are batching assets into single submissions where possible
Replace tight polling loops with webhooks
Space requests out instead of issuing them concurrently
Check your tier’s limits in the control plane
Getting 429 responses
Wait for the Retry-After duration before retrying
Apply exponential backoff with jitter for repeated retries
Remember that read, write, upload, and sandbox buckets are counted separately
Getting a 402 instead of a 429
A 402 with error_code: tier_not_authorized_for_integrations_api means your plan does not include API access. Upgrade in the control plane or contact support at https://support.iclear.ai/ — retrying will not help.
Need higher limits?
Contact support at https://support.iclear.ai/ with your expected request volume, use case, and timeline.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"iClear API","colors":{"primary":"#0D47A1","light":"#42A5F5","dark":"#0D47A1"},"logo":{"light":"https://mintcdn.com/northell-2444134e/vK076UrB6uAaoZ_E/logo/light.svg?fit=max\u0026auto=format\u0026n=vK076UrB6uAaoZ_E\u0026q=85\u0026s=58adbd0d9920ba92db06916f76b37455","dark":"https://mintcdn.com/northell-2444134e/vK076UrB6uAaoZ_E/logo/dark.svg?fit=max\u0026auto=format\u0026n=vK076UrB6uAaoZ_E\u0026q=85\u0026s=10a6b87440a0c609300d7fc77f900d40"},"favicon":"https://mintcdn.com/northell-2444134e/vK076UrB6uAaoZ_E/favicon.png?fit=max\u0026auto=format\u0026n=vK076UrB6uAaoZ_E\u0026q=85\u0026s=e218a4987637d25798bc1658ed32e938","navbar":{"links":[{"href":"https://support.iclear.ai/","label":"Support"},{"href":"https://iclear.ai","label":"iclear.ai"}]},"variables":{"productName":"iClear","apiBaseUrl":"https://api.northell.io/nhl/prod/mediamagic-verify-integrations","sandboxUrl":"https://api-sandbox.mediamagic.app","controlPlaneUrl":"https://mediamagicverify.com","supportUrl":"https://support.iclear.ai/","docsUrl":"https://docs.iclear.ai/"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"northell-2444134e","hasAudioNarration":false,"actualSubdomain":"northell-2444134e","customDomains":["docs.iclear.ai"],"gitSource":{"type":"github","owner":"northell-team","repo":"midmarket-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"agentFeedback":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afebad637c19af492cc6d50","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"API Endpoints","count":65},{"language":"default","tag":"insights","count":11},{"language":"default","tag":"submissions","count":8},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"webhooks","count":6},{"language":"default","tag":"Core Concepts","count":5},{"language":"default","tag":"API Reference","count":4},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"Reference","count":3},{"language":"default","tag":"pricing","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"reference/rate-limiting","slug":"/reference/rate-limiting","pageMetadata":{"title":"Rate limiting","description":"Understand the tier-based rate limit model and how to handle 429 responses","href":"/reference/rate-limiting"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Understand the tier-based rate limit model and how to handle 429 responses\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,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(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`The Integrations API enforces rate limits to keep the service stable and usage fair. Limits are tier-based and resolved per API key: the limit that applies to a request depends on the plan associated with your key and on which capability bucket the request falls into.`}),`\n`,_jsx(_components.p,{children:`Exact request-per-minute numbers are configured per tier and are not published here. To see the limits that apply to your key, check the control plane or contact support.`}),`\n`,_jsx(Heading,{level:`2`,id:`capability-buckets`,children:`Capability buckets`}),`\n`,_jsx(_components.p,{children:`Each request is counted against one of six buckets. Read operations, write operations, uploads, and sandbox calls are limited independently, so heavy polling does not consume your submission-write budget.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Bucket`}),_jsx(_components.th,{children:`Covers`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`upload`})}),_jsx(_components.td,{children:`Presigned upload URL requests`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`submission_write`})}),_jsx(_components.td,{children:`Creating submissions and retrying assets`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`submission_read`})}),_jsx(_components.td,{children:`Reading submission status, assets, issues, topics, and versions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`webhook_write`})}),_jsx(_components.td,{children:`Creating, updating, and deleting webhook subscriptions`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`webhook_read`})}),_jsx(_components.td,{children:`Listing subscriptions and reading delivery history`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sandbox`})}),_jsx(_components.td,{children:`Sandbox-only endpoints such as firing synthetic events`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`when-you-exceed-a-limit`,children:`When you exceed a limit`}),`\n`,_jsxs(_components.p,{children:[`Exceeding a bucket limit returns a 429 with a single `,_jsx(_components.code,{children:`error`}),` string and a `,_jsx(_components.code,{children:`Retry-After`}),` header (in seconds).`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Rate limit exceeded: too many submission writes\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`/`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1.1`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 429`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Too Many Requests`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Retry-After`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 30`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The API does not emit `,_jsx(_components.code,{children:`X-RateLimit-Limit`}),`, `,_jsx(_components.code,{children:`X-RateLimit-Remaining`}),`, or `,_jsx(_components.code,{children:`X-RateLimit-Reset`}),` headers. The only rate-limit header is `,_jsx(_components.code,{children:`Retry-After`}),`, returned on 429 responses. Do not write code that reads `,_jsx(_components.code,{children:`X-RateLimit-*`}),` headers.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`when-your-plan-lacks-api-access`,children:`When your plan lacks API access`}),`\n`,_jsx(_components.p,{children:`If your tier is not authorized for the Integrations API at all, requests return a 402 instead of a 429. This is a plan-gating response, not a transient rate limit.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tier_not_authorized_for_integrations_api\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Your plan does not include access to the Integrations API.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bucket\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"submission_write\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`bucket`}),` field names the capability that was gated. To enable API access, upgrade your plan in the control plane or contact support. Retrying a 402 will not succeed.`]}),`\n`,_jsx(Heading,{level:`2`,id:`best-practices`,children:`Best practices`}),`\n`,_jsx(Heading,{level:`3`,id:`respect-retry-after`,children:`Respect Retry-After`}),`\n`,_jsxs(_components.p,{children:[`When you receive a 429, wait for the duration in the `,_jsx(_components.code,{children:`Retry-After`}),` header before retrying, then apply exponential backoff with jitter for any further attempts.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`26`,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:`26`,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:` random`})]}),`\n`,_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`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_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:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`def`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` request_with_backoff(method: str, url: str, headers: dict, max_retries: int = 5, **kwargs):`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"Retry on 429/500/502 with Retry-After and exponential backoff plus jitter.\"\"\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` delay = 1.0`})}),`\n`,_jsx(_components.span,{className:`line`}),`\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:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` range(max_retries):`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response = requests.request(method, url, headers=headers, **kwargs)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\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\":`#C586C0`},children:`not`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (429, 500, 502):`})]}),`\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`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\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 == 429 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`and`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.headers.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Retry-After\"`}),_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:` wait = float(response.headers[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Retry-After\"`}),_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:` else`}),_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:` wait = delay + random.uniform(0, delay) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# exponential backoff with jitter`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` print(f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Got {response.status_code}, waiting {wait:.1f}s before retry...\"`}),_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:` time.sleep(wait)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` delay *= 2`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` raise`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` RuntimeError(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Exceeded max retries\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`batch-assets-into-one-submission`,children:`Batch assets into one submission`}),`\n`,_jsxs(_components.p,{children:[`Submit all assets for a job in a single request rather than one submission per asset. This consumes a single `,_jsx(_components.code,{children:`submission_write`}),` instead of many.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,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:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Less efficient: one submission per file.`})}),`\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:` blob_path `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` blob_paths:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.northell.io/nhl/prod/mediamagic-verify-integrations/api/submissions\"`}),_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:` headers={`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: api_key, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Api-Version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"v1\"`}),_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:` json={`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"assets\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"blobPath\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: blob_path}], `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sidekickIds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003csidekick-id>\"`}),_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`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Preferred: one submission for all files.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`assets = [{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"blobPath\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: blob_path} `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` blob_path `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` blob_paths]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`requests.post(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.northell.io/nhl/prod/mediamagic-verify-integrations/api/submissions\"`}),_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:` headers={`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: api_key, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Api-Version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"v1\"`}),_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:` json={`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"assets\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: assets, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sidekickIds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003csidekick-id>\"`}),_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`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`prefer-webhooks-over-tight-polling`,children:`Prefer webhooks over tight polling`}),`\n`,_jsxs(_components.p,{children:[`Polling submission status in a tight loop consumes your `,_jsx(_components.code,{children:`submission_read`}),` budget quickly. Subscribe to webhooks so you are notified when processing completes, and poll only as a fallback. See `,_jsx(_components.a,{href:`/guides/webhook-subscriptions`,children:`Webhook subscriptions`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`poll-with-backoff`,children:`Poll with backoff`}),`\n`,_jsxs(_components.p,{children:[`When you do poll, read status from `,_jsx(_components.code,{children:`GET /submissions/{id}`}),` (there is no `,_jsx(_components.code,{children:`/status`}),` suffix), space your requests out, and stop once the top-level `,_jsx(_components.code,{children:`status`}),` reaches a terminal state of `,_jsx(_components.code,{children:`complete`}),`, `,_jsx(_components.code,{children:`partial`}),`, or `,_jsx(_components.code,{children:`failed`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`25`,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:`25`,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`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_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:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`API_BASE = `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.northell.io/nhl/prod/mediamagic-verify-integrations\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`def`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` poll_until_done(submission_id: str, api_key: str) -> dict:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"Poll a submission with a widening interval until it reaches a terminal state.\"\"\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` start = time.time()`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` while`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` True`}),_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:` elapsed = time.time() - start`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` interval = 2 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` elapsed \u003c 30 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`else`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (10 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` elapsed \u003c 120 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`else`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` 30)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response = requests.get(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"{API_BASE}/api/submissions/{submission_id}\"`}),_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:` headers={`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"X-API-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: api_key, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Api-Version\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"v1\"`}),_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`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` submission = response.json()`})}),`\n`,_jsx(_components.span,{className:`line`}),`\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:` submission[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"complete\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"partial\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_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:` submission`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` time.sleep(interval)`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`queue-and-space-out-requests`,children:`Queue and space out requests`}),`\n`,_jsx(_components.p,{children:`If you generate bursts of work, place requests on a queue and release them at a steady rate rather than firing them all at once. This keeps you under your bucket limits and reduces the number of 429 responses you have to recover from.`}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(Heading,{level:`3`,id:`hitting-limits-unexpectedly`,children:`Hitting limits unexpectedly`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Confirm you are batching assets into single submissions where possible`}),`\n`,_jsx(_components.li,{children:`Replace tight polling loops with webhooks`}),`\n`,_jsx(_components.li,{children:`Space requests out instead of issuing them concurrently`}),`\n`,_jsx(_components.li,{children:`Check your tier’s limits in the control plane`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`getting-429-responses`,children:`Getting 429 responses`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Wait for the `,_jsx(_components.code,{children:`Retry-After`}),` duration before retrying`]}),`\n`,_jsx(_components.li,{children:`Apply exponential backoff with jitter for repeated retries`}),`\n`,_jsx(_components.li,{children:`Remember that read, write, upload, and sandbox buckets are counted separately`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`getting-a-402-instead-of-a-429`,children:`Getting a 402 instead of a 429`}),`\n`,_jsxs(_components.p,{children:[`A 402 with `,_jsx(_components.code,{children:`error_code: tier_not_authorized_for_integrations_api`}),` means your plan does not include API access. Upgrade in the control plane or contact support at `,_jsx(_components.a,{href:`https://support.iclear.ai/`,children:`https://support.iclear.ai/`}),` — retrying will not help.`]}),`\n`,_jsx(Heading,{level:`2`,id:`need-higher-limits`,children:`Need higher limits?`}),`\n`,_jsxs(_components.p,{children:[`Contact support at `,_jsx(_components.a,{href:`https://support.iclear.ai/`,children:`https://support.iclear.ai/`}),` with your expected request volume, use case, and timeline.`]})]})}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":"Rate limiting","description":"Understand the tier-based rate limit model and how to handle 429 responses","href":"/reference/rate-limiting"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Capability buckets","slug":"capability-buckets","depth":2,"children":[]},{"title":"When you exceed a limit","slug":"when-you-exceed-a-limit","depth":2,"children":[]},{"title":"When your plan lacks API access","slug":"when-your-plan-lacks-api-access","depth":2,"children":[]},{"title":"Best practices","slug":"best-practices","depth":2,"children":[{"title":"Respect Retry-After","slug":"respect-retry-after","depth":3,"children":[]},{"title":"Batch assets into one submission","slug":"batch-assets-into-one-submission","depth":3,"children":[]},{"title":"Prefer webhooks over tight polling","slug":"prefer-webhooks-over-tight-polling","depth":3,"children":[]},{"title":"Poll with backoff","slug":"poll-with-backoff","depth":3,"children":[]},{"title":"Queue and space out requests","slug":"queue-and-space-out-requests","depth":3,"children":[]}]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[{"title":"Hitting limits unexpectedly","slug":"hitting-limits-unexpectedly","depth":3,"children":[]},{"title":"Getting 429 responses","slug":"getting-429-responses","depth":3,"children":[]},{"title":"Getting a 402 instead of a 429","slug":"getting-a-402-instead-of-a-429","depth":3,"children":[]}]},{"title":"Need higher limits?","slug":"need-higher-limits","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"northell-2444134e","siteName":"iClear API","title":"Rate limiting - iClear API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-17T09:11:42.290Z","originalFileLocation":"reference/rate-limiting.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=\"Understand the tier-based rate limit model and how to handle 429 responses\">\u003cmeta data-mint-head name=\"application-name\" content=\"iClear API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/northell-2444134e/Ej5C1Q7mhARvu-J9/_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/northell-2444134e/Ej5C1Q7mhARvu-J9/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/northell-2444134e/Ej5C1Q7mhARvu-J9/_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/northell-2444134e/Ej5C1Q7mhARvu-J9/_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/northell-2444134e/Ej5C1Q7mhARvu-J9/_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/northell-2444134e/Ej5C1Q7mhARvu-J9/_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/northell-2444134e/Ej5C1Q7mhARvu-J9/_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/northell-2444134e/Ej5C1Q7mhARvu-J9/_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/northell-2444134e/Ej5C1Q7mhARvu-J9/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Rate limiting - iClear API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Understand the tier-based rate limit model and how to handle 429 responses\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"iClear API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.iclear.ai/reference/rate-limiting\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://northell-2444134e.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Rate+limiting\u0026amp;description=Understand+the+tier-based+rate+limit+model+and+how+to+handle+429+responses\u0026amp;theme=836138d06f2f52e51314914b\u0026amp;signature=d6cf9ce1ec0770093423c24f0f43baf9df17c19cac5618de6a677a687b08447a\">\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=\"Rate limiting - iClear API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Understand the tier-based rate limit model and how to handle 429 responses\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://northell-2444134e.mintlify.site/_mintlify/api/og/v2?division=Reference\u0026amp;title=Rate+limiting\u0026amp;description=Understand+the+tier-based+rate+limit+model+and+how+to+handle+429+responses\u0026amp;theme=836138d06f2f52e51314914b\u0026amp;signature=d6cf9ce1ec0770093423c24f0f43baf9df17c19cac5618de6a677a687b08447a\">\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/northell-2444134e/Ej5C1Q7mhARvu-J9/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"iClear API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D47A1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.iclear.ai/reference/rate-limiting\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reference/rate-limiting.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.iclear.ai/#organization\",\"name\":\"iClear API\",\"url\":\"https://docs.iclear.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/northell-2444134e/vK076UrB6uAaoZ_E/logo/light.svg?fit=max\u0026auto=format\u0026n=vK076UrB6uAaoZ_E\u0026q=85\u0026s=58adbd0d9920ba92db06916f76b37455\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.iclear.ai#website\",\"name\":\"iClear API\",\"url\":\"https://docs.iclear.ai\",\"publisher\":{\"@id\":\"https://docs.iclear.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.iclear.ai/reference/rate-limiting#webpage\",\"url\":\"https://docs.iclear.ai/reference/rate-limiting\",\"name\":\"Rate limiting\",\"description\":\"Understand the tier-based rate limit model and how to handle 429 responses\",\"dateModified\":\"2026-11-17T09:11:42.290Z\",\"isPartOf\":{\"@id\":\"https://docs.iclear.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.iclear.ai/reference/rate-limiting#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.iclear.ai/reference/rate-limiting#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"iClear API\",\"item\":\"https://docs.iclear.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rate limiting\",\"item\":\"https://docs.iclear.ai/reference/rate-limiting\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.iclear.ai/reference/rate-limiting#article\",\"headline\":\"Rate limiting\",\"name\":\"Rate limiting\",\"description\":\"Understand the tier-based rate limit model and how to handle 429 responses\",\"url\":\"https://docs.iclear.ai/reference/rate-limiting\",\"mainEntityOfPage\":{\"@id\":\"https://docs.iclear.ai/reference/rate-limiting#webpage\"},\"dateModified\":\"2026-11-17T09:11:42.290Z\",\"publisher\":{\"@id\":\"https://docs.iclear.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.iclear.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"iClear API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"iClear API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reference/rate-limiting.md","siteName":"iClear API","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Authentication","href":"/authentication"},{"title":"Quickstart","href":"/quickstart"}]},{"group":"Core Concepts","pages":[{"title":"Submissions","href":"/concepts/submissions"},{"title":"Assets","href":"/concepts/assets"},{"title":"Uploads","href":"/concepts/uploads"},{"title":"Webhooks","href":"/concepts/webhooks"},{"title":"Insights","href":"/concepts/insights"}]},{"group":"Guides","pages":[{"title":"File upload guide","href":"/guides/file-upload"},{"title":"Submit assets guide","href":"/guides/submit-assets"},{"title":"Poll status guide","href":"/guides/poll-status"},{"title":"Realtime updates guide","href":"/guides/realtime-updates"},{"title":"Webhook subscriptions guide","href":"/guides/webhook-subscriptions"},{"title":"Error handling guide","description":"Handle API errors and implement robust error recovery","href":"/guides/error-handling"}]},{"group":"Reference","pages":[{"title":"Rate limiting","href":"/reference/rate-limiting"},{"title":"Error codes","description":"Complete reference of API error responses, status codes, and retry guidance","href":"/reference/error-codes"},{"title":"Sandbox environment","href":"/reference/sandbox"}]},{"group":"API Endpoints","pages":[{"openapi":"get /health/","title":"Health Check","href":"/health-check"},{"openapi":"get /api/workspace","title":"Resolve the workspace behind this API key","href":"/workspace/get-workspace"},{"openapi":"post /api/uploads/url","title":"Generate Upload Url","href":"/uploads/generate-upload-url"},{"openapi":"get /api/sidekicks","title":"List available sidekicks","href":"/sidekicks/list-sidekicks"},{"openapi":"post /api/pricing/estimate","title":"Estimate submission price","href":"/pricing/estimate"},{"openapi":"post /api/submissions","title":"Create Submission","href":"/submissions/create-submission"},{"openapi":"get /api/submissions/{submission_id}","title":"Get Submission Status","href":"/submissions/get-submission-status"},{"openapi":"get /api/submissions/{submission_id}/versions","title":"Get Submission Versions","href":"/submissions/get-submission-versions"},{"openapi":"get /api/submissions/{submission_id}/assets/{asset_id}","title":"Get Asset Result","href":"/submissions/get-asset-result"},{"openapi":"get /api/submissions/{submission_id}/assets/{asset_id}/topics","title":"Get Asset Topics","href":"/submissions/get-asset-topics"},{"openapi":"get /api/submissions/{submission_id}/assets/{asset_id}/issues","title":"Get Asset Issues","href":"/submissions/get-asset-issues"},{"openapi":"post /api/submissions/{submission_id}/assets/{asset_id}/retry","title":"Retry Asset","href":"/submissions/retry-asset"},{"openapi":"post /api/submissions/{submission_id}/realtime-token","title":"Create Realtime Token","href":"/submissions/create-realtime-token"},{"openapi":"get /api/insights/assets/count","title":"Asset Count Trend","href":"/insights/asset-count"},{"openapi":"get /api/insights/assets/by-type","title":"Assets By Type","href":"/insights/assets-by-type"},{"openapi":"get /api/insights/assets/violation-rate","title":"Violation Rate Trend","href":"/insights/violation-rate"},{"openapi":"get /api/insights/issues/by-severity","title":"Issues By Severity Trend","href":"/insights/issues-by-severity"},{"openapi":"get /api/insights/issues/by-sidekick","title":"Issues By Sidekick","href":"/insights/issues-by-sidekick"},{"openapi":"get /api/insights/issues/by-file-type","title":"Issues By File Type","href":"/insights/issues-by-file-type"},{"openapi":"get /api/insights/submissions/pass-rate","title":"Pass Rate Trend","href":"/insights/pass-rate"},{"openapi":"get /api/insights/submissions/by-file-type-sidekick","title":"Submissions By File Type Sidekick","href":"/insights/submissions-by-type-sidekick"},{"openapi":"get /api/insights/rules/top-violations","title":"Top Rule Violations","href":"/insights/top-violations"},{"openapi":"get /api/insights/processing/duration","title":"Processing Duration","href":"/insights/processing-duration"},{"openapi":"get /api/insights/processing/time-saved","title":"Time Saved","href":"/insights/time-saved"},{"openapi":"get /api/webhooks/subscriptions","title":"List Subscriptions","href":"/webhooks/list-subscriptions"},{"openapi":"post /api/webhooks/subscriptions","title":"Create Subscription","href":"/webhooks/create-subscription"},{"openapi":"get /api/webhooks/subscriptions/{subscription_id}","title":"Get Subscription","href":"/webhooks/get-subscription"},{"openapi":"patch /api/webhooks/subscriptions/{subscription_id}","title":"Update Subscription","href":"/webhooks/update-subscription"},{"openapi":"delete /api/webhooks/subscriptions/{subscription_id}","title":"Delete Subscription","href":"/webhooks/delete-subscription"},{"openapi":"get /api/webhooks/subscriptions/{subscription_id}/deliveries","title":"List Subscription Deliveries","href":"/webhooks/list-subscription-deliveries"},{"openapi":"post /api/sandbox/events/fire","title":"Fire Sandbox Event","href":"/sandbox/fire-sandbox-event"},{"group":"API Reference","pages":[{"title":"Health Check","deprecated":null,"version":null,"openapi":"/openapi.json get /health/","href":"/api-reference/health-check"},{"title":"List Tag Keys","deprecated":null,"version":null,"openapi":"/openapi.json get /api/tags/keys","href":"/api-reference/list-tag-keys"},{"title":"List Tag Key Values","deprecated":null,"version":null,"openapi":"/openapi.json get /api/tags/keys/{key_id}/values","href":"/api-reference/list-tag-key-values"},{"title":"List Assets By Tag","deprecated":null,"version":null,"openapi":"/openapi.json get /api/assets","href":"/api-reference/list-assets-by-tag"}]},{"group":"uploads","pages":[{"title":"Generate Upload Url","deprecated":null,"version":null,"openapi":"/openapi.json post /api/uploads/url","href":"/api-reference/uploads/generate-upload-url"}]},{"group":"submissions","pages":[{"title":"Create Submission","deprecated":null,"version":null,"openapi":"/openapi.json post /api/submissions","href":"/api-reference/submissions/create-submission"},{"title":"Retry Asset","deprecated":null,"version":null,"openapi":"/openapi.json post /api/submissions/{submission_id}/assets/{asset_id}/retry","href":"/api-reference/submissions/retry-asset"},{"title":"Get Submission Status","deprecated":null,"version":null,"openapi":"/openapi.json get /api/submissions/{submission_id}","href":"/api-reference/submissions/get-submission-status"},{"title":"Create Realtime Token","deprecated":null,"version":null,"openapi":"/openapi.json post /api/submissions/{submission_id}/realtime-token","href":"/api-reference/submissions/create-realtime-token"},{"title":"Get Submission Versions","deprecated":null,"version":null,"openapi":"/openapi.json get /api/submissions/{submission_id}/versions","href":"/api-reference/submissions/get-submission-versions"},{"title":"Get Asset Result","deprecated":null,"version":null,"openapi":"/openapi.json get /api/submissions/{submission_id}/assets/{asset_id}","href":"/api-reference/submissions/get-asset-result"},{"title":"Get Asset Topics","deprecated":null,"version":null,"openapi":"/openapi.json get /api/submissions/{submission_id}/assets/{asset_id}/topics","href":"/api-reference/submissions/get-asset-topics"},{"title":"Get Asset Issues","deprecated":null,"version":null,"openapi":"/openapi.json get /api/submissions/{submission_id}/assets/{asset_id}/issues","href":"/api-reference/submissions/get-asset-issues"}]},{"group":"webhooks","pages":[{"title":"List Subscriptions","deprecated":null,"version":null,"openapi":"/openapi.json get /api/webhooks/subscriptions","href":"/api-reference/webhooks/list-subscriptions"},{"title":"Create Subscription","deprecated":null,"version":null,"openapi":"/openapi.json post /api/webhooks/subscriptions","href":"/api-reference/webhooks/create-subscription"},{"title":"Get Subscription","deprecated":null,"version":null,"openapi":"/openapi.json get /api/webhooks/subscriptions/{subscription_id}","href":"/api-reference/webhooks/get-subscription"},{"title":"Delete Subscription","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/webhooks/subscriptions/{subscription_id}","href":"/api-reference/webhooks/delete-subscription"},{"title":"Update Subscription","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/webhooks/subscriptions/{subscription_id}","href":"/api-reference/webhooks/update-subscription"},{"title":"List Subscription Deliveries","deprecated":null,"version":null,"openapi":"/openapi.json get /api/webhooks/subscriptions/{subscription_id}/deliveries","href":"/api-reference/webhooks/list-subscription-deliveries"}]},{"group":"sandbox","pages":[{"title":"Fire Sandbox Event","deprecated":null,"version":null,"openapi":"/openapi.json post /api/sandbox/events/fire","href":"/api-reference/sandbox/fire-sandbox-event"}]},{"group":"insights","pages":[{"title":"Asset Count Trend","deprecated":null,"version":null,"openapi":"/openapi.json get /api/insights/assets/count","href":"/api-reference/insights/asset-count-trend"},{"title":"Assets By Type","deprecated":null,"version":null,"openapi":"/openapi.json get /api/insights/assets/by-type","href":"/api-reference/insights/assets-by-type"},{"title":"Violation Rate Trend","deprecated":null,"version":null,"openapi":"/openapi.json get /api/insights/assets/violation-rate","href":"/api-reference/insights/violation-rate-trend"},{"title":"Issues By Severity Trend","deprecated":null,"version":null,"openapi":"/openapi.json get /api/insights/issues/by-severity","href":"/api-reference/insights/issues-by-severity-trend"},{"title":"Issues By Sidekick","deprecated":null,"version":null,"openapi":"/openapi.json get /api/insights/issues/by-sidekick","href":"/api-reference/insights/issues-by-sidekick"},{"title":"Issues By File Type","deprecated":null,"version":null,"openapi":"/openapi.json get /api/insights/issues/by-file-type","href":"/api-reference/insights/issues-by-file-type"},{"title":"Pass Rate Trend","deprecated":null,"version":null,"openapi":"/openapi.json get /api/insights/submissions/pass-rate","href":"/api-reference/insights/pass-rate-trend"},{"title":"Submissions By File Type Sidekick","deprecated":null,"version":null,"openapi":"/openapi.json get /api/insights/submissions/by-file-type-sidekick","href":"/api-reference/insights/submissions-by-file-type-sidekick"},{"title":"Top Rule Violations","deprecated":null,"version":null,"openapi":"/openapi.json get /api/insights/rules/top-violations","href":"/api-reference/insights/top-rule-violations"},{"title":"Processing Duration","deprecated":null,"version":null,"openapi":"/openapi.json get /api/insights/processing/duration","href":"/api-reference/insights/processing-duration"},{"title":"Time Saved","deprecated":null,"version":null,"openapi":"/openapi.json get /api/insights/processing/time-saved","href":"/api-reference/insights/time-saved"}]},{"group":"pricing","pages":[{"title":"Estimate submission price","deprecated":null,"version":null,"openapi":"/openapi.json post /api/pricing/estimate","href":"/api-reference/pricing/estimate-submission-price"}]},{"group":"sidekicks","pages":[{"title":"List available sidekicks","deprecated":null,"version":null,"openapi":"/openapi.json get /api/sidekicks","href":"/api-reference/sidekicks/list-available-sidekicks"}]},{"group":"workspace","pages":[{"title":"Resolve the workspace behind this API key","deprecated":null,"version":null,"openapi":"/openapi.json get /api/workspace","href":"/api-reference/workspace/resolve-the-workspace-behind-this-api-key"}]}]}]},"basePath":"","title":"Rate limiting - iClear API","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":[],"chunks":[]}