Read upload status once and retrieve latest artifacts
Supply asset_current_version in the query. Customer org_id comes from authentication and overrides supplied values. System tokens require explicit org_id in the query. Backend response bodies, status codes, and URLs are preserved. Upload operations consume no review credits. The portal adapts this route to the current backend versioned path. Status reports the newest run’s operation, original_ctx and effective_ctx, its run_id, a waiting_for_run_id while it is parked behind an earlier run, and its steering question with any answer; latest is scoped to that run. A status of awaiting_input is answered through POST /api/v1/upload/asset//process; cancelled is terminal. Artifact reads use bearer authentication at /storage. Requests propagate cancellation and time out after 30 seconds.
GET
/
api
/
v1
/
upload
/
asset
/
{asset_id}
Read upload status once and retrieve latest artifacts
Latest artifact of each kind in the newest run's scope, keyed by kind, with a full URL: the run's own outputs, the inputs it reused, corrections made since, and the version's previews
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Inspack","description":"Documentation for the Inspack (former GetGenAI) API, MCP server, and skills.","colors":{"primary":"#5F47CE","light":"#9C95FB","dark":"#4D31C1"},"logo":{"light":"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/inspack-logo-light.png?fit=max\u0026auto=format\u0026n=CklDpBHBp-Fdktvd\u0026q=85\u0026s=99b12855ae176e5675045f5bc94df294","dark":"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/inspack-logo-dark.png?fit=max\u0026auto=format\u0026n=CklDpBHBp-Fdktvd\u0026q=85\u0026s=9bc7ab63eb378ad795be09afea1f6dcc"},"favicon":{"light":"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/favicon-light-48.png?fit=max\u0026auto=format\u0026n=CklDpBHBp-Fdktvd\u0026q=85\u0026s=06554e4bd3d24100159a474183561103","dark":"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/favicon-dark-48.png?fit=max\u0026auto=format\u0026n=CklDpBHBp-Fdktvd\u0026q=85\u0026s=5d8615b2564ee3c37bf4c121755166a6"},"navbar":{"links":[{"href":"mailto:info@inspack.com","label":"Support"}],"primary":{"type":"button","label":"Open app","href":"https://app.inspack.com"}},"footer":{"socials":{"website":"https://www.inspack.com"}},"fonts":{"heading":{"family":"Archivo","weight":600},"body":{"family":"Archivo","weight":400}},"integrations":{"gtm":{"tagId":"GTM-P5NXKZ52"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"getgenai","hasAudioNarration":false,"actualSubdomain":"getgenai","customDomains":["docs.inspack.com"],"gitSource":{"type":"github","owner":"getgenai","repo":"getgen-portal","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae3837f88cdd944cd18f5f3","collectionId":"9fa37e05-99ed-4458-9558-54cc360ac0f9","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae3837f88cdd944cd18f5f3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae3c6df32fdfe8182ae1a87","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API reference","count":15},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Upload","count":7},{"language":"default","tag":"Inspector","count":5},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"MCP server","count":3},{"language":"default","tag":"Changelog","count":2},{"language":"default","tag":"Skills","count":1},{"language":"default","tag":"Documents","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":"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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts","slug":"/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts","pageMetadata":{"title":"Read upload status once and retrieve latest artifacts","description":"Supply asset_current_version in the query. Customer org_id comes from authentication and overrides supplied values. System tokens require explicit org_id in the query. Backend response bodies, status codes, and URLs are preserved. Upload operations consume no review credits. The portal adapts this route to the current backend versioned path. Status reports the newest run's operation, original_ctx and effective_ctx, its run_id, a waiting_for_run_id while it is parked behind an earlier run, and its steering question with any answer; latest is scoped to that run. A status of awaiting_input is answered through POST /api/v1/upload/asset/{asset_id}/process; cancelled is terminal. Artifact reads use bearer authentication at /storage. Requests propagate cancellation and time out after 30 seconds.","deprecated":null,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json get /api/v1/upload/asset/{asset_id}","href":"/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Supply asset_current_version in the query. Customer org_id comes from authentication and overrides supplied values. System tokens require explicit org_id in the query. Backend response bodies, status codes, and URLs are preserved. Upload operations consume no review credits. The portal adapts this route to the current backend versioned path. Status reports the newest run’s operation, original_ctx and effective_ctx, its run_id, a waiting_for_run_id while it is parked behind an earlier run, and its steering question with any answer; latest is scoped to that run. A status of awaiting_input is answered through POST /api/v1/upload/asset/\", \"/process; cancelled is terminal. Artifact reads use bearer authentication at /storage. Requests propagate cancellation and time out after 30 seconds.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Read upload status once and retrieve latest artifacts","description":"Supply asset_current_version in the query. Customer org_id comes from authentication and overrides supplied values. System tokens require explicit org_id in the query. Backend response bodies, status codes, and URLs are preserved. Upload operations consume no review credits. The portal adapts this route to the current backend versioned path. Status reports the newest run's operation, original_ctx and effective_ctx, its run_id, a waiting_for_run_id while it is parked behind an earlier run, and its steering question with any answer; latest is scoped to that run. A status of awaiting_input is answered through POST /api/v1/upload/asset/{asset_id}/process; cancelled is terminal. Artifact reads use bearer authentication at /storage. Requests propagate cancellation and time out after 30 seconds.","deprecated":null,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json get /api/v1/upload/asset/{asset_id}","href":"/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Upload"],"x-protected":true,"summary":"Read upload status once and retrieve latest artifacts","description":"Supply asset_current_version in the query. Customer org_id comes from authentication and overrides supplied values. System tokens require explicit org_id in the query. Backend response bodies, status codes, and URLs are preserved. Upload operations consume no review credits. The portal adapts this route to the current backend versioned path. Status reports the newest run's operation, original_ctx and effective_ctx, its run_id, a waiting_for_run_id while it is parked behind an earlier run, and its steering question with any answer; latest is scoped to that run. A status of awaiting_input is answered through POST /api/v1/upload/asset/{asset_id}/process; cancelled is terminal. Artifact reads use bearer authentication at /storage. Requests propagate cancellation and time out after 30 seconds.","parameters":["802096c4-cbbc-4a0b-8c38-2585273b6361","f9ff7680-59eb-4ec2-8a0f-045c974b4f4b","26b61389-34e9-481d-8f38-3e04070f7f2b"],"x-proxy-swagger":{"url":"${process.env.INSPECTOR_API}/openapi.json","remotePath":"/api/upload/asset/{asset_id}/versions/{version}","mode":"proxy-response"},"responses":{"200":"58f7f854-b01c-43b4-9101-3baa0835dd46","400":"54d7775a-e5f7-45ff-9a85-6ea6bb0d9350","401":"b59b6cd2-2edd-490d-95cd-ee141cb98b40","403":"56c977a2-ed77-4628-968e-3ccc2e17db22","422":"fa06d271-88a7-414d-90f7-f81eefcbeb3b","499":"883d17c8-a6d2-449c-a0fc-327d718c6c99","502":"541a85ab-c2a0-45d0-8d0a-4a920cfd6f04","503":"033068cf-1002-4a99-86b8-b62df5754312","504":"b656f49f-2ac1-4f22-b74f-210d218c7d66"},"method":"get","type":"path","servers":[],"security":["fddd0f75-2edc-431f-9e96-44adb7c7da76"],"path":"/api/v1/upload/asset/{asset_id}","baseUrlOptions":[],"title":"Read upload status once and retrieve latest artifacts","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"802096c4-cbbc-4a0b-8c38-2585273b6361":{"in":"path","name":"asset_id","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}},"f9ff7680-59eb-4ec2-8a0f-045c974b4f4b":{"in":"query","name":"asset_current_version","required":true,"schema":{"type":"integer","minimum":1,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"","typeLabel":"integer"}},"26b61389-34e9-481d-8f38-3e04070f7f2b":{"in":"query","name":"org_id","required":false,"description":"Required for system tokens; customer organization comes from authentication and overrides this value.","schema":{"type":"integer","minimum":1,"maximum":9007199254740991,"isRequired":false,"description":"Required for system tokens; customer organization comes from authentication and overrides this value.","uniqueKey":"","typeLabel":"integer"}}},"responses":{"58f7f854-b01c-43b4-9101-3baa0835dd46":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"asset_id":{"type":"string","format":"uuid","title":"Asset Id","isRequired":true,"uniqueKey":"asset_id","typeLabel":"string\u003cuuid>"},"org_id":{"type":"integer","title":"Org Id","isRequired":true,"uniqueKey":"org_id","typeLabel":"integer"},"version":{"type":"integer","title":"Version","isRequired":true,"uniqueKey":"version","typeLabel":"integer"},"status":{"type":"string","enum":["awaiting_upload","running","awaiting_input","completed","partial","failed","cancelled","abandoned"],"title":"VersionStatus","description":"Lifecycle of a source version; the newest run owns it once processing starts.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"folder":{"type":"string","title":"Folder","isRequired":true,"uniqueKey":"folder","typeLabel":"string"},"run_id":{"type":"integer","title":"Run Id","isRequired":true,"uniqueKey":"run_id","typeLabel":"integer"},"updated_at":{"type":"string","format":"date-time","title":"Updated At","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"stages":{"items":{"properties":{"stage":{"type":"string","enum":["previews","classification","structure","content","inspectors"],"title":"Stage","description":"Pipeline stages, one Cloud Task each.","isRequired":true,"uniqueKey":"stages.items.[INDEX].stage","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","running","succeeded","failed","skipped"],"title":"StageStatus","isRequired":true,"uniqueKey":"stages.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"run_id":{"type":"integer","title":"Run Id","isRequired":true,"uniqueKey":"stages.items.[INDEX].run_id","typeLabel":"integer"},"attempt":{"type":"integer","title":"Attempt","isRequired":true,"uniqueKey":"stages.items.[INDEX].attempt","typeLabel":"integer"},"started_at":{"oneOf":[{"type":"string","title":"Started At","format":"date-time","uniqueKey":"stages.items.[INDEX].started_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Started At","uniqueKey":"stages.items.[INDEX].started_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"stages.items.[INDEX].started_at","typeLabel":"string\u003cdate-time> | null"},"finished_at":{"oneOf":[{"type":"string","title":"Finished At","format":"date-time","uniqueKey":"stages.items.[INDEX].finished_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Finished At","uniqueKey":"stages.items.[INDEX].finished_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"stages.items.[INDEX].finished_at","typeLabel":"string\u003cdate-time> | null"},"error":{"oneOf":[{"type":"object","title":"Error","additionalProperties":true,"uniqueKey":"stages.items.[INDEX].error.oneOf.0","typeLabel":"Error · object"},{"type":"null","title":"Error","uniqueKey":"stages.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"uniqueKey":"stages.items.[INDEX].error","typeLabel":"Error · object | null"}},"type":"object","required":["stage","status","run_id","attempt"],"title":"StageView","uniqueKey":"stages.items.[INDEX]","typeLabel":"StageView · object"},"type":"array","title":"Stages","isRequired":true,"uniqueKey":"stages","typeLabel":"StageView · object[]"},"operation":{"oneOf":[{"type":"string","title":"UploadOperation","description":"Intent of the newest run","enum":["asset_for_review","inspector_extraction","reference_asset","attachment"],"uniqueKey":"operation.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Intent of the newest run","uniqueKey":"operation.oneOf.1","typeLabel":"null"}],"uniqueKey":"operation","typeLabel":"enum\u003cstring> | null"},"original_ctx":{"oneOf":[{"type":"object","title":"Original Ctx","description":"The context the newest run was asked for","additionalProperties":true,"uniqueKey":"original_ctx.oneOf.0","typeLabel":"Original Ctx · object"},{"type":"null","title":"Original Ctx","description":"The context the newest run was asked for","uniqueKey":"original_ctx.oneOf.1","typeLabel":"null"}],"uniqueKey":"original_ctx","typeLabel":"Original Ctx · object | null"},"effective_ctx":{"oneOf":[{"type":"object","title":"Effective Ctx","description":"The context the newest run executes; differs from original_ctx after an answer","additionalProperties":true,"uniqueKey":"effective_ctx.oneOf.0","typeLabel":"Effective Ctx · object"},{"type":"null","title":"Effective Ctx","description":"The context the newest run executes; differs from original_ctx after an answer","uniqueKey":"effective_ctx.oneOf.1","typeLabel":"null"}],"uniqueKey":"effective_ctx","typeLabel":"Effective Ctx · object | null"},"waiting_for_run_id":{"oneOf":[{"type":"integer","title":"Waiting For Run Id","description":"Set while the newest run is parked behind an earlier one still classifying","uniqueKey":"waiting_for_run_id.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Waiting For Run Id","description":"Set while the newest run is parked behind an earlier one still classifying","uniqueKey":"waiting_for_run_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"waiting_for_run_id","typeLabel":"integer | null"},"question":{"oneOf":[{"type":"object","title":"Question","description":"The newest run's steering question, open or answered; null when it never asked","required":["id","message","expected","observed","options","asked_at","code"],"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"question.oneOf.0.id","typeLabel":"string"},"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"question.oneOf.0.message","typeLabel":"string"},"expected":{"properties":{"operation":{"type":"string","enum":["asset_for_review","inspector_extraction","reference_asset","attachment"],"title":"UploadOperation","description":"What a run is processed for.\n\nPublic intents arrive in ``ctx.operation`` and the service derives the pipeline from them.\n``attachment`` is the internal preview-only policy of imported Bynder originals; it is recorded\non their runs but never accepted from a caller.","isRequired":true,"uniqueKey":"question.oneOf.0.expected.operation","typeLabel":"enum\u003cstring>"},"inspector_type":{"type":"string","enum":["brief","master_label","brand_guidelines","safety_data_sheet"],"isRequired":true,"uniqueKey":"question.oneOf.0.expected.inspector_type","typeLabel":"enum\u003cstring>"}},"type":"object","required":["operation","inspector_type"],"title":"ExpectedIntent","description":"The gated intent the question was asked for.","isRequired":true,"uniqueKey":"question.oneOf.0.expected","typeLabel":"ExpectedIntent · object"},"observed":{"properties":{"asset_type":{"type":"string","enum":["ads_social_media","video_multimedia","print_materials","ads_promo_other","web_seo_content","email_crm","product_description","brief","owned_digital_product_other","packaging","labeling","master_label","retail_in_store","product_packaging_retail_other","pr_press_releases","legal_regulatory","brand_guidelines","safety_data_sheet","corporate_legal_brand_other","other"],"title":"AssetType","description":"Closed leaf taxonomy of asset types a precheck can classify.\n\nValues are identical to the DB ``asset_type.name`` so the classifier output\nresolves to a row with no translation. Extend by adding a member here and\ndescribing it in the classify prompt. Callers gate flows by comparing against\na specific member (e.g. extract routes grounded extraction on\n``packaging``/``labeling``).","isRequired":true,"uniqueKey":"question.oneOf.0.observed.asset_type","typeLabel":"enum\u003cstring>"},"needs_review":{"type":"boolean","title":"Needs Review","isRequired":true,"uniqueKey":"question.oneOf.0.observed.needs_review","typeLabel":"boolean"},"candidates":{"items":{"type":"string","enum":["ads_social_media","video_multimedia","print_materials","ads_promo_other","web_seo_content","email_crm","product_description","brief","owned_digital_product_other","packaging","labeling","master_label","retail_in_store","product_packaging_retail_other","pr_press_releases","legal_regulatory","brand_guidelines","safety_data_sheet","corporate_legal_brand_other","other"],"title":"AssetType","description":"Closed leaf taxonomy of asset types a precheck can classify.\n\nValues are identical to the DB ``asset_type.name`` so the classifier output\nresolves to a row with no translation. Extend by adding a member here and\ndescribing it in the classify prompt. Callers gate flows by comparing against\na specific member (e.g. extract routes grounded extraction on\n``packaging``/``labeling``).","uniqueKey":"question.oneOf.0.observed.candidates.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","title":"Candidates","isRequired":true,"uniqueKey":"question.oneOf.0.observed.candidates","typeLabel":"enum\u003cstring>[]"},"classification":{"properties":{"kind":{"type":"string","enum":["manifest","render","preview","classification","structure","content","inspectors"],"title":"ArtifactKind","description":"Artifact families, each versioned independently within an asset version.","isRequired":true,"uniqueKey":"question.oneOf.0.observed.classification.kind","typeLabel":"enum\u003cstring>"},"artifact_version":{"type":"integer","title":"Artifact Version","isRequired":true,"uniqueKey":"question.oneOf.0.observed.classification.artifact_version","typeLabel":"integer"},"url":{"type":"string","title":"Url","isRequired":true,"uniqueKey":"question.oneOf.0.observed.classification.url","typeLabel":"string"},"source":{"type":"string","enum":["pipeline","user"],"title":"Source","default":"pipeline","uniqueKey":"question.oneOf.0.observed.classification.source","typeLabel":"enum\u003cstring>"}},"type":"object","required":["kind","artifact_version","url"],"title":"ArtifactView","isRequired":true,"uniqueKey":"question.oneOf.0.observed.classification","typeLabel":"ArtifactView · object"}},"type":"object","required":["asset_type","needs_review","candidates","classification"],"title":"ObservedClassification","description":"What the classifier saw, with the verdict artifact resolved to a URL.","isRequired":true,"uniqueKey":"question.oneOf.0.observed","typeLabel":"ObservedClassification · object"},"options":{"items":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"question.oneOf.0.options.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","title":"Label","description":"Human wording; render as given","isRequired":true,"uniqueKey":"question.oneOf.0.options.items.[INDEX].label","typeLabel":"string"},"ctx":{"oneOf":[{"type":"object","title":"Ctx","description":"The context the run continues with; null stops it","additionalProperties":true,"uniqueKey":"question.oneOf.0.options.items.[INDEX].ctx.oneOf.0","typeLabel":"Ctx · object"},{"type":"null","title":"Ctx","description":"The context the run continues with; null stops it","uniqueKey":"question.oneOf.0.options.items.[INDEX].ctx.oneOf.1","typeLabel":"null"}],"uniqueKey":"question.oneOf.0.options.items.[INDEX].ctx","typeLabel":"Ctx · object | null"}},"type":"object","required":["id","label"],"title":"QuestionOption","description":"An offered answer and the intent it selects; a null context stops processing.","uniqueKey":"question.oneOf.0.options.items.[INDEX]","typeLabel":"QuestionOption · object"},"type":"array","title":"Options","isRequired":true,"uniqueKey":"question.oneOf.0.options","typeLabel":"QuestionOption · object[]"},"asked_at":{"type":"string","format":"date-time","title":"Asked At","isRequired":true,"uniqueKey":"question.oneOf.0.asked_at","typeLabel":"string\u003cdate-time>"},"code":{"type":"string","enum":["asset_type_mismatch","asset_type_uncertain"],"isRequired":true,"uniqueKey":"question.oneOf.0.code","typeLabel":"enum\u003cstring>"},"detail":{"oneOf":[{"type":"string","title":"Detail","description":"The classifier's own reason","uniqueKey":"question.oneOf.0.detail.oneOf.0","typeLabel":"string"},{"type":"null","title":"Detail","description":"The classifier's own reason","uniqueKey":"question.oneOf.0.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"question.oneOf.0.detail","typeLabel":"string | null"},"answer":{"oneOf":[{"type":"object","title":"QuestionAnswer","required":["answered_by","answered_at"],"properties":{"answered_by":{"type":"string","enum":["user","policy","correction","superseded"],"isRequired":true,"uniqueKey":"question.oneOf.0.answer.oneOf.0.answered_by","typeLabel":"enum\u003cstring>"},"answered_at":{"type":"string","format":"date-time","title":"Answered At","isRequired":true,"uniqueKey":"question.oneOf.0.answer.oneOf.0.answered_at","typeLabel":"string\u003cdate-time>"},"option_id":{"oneOf":[{"type":"string","title":"Option Id","description":"Null when a correction or a newer intent resolved it","uniqueKey":"question.oneOf.0.answer.oneOf.0.option_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Option Id","description":"Null when a correction or a newer intent resolved it","uniqueKey":"question.oneOf.0.answer.oneOf.0.option_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"question.oneOf.0.answer.oneOf.0.option_id","typeLabel":"string | null"}},"uniqueKey":"question.oneOf.0.answer.oneOf.0","typeLabel":"QuestionAnswer · object"},{"type":"null","uniqueKey":"question.oneOf.0.answer.oneOf.1","typeLabel":"null"}],"uniqueKey":"question.oneOf.0.answer","typeLabel":"QuestionAnswer · object | null"}},"uniqueKey":"question.oneOf.0","typeLabel":"Question · object"},{"type":"object","title":"ExistingExtractionQuestion","description":"The newest run's steering question, open or answered; null when it never asked","required":["id","message","expected","observed","options","asked_at"],"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"question.oneOf.1.id","typeLabel":"string"},"message":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"question.oneOf.1.message","typeLabel":"string"},"expected":{"properties":{"operation":{"type":"string","const":"asset_for_review","title":"Operation","isRequired":true,"uniqueKey":"question.oneOf.1.expected.operation","typeLabel":"string"}},"additionalProperties":false,"type":"object","required":["operation"],"title":"AssetForReviewContext","description":"Full extraction for a review: previews, classification, panels where applicable, content.","isRequired":true,"uniqueKey":"question.oneOf.1.expected","typeLabel":"AssetForReviewContext · object"},"observed":{"properties":{"document":{"properties":{"kind":{"type":"string","enum":["manifest","render","preview","classification","structure","content","inspectors"],"title":"ArtifactKind","description":"Artifact families, each versioned independently within an asset version.","isRequired":true,"uniqueKey":"question.oneOf.1.observed.document.kind","typeLabel":"enum\u003cstring>"},"artifact_version":{"type":"integer","title":"Artifact Version","isRequired":true,"uniqueKey":"question.oneOf.1.observed.document.artifact_version","typeLabel":"integer"},"url":{"type":"string","title":"Url","isRequired":true,"uniqueKey":"question.oneOf.1.observed.document.url","typeLabel":"string"},"run_id":{"type":"integer","title":"Run Id","isRequired":true,"uniqueKey":"question.oneOf.1.observed.document.run_id","typeLabel":"integer"},"schema_version":{"oneOf":[{"type":"integer","title":"Schema Version","description":"Declared document schema version; null for unversioned legacy content","isRequired":true,"uniqueKey":"question.oneOf.1.observed.document.schema_version.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Schema Version","description":"Declared document schema version; null for unversioned legacy content","isRequired":true,"uniqueKey":"question.oneOf.1.observed.document.schema_version.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"question.oneOf.1.observed.document.schema_version","typeLabel":"integer | null"},"source":{"type":"string","enum":["pipeline","user"],"title":"Source","default":"pipeline","uniqueKey":"question.oneOf.1.observed.document.source","typeLabel":"enum\u003cstring>"}},"type":"object","required":["kind","artifact_version","url","run_id","schema_version"],"title":"DocumentArtifactView","description":"An existing document's original producer and format, never relabeled as a new output.","isRequired":true,"uniqueKey":"question.oneOf.1.observed.document","typeLabel":"DocumentArtifactView · object"},"expected_schema_version":{"type":"integer","title":"Expected Schema Version","uniqueKey":"question.oneOf.1.observed.expected_schema_version","typeLabel":"integer"}},"type":"object","required":["document"],"title":"ObservedExtraction","description":"The existing document and the schema version a new extraction would produce.","isRequired":true,"uniqueKey":"question.oneOf.1.observed","typeLabel":"ObservedExtraction · object"},"options":{"items":{"properties":{"id":{"type":"string","title":"Id","isRequired":true,"uniqueKey":"question.oneOf.1.options.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","title":"Label","description":"Human wording; render as given","isRequired":true,"uniqueKey":"question.oneOf.1.options.items.[INDEX].label","typeLabel":"string"},"ctx":{"oneOf":[{"type":"object","title":"Ctx","description":"The context the run continues with; null stops it","additionalProperties":true,"uniqueKey":"question.oneOf.1.options.items.[INDEX].ctx.oneOf.0","typeLabel":"Ctx · object"},{"type":"null","title":"Ctx","description":"The context the run continues with; null stops it","uniqueKey":"question.oneOf.1.options.items.[INDEX].ctx.oneOf.1","typeLabel":"null"}],"uniqueKey":"question.oneOf.1.options.items.[INDEX].ctx","typeLabel":"Ctx · object | null"}},"type":"object","required":["id","label"],"title":"QuestionOption","description":"An offered answer and the intent it selects; a null context stops processing.","uniqueKey":"question.oneOf.1.options.items.[INDEX]","typeLabel":"QuestionOption · object"},"type":"array","title":"Options","isRequired":true,"uniqueKey":"question.oneOf.1.options","typeLabel":"QuestionOption · object[]"},"asked_at":{"type":"string","format":"date-time","title":"Asked At","isRequired":true,"uniqueKey":"question.oneOf.1.asked_at","typeLabel":"string\u003cdate-time>"},"code":{"type":"string","const":"existing_extraction","title":"Code","default":"existing_extraction","uniqueKey":"question.oneOf.1.code","typeLabel":"string"},"answer":{"oneOf":[{"type":"object","title":"QuestionAnswer","required":["answered_by","answered_at"],"properties":{"answered_by":{"type":"string","enum":["user","policy","correction","superseded"],"isRequired":true,"uniqueKey":"question.oneOf.1.answer.oneOf.0.answered_by","typeLabel":"enum\u003cstring>"},"answered_at":{"type":"string","format":"date-time","title":"Answered At","isRequired":true,"uniqueKey":"question.oneOf.1.answer.oneOf.0.answered_at","typeLabel":"string\u003cdate-time>"},"option_id":{"oneOf":[{"type":"string","title":"Option Id","description":"Null when a correction or a newer intent resolved it","uniqueKey":"question.oneOf.1.answer.oneOf.0.option_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Option Id","description":"Null when a correction or a newer intent resolved it","uniqueKey":"question.oneOf.1.answer.oneOf.0.option_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"question.oneOf.1.answer.oneOf.0.option_id","typeLabel":"string | null"}},"uniqueKey":"question.oneOf.1.answer.oneOf.0","typeLabel":"QuestionAnswer · object"},{"type":"null","uniqueKey":"question.oneOf.1.answer.oneOf.1","typeLabel":"null"}],"uniqueKey":"question.oneOf.1.answer","typeLabel":"QuestionAnswer · object | null"}},"uniqueKey":"question.oneOf.1","typeLabel":"ExistingExtractionQuestion · object"},{"type":"null","description":"The newest run's steering question, open or answered; null when it never asked","uniqueKey":"question.oneOf.2","typeLabel":"null"}],"uniqueKey":"question","typeLabel":"Question · object | ExistingExtractionQuestion · object | null"},"root_dispatches":{"items":{"properties":{"stage":{"type":"string","enum":["previews","classification","structure","content","inspectors"],"title":"Stage","description":"Pipeline stages, one Cloud Task each.","isRequired":true,"uniqueKey":"root_dispatches.items.[INDEX].stage","typeLabel":"enum\u003cstring>"},"status":{"type":"string","enum":["pending","dispatched"],"title":"Status","isRequired":true,"uniqueKey":"root_dispatches.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"attempt":{"type":"integer","title":"Attempt","isRequired":true,"uniqueKey":"root_dispatches.items.[INDEX].attempt","typeLabel":"integer"},"last_error":{"oneOf":[{"type":"object","title":"Last Error","additionalProperties":true,"uniqueKey":"root_dispatches.items.[INDEX].last_error.oneOf.0","typeLabel":"Last Error · object"},{"type":"null","title":"Last Error","uniqueKey":"root_dispatches.items.[INDEX].last_error.oneOf.1","typeLabel":"null"}],"uniqueKey":"root_dispatches.items.[INDEX].last_error","typeLabel":"Last Error · object | null"},"dispatched_at":{"oneOf":[{"type":"string","title":"Dispatched At","format":"date-time","uniqueKey":"root_dispatches.items.[INDEX].dispatched_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Dispatched At","uniqueKey":"root_dispatches.items.[INDEX].dispatched_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"root_dispatches.items.[INDEX].dispatched_at","typeLabel":"string\u003cdate-time> | null"}},"type":"object","required":["stage","status","attempt"],"title":"RootDispatchView","description":"Observable state of one durable root-task creation intent.","uniqueKey":"root_dispatches.items.[INDEX]","typeLabel":"RootDispatchView · object"},"type":"array","title":"Root Dispatches","description":"Durable root-task dispatch state; pending entries are awaiting reconciliation","uniqueKey":"root_dispatches","typeLabel":"RootDispatchView · object[]"},"latest":{"additionalProperties":{"properties":{"kind":{"type":"string","enum":["manifest","render","preview","classification","structure","content","inspectors"],"title":"ArtifactKind","description":"Artifact families, each versioned independently within an asset version.","isRequired":true,"uniqueKey":"latest.additionalProperties.kind","typeLabel":"enum\u003cstring>"},"artifact_version":{"type":"integer","title":"Artifact Version","isRequired":true,"uniqueKey":"latest.additionalProperties.artifact_version","typeLabel":"integer"},"url":{"type":"string","title":"Url","isRequired":true,"uniqueKey":"latest.additionalProperties.url","typeLabel":"string"},"source":{"type":"string","enum":["pipeline","user"],"title":"Source","default":"pipeline","uniqueKey":"latest.additionalProperties.source","typeLabel":"enum\u003cstring>"}},"type":"object","required":["kind","artifact_version","url"],"title":"ArtifactView","uniqueKey":"latest.additionalProperties","typeLabel":"ArtifactView · object"},"type":"object","title":"Latest","description":"Latest artifact of each kind in the newest run's scope, keyed by kind, with a full URL: the run's own outputs, the inputs it reused, corrections made since, and the version's previews","uniqueKey":"latest","typeLabel":"Latest · object"}},"type":"object","required":["asset_id","org_id","version","status","folder","run_id","updated_at","stages"],"title":"VersionStatusView","description":"The status projection, served by ``GET`` and mirrored to ``status/latest.json``.","uniqueKey":"","typeLabel":"VersionStatusView · object"},"examples":{"Example":{"title":"Example","value":{"asset_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","org_id":123,"version":123,"status":"awaiting_upload","folder":"\u003cstring>","run_id":123,"updated_at":"2023-11-07T05:31:56Z","stages":[{"stage":"previews","status":"pending","run_id":123,"attempt":123,"started_at":"2023-11-07T05:31:56Z","finished_at":"2023-11-07T05:31:56Z","error":{}}],"operation":"asset_for_review","original_ctx":{},"effective_ctx":{},"waiting_for_run_id":123,"question":{"id":"\u003cstring>","message":"\u003cstring>","expected":{"operation":"asset_for_review","inspector_type":"brief"},"observed":{"asset_type":"ads_social_media","needs_review":true,"candidates":["ads_social_media"],"classification":{"kind":"manifest","artifact_version":123,"url":"\u003cstring>","source":"pipeline"}},"options":[{"id":"\u003cstring>","label":"\u003cstring>","ctx":{}}],"asked_at":"2023-11-07T05:31:56Z","code":"asset_type_mismatch","detail":"\u003cstring>","answer":{"answered_by":"user","answered_at":"2023-11-07T05:31:56Z","option_id":"\u003cstring>"}},"root_dispatches":[{"stage":"previews","status":"pending","attempt":123,"last_error":{},"dispatched_at":"2023-11-07T05:31:56Z"}],"latest":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"54d7775a-e5f7-45ff-9a85-6ea6bb0d9350":{"description":"Invalid input or missing system-token org_id","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"b59b6cd2-2edd-490d-95cd-ee141cb98b40":{"description":"Access token is missing or invalid","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Unauthorized","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Unauthorized"}}},"exampleType":"generated"}},"exampleType":"generated"},"56c977a2-ed77-4628-968e-3ccc2e17db22":{"description":"Customer organization is unavailable","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"fa06d271-88a7-414d-90f7-f81eefcbeb3b":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"883d17c8-a6d2-449c-a0fc-327d718c6c99":{"description":"Request cancelled","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"541a85ab-c2a0-45d0-8d0a-4a920cfd6f04":{"description":"Upload service transport failure","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"033068cf-1002-4a99-86b8-b62df5754312":{"description":"Upload service not configured, or upstream unavailable","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"b656f49f-2ac1-4f22-b74f-210d218c7d66":{"description":"Upload service request timed out after 30 seconds","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"fddd0f75-2edc-431f-9e96-44adb7c7da76":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://app.inspack.com/api/v1/docs/json"},"subdomain":"getgenai","siteName":"Inspack","title":"Read upload status once and retrieve latest artifacts - Inspack","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T17:35:28.900Z","originalFileLocation":"api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts.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=\"Supply asset_current_version in the query. Customer org_id comes from authentication and overrides supplied values. System tokens require explicit org_id in the query. Backend response bodies, status codes, and URLs are preserved. Upload operations consume no review credits. The portal adapts this route to the current backend versioned path. Status reports the newest run\u0026#x27;s operation, original_ctx and effective_ctx, its run_id, a waiting_for_run_id while it is parked behind an earlier run, and its steering question with any answer; latest is scoped to that run. A status of awaiting_input is answered through POST /api/v1/upload/asset/{asset_id}/process; cancelled is terminal. Artifact reads use bearer authentication at /storage. Requests propagate cancellation and time out after 30 seconds.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Inspack\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/favicon-light-48.png?fit=max\u0026amp;auto=format\u0026amp;n=CklDpBHBp-Fdktvd\u0026amp;q=85\u0026amp;s=06554e4bd3d24100159a474183561103\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/favicon-light-48.png?fit=max\u0026amp;auto=format\u0026amp;n=CklDpBHBp-Fdktvd\u0026amp;q=85\u0026amp;s=06554e4bd3d24100159a474183561103\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/favicon-light-48.png?fit=max\u0026amp;auto=format\u0026amp;n=CklDpBHBp-Fdktvd\u0026amp;q=85\u0026amp;s=06554e4bd3d24100159a474183561103\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/favicon-light-48.png?fit=max\u0026amp;auto=format\u0026amp;n=CklDpBHBp-Fdktvd\u0026amp;q=85\u0026amp;s=06554e4bd3d24100159a474183561103\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/favicon-dark-48.png?fit=max\u0026amp;auto=format\u0026amp;n=CklDpBHBp-Fdktvd\u0026amp;q=85\u0026amp;s=5d8615b2564ee3c37bf4c121755166a6\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/favicon-dark-48.png?fit=max\u0026amp;auto=format\u0026amp;n=CklDpBHBp-Fdktvd\u0026amp;q=85\u0026amp;s=5d8615b2564ee3c37bf4c121755166a6\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/favicon-dark-48.png?fit=max\u0026amp;auto=format\u0026amp;n=CklDpBHBp-Fdktvd\u0026amp;q=85\u0026amp;s=5d8615b2564ee3c37bf4c121755166a6\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Read upload status once and retrieve latest artifacts - Inspack\">\u003cmeta data-mint-head property=\"og:description\" content=\"Supply asset_current_version in the query. Customer org_id comes from authentication and overrides supplied values. System tokens require explicit org_id in the query. Backend response bodies, status codes, and URLs are preserved. Upload operations consume no review credits. The portal adapts this route to the current backend versioned path. Status reports the newest run\u0026#x27;s operation, original_ctx and effective_ctx, its run_id, a waiting_for_run_id while it is parked behind an earlier run, and its steering question with any answer; latest is scoped to that run. A status of awaiting_input is answered through POST /api/v1/upload/asset/{asset_id}/process; cancelled is terminal. Artifact reads use bearer authentication at /storage. Requests propagate cancellation and time out after 30 seconds.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Inspack\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.inspack.com/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://getgenai.mintlify.app/_mintlify/api/og/v2?division=Upload\u0026amp;title=Read+upload+status+once+and+retrieve+latest+artifacts\u0026amp;description=Supply+asset_current_version+in+the+query.+Customer+org_id+comes+from+authentication+and+overrides+supplied+values.+System+tokens+require+explicit+org_id+in+the\u0026amp;theme=8d2408e69a874ac675292c7b\u0026amp;signature=101137ff955ab01103585b92bacd29007324ae287d9a941ef6c66b52663631f4\">\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=\"Read upload status once and retrieve latest artifacts - Inspack\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Supply asset_current_version in the query. Customer org_id comes from authentication and overrides supplied values. System tokens require explicit org_id in the query. Backend response bodies, status codes, and URLs are preserved. Upload operations consume no review credits. The portal adapts this route to the current backend versioned path. Status reports the newest run\u0026#x27;s operation, original_ctx and effective_ctx, its run_id, a waiting_for_run_id while it is parked behind an earlier run, and its steering question with any answer; latest is scoped to that run. A status of awaiting_input is answered through POST /api/v1/upload/asset/{asset_id}/process; cancelled is terminal. Artifact reads use bearer authentication at /storage. Requests propagate cancellation and time out after 30 seconds.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://getgenai.mintlify.app/_mintlify/api/og/v2?division=Upload\u0026amp;title=Read+upload+status+once+and+retrieve+latest+artifacts\u0026amp;description=Supply+asset_current_version+in+the+query.+Customer+org_id+comes+from+authentication+and+overrides+supplied+values.+System+tokens+require+explicit+org_id+in+the\u0026amp;theme=8d2408e69a874ac675292c7b\u0026amp;signature=101137ff955ab01103585b92bacd29007324ae287d9a941ef6c66b52663631f4\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/getgenai/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Inspack\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5F47CE\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.inspack.com/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.inspack.com/#organization\",\"name\":\"Inspack\",\"url\":\"https://docs.inspack.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/getgenai/CklDpBHBp-Fdktvd/images/inspack-logo-light.png?fit=max\u0026auto=format\u0026n=CklDpBHBp-Fdktvd\u0026q=85\u0026s=99b12855ae176e5675045f5bc94df294\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.inspack.com#website\",\"name\":\"Inspack\",\"url\":\"https://docs.inspack.com\",\"publisher\":{\"@id\":\"https://docs.inspack.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.inspack.com/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts#webpage\",\"url\":\"https://docs.inspack.com/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts\",\"name\":\"Read upload status once and retrieve latest artifacts\",\"description\":\"Supply asset_current_version in the query. Customer org_id comes from authentication and overrides supplied values. System tokens require explicit org_id in the query. Backend response bodies, status codes, and URLs are preserved. Upload operations consume no review credits. The portal adapts this route to the current backend versioned path. Status reports the newest run's operation, original_ctx and effective_ctx, its run_id, a waiting_for_run_id while it is parked behind an earlier run, and its steering question with any answer; latest is scoped to that run. A status of awaiting_input is answered through POST /api/v1/upload/asset/{asset_id}/process; cancelled is terminal. Artifact reads use bearer authentication at /storage. Requests propagate cancellation and time out after 30 seconds.\",\"dateModified\":\"2026-10-29T17:35:28.900Z\",\"isPartOf\":{\"@id\":\"https://docs.inspack.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.inspack.com/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.inspack.com/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Upload\",\"item\":\"https://docs.inspack.com/api-reference/upload/allocate-an-upload-version-and-backend-signed-put-slots\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Read upload status once and retrieve latest artifacts\",\"item\":\"https://docs.inspack.com/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.inspack.com/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts#apireference\",\"headline\":\"Read upload status once and retrieve latest artifacts\",\"name\":\"Read upload status once and retrieve latest artifacts\",\"description\":\"Supply asset_current_version in the query. Customer org_id comes from authentication and overrides supplied values. System tokens require explicit org_id in the query. Backend response bodies, status codes, and URLs are preserved. Upload operations consume no review credits. The portal adapts this route to the current backend versioned path. Status reports the newest run's operation, original_ctx and effective_ctx, its run_id, a waiting_for_run_id while it is parked behind an earlier run, and its steering question with any answer; latest is scoped to that run. A status of awaiting_input is answered through POST /api/v1/upload/asset/{asset_id}/process; cancelled is terminal. Artifact reads use bearer authentication at /storage. Requests propagate cancellation and time out after 30 seconds.\",\"url\":\"https://docs.inspack.com/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts\",\"mainEntityOfPage\":{\"@id\":\"https://docs.inspack.com/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts#webpage\"},\"dateModified\":\"2026-10-29T17:35:28.900Z\",\"publisher\":{\"@id\":\"https://docs.inspack.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.inspack.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Inspack\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Inspack","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]},{"group":"Upload","pages":[{"title":"Allocate an upload version and backend signed PUT slots","description":"Customer org_id comes from authentication and overrides supplied values. System tokens require explicit org_id, in the init/process body or status query. Backend response bodies, status codes, and URLs are preserved. Upload operations consume no review credits. PUT every upload slot with all required_headers verbatim, without a bearer token; then POST /api/v1/upload/asset/{asset_id}/process with asset_current_version and an optional ctx, and poll the protected asset route with asset_current_version. Artifact reads use bearer authentication at /storage. Requests propagate cancellation and time out after 30 seconds.","deprecated":null,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json post /api/v1/upload/asset/init","href":"/api-reference/upload/allocate-an-upload-version-and-backend-signed-put-slots"},{"title":"Read upload status once and retrieve latest artifacts","deprecated":null,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json get /api/v1/upload/asset/{asset_id}","href":"/api-reference/upload/read-upload-status-once-and-retrieve-latest-artifacts"},{"title":"Retired - supply asset_current_version as a request parameter","description":"Move to GET /api/v1/upload/asset/{asset_id} with asset_current_version in the query. This protected route returns HTTP 410 and performs no upstream work.","deprecated":true,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json get /api/v1/upload/asset/{asset_id}/versions/{version}","href":"/api-reference/upload/retired--supply-asset_current_version-as-a-request-parameter"},{"title":"Retired - supply asset_current_version as a request parameter","deprecated":true,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json post /api/v1/upload/asset/{asset_id}/versions/{version}/start","href":"/api-reference/upload/retired--supply-asset_current_version-as-a-request-parameter-1"},{"title":"Retired - use POST /api/v1/upload/asset/{asset_id}/process","deprecated":true,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json post /api/v1/upload/asset/{asset_id}/start","href":"/api-reference/upload/retired--use-post-apiv1uploadasset-process"},{"title":"Process an uploaded version for an intent, or answer its steering question","deprecated":null,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json post /api/v1/upload/asset/{asset_id}/process","href":"/api-reference/upload/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question"},{"title":"Retired - use POST /api/v1/upload/asset/init","deprecated":true,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json post /api/v1/doc-parse","href":"/api-reference/upload/retired--use-post-apiv1uploadassetinit"}]},{"group":"Inspector","pages":[{"title":"Review content and return inspector results and aggregated summaries","deprecated":null,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json post /api/v1/inspector/review","href":"/api-reference/inspector/review-content-and-return-inspector-results-and-aggregated-summaries"},{"title":"Retired - use POST /api/v1/inspector/review","deprecated":true,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json post /api/v1/inspector/inspect_multiple","href":"/api-reference/inspector/retired--use-post-apiv1inspectorreview"},{"title":"Retired - use POST /api/v1/inspector/review","deprecated":true,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json post /api/v1/inspector/inspect","href":"/api-reference/inspector/retired--use-post-apiv1inspectorreview-1"},{"title":"List inspectors linked to the caller's organization","deprecated":null,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json get /api/v1/inspector/get_inspectors","href":"/api-reference/inspector/list-inspectors-linked-to-the-callers-organization"},{"title":"Retired - use POST /api/v1/inspector/review","deprecated":true,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json post /api/v1/inspector/aggregate","href":"/api-reference/inspector/retired--use-post-apiv1inspectorreview-2"}]},{"group":"Documents","pages":[{"title":"Generate an Insights Report PDF","deprecated":null,"version":null,"openapi":"https://app.inspack.com/api/v1/docs/json get /api/v1/documents/report-export","href":"/api-reference/documents/generate-an-insights-report-pdf"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"title":"Read upload status once and retrieve latest artifacts - Inspack","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-26-lDe7V.js","utils-CWQmgYtH.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-4-Aw3rSD.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-C2zjXYA5.js","snippetPresets-DFmpFA7C.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-FJpQavWq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D_GvPF7k.js","shallow-Bs2ZB0NO.js","getApiPlaygroundDisplay-DCcqJJk-.js","CodeSnippet-DzDxawVe.js","CodeSnippets-aUr7fU-7.js","Page-CT9uE8Ip.js","getPastedJson-Y1fKsj_I.js","icon-DI4zTsDr.js","MethodPill-C0nDlmSQ.js","DuplicateIcon-NUXbx2nQ.js","createIcon-BdTHrPAi.js","DynamicMarkdown-CtpgKJwj.js","SectionHeading-B3x35tOt.js","axios-vUo_bRtp.js","Markdown-3OmurJMP.js","clsx-DMKzROTp.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-1ms6tsT-.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Ke9xIMFx.js"]}