Process an uploaded version for an intent, or answer its steering question
Supply asset_current_version in the JSON body. Omit ctx for a review upload (ctx.operation asset_for_review: previews, classification, panels where applicable, content). Send ctx {operation: inspector_extraction, inspector_type, on_question} to draft inspectors from a brief, master label, brand guidelines or safety data sheet, {operation: reference_asset} for previews and classification only, or {operation: answer_question, run_id, question_id, option_id} to resume a run that paused with status awaiting_input. The backend validates ctx strictly: a null ctx, an unknown operation or an extra field returns 422 before any work. The 202 response keeps the start fields (status, deduplicated, stages) and adds run_id, operation and question; follow the returned version when deduplicated, and answer a question through this same route for that version. A repeated accepted intent returns the current state; a stale or conflicting answer returns 409 and an option the question does not offer 400. Customer org_id comes from authentication and overrides supplied values; system tokens require explicit org_id in the body. Upload operations consume no review credits. Requests propagate cancellation and time out after 30 seconds. Replaces the retired /start route.
POST
/
api
/
v1
/
upload
/
asset
/
{asset_id}
/
process
Process an uploaded version for an intent, or answer its steering question
Public intents arrive in ctx.operation and the service derives the pipeline from them.
attachment is the internal preview-only policy of imported Bynder originals; it is recorded
on their runs but never accepted from a caller.
{"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":"6ae3c6df32fdfe8182ae1a87","collectionId":"40373f7a-8943-434d-9043-4b811a144196","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae3c6df32fdfe8182ae1a87"},"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/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question","slug":"/api-reference/upload/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question","pageMetadata":{"title":"Process an uploaded version for an intent, or answer its steering question","description":"Supply asset_current_version in the JSON body. Omit ctx for a review upload (ctx.operation asset_for_review: previews, classification, panels where applicable, content). Send ctx {operation: inspector_extraction, inspector_type, on_question} to draft inspectors from a brief, master label, brand guidelines or safety data sheet, {operation: reference_asset} for previews and classification only, or {operation: answer_question, run_id, question_id, option_id} to resume a run that paused with status awaiting_input. The backend validates ctx strictly: a null ctx, an unknown operation or an extra field returns 422 before any work. The 202 response keeps the start fields (status, deduplicated, stages) and adds run_id, operation and question; follow the returned version when deduplicated, and answer a question through this same route for that version. A repeated accepted intent returns the current state; a stale or conflicting answer returns 409 and an option the question does not offer 400. Customer org_id comes from authentication and overrides supplied values; system tokens require explicit org_id in the body. Upload operations consume no review credits. Requests propagate cancellation and time out after 30 seconds. Replaces the retired /start route.","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","autogeneratedByOpenApi":true},"description":"Supply asset_current_version in the JSON body. Omit ctx for a review upload (ctx.operation asset_for_review: previews, classification, panels where applicable, content). Send ctx {operation: inspector_extraction, inspector_type, on_question} to draft inspectors from a brief, master label, brand guidelines or safety data sheet, {operation: reference_asset} for previews and classification only, or {operation: answer_question, run_id, question_id, option_id} to resume a run that paused with status awaiting_input. The backend validates ctx strictly: a null ctx, an unknown operation or an extra field returns 422 before any work. The 202 response keeps the start fields (status, deduplicated, stages) and adds run_id, operation and question; follow the returned version when deduplicated, and answer a question through this same route for that version. A repeated accepted intent returns the current state; a stale or conflicting answer returns 409 and an option the question does not offer 400. Customer org_id comes from authentication and overrides supplied values; system tokens require explicit org_id in the body. Upload operations consume no review credits. Requests propagate cancellation and time out after 30 seconds. Replaces the retired /start route.","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":"Process an uploaded version for an intent, or answer its steering question","description":"Supply asset_current_version in the JSON body. Omit ctx for a review upload (ctx.operation asset_for_review: previews, classification, panels where applicable, content). Send ctx {operation: inspector_extraction, inspector_type, on_question} to draft inspectors from a brief, master label, brand guidelines or safety data sheet, {operation: reference_asset} for previews and classification only, or {operation: answer_question, run_id, question_id, option_id} to resume a run that paused with status awaiting_input. The backend validates ctx strictly: a null ctx, an unknown operation or an extra field returns 422 before any work. The 202 response keeps the start fields (status, deduplicated, stages) and adds run_id, operation and question; follow the returned version when deduplicated, and answer a question through this same route for that version. A repeated accepted intent returns the current state; a stale or conflicting answer returns 409 and an option the question does not offer 400. Customer org_id comes from authentication and overrides supplied values; system tokens require explicit org_id in the body. Upload operations consume no review credits. Requests propagate cancellation and time out after 30 seconds. Replaces the retired /start route.","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","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Upload"],"x-protected":true,"summary":"Process an uploaded version for an intent, or answer its steering question","description":"Supply asset_current_version in the JSON body. Omit ctx for a review upload (ctx.operation asset_for_review: previews, classification, panels where applicable, content). Send ctx {operation: inspector_extraction, inspector_type, on_question} to draft inspectors from a brief, master label, brand guidelines or safety data sheet, {operation: reference_asset} for previews and classification only, or {operation: answer_question, run_id, question_id, option_id} to resume a run that paused with status awaiting_input. The backend validates ctx strictly: a null ctx, an unknown operation or an extra field returns 422 before any work. The 202 response keeps the start fields (status, deduplicated, stages) and adds run_id, operation and question; follow the returned version when deduplicated, and answer a question through this same route for that version. A repeated accepted intent returns the current state; a stale or conflicting answer returns 409 and an option the question does not offer 400. Customer org_id comes from authentication and overrides supplied values; system tokens require explicit org_id in the body. Upload operations consume no review credits. Requests propagate cancellation and time out after 30 seconds. Replaces the retired /start route.","parameters":["b866cea4-8027-4f05-af6f-6f503e95547f"],"requestBody":"973afe5b-e0a6-4b7e-8b10-c51f06d67c63","x-proxy-swagger":{"url":"${process.env.INSPECTOR_API}/openapi.json","remotePath":"/api/upload/asset/{asset_id}/versions/{version}/process","mode":"proxy-response","additional-responses":{"404":{"description":"Unknown asset or version for this organization"},"409":{"description":"Upload incomplete, stale question, or conflicting answer"},"422":{"description":"Invalid processing context (null ctx, unknown operation, or extra fields)"}}},"responses":{"202":"845b17eb-2f5b-40f3-bc1a-b606705e964c","400":"e18c5c2a-5eb6-4de0-b95e-c0a96204b910","401":"c9093110-3744-44e6-a2b6-803dddb2a74d","403":"16177752-faad-41ce-a54d-df685b8f66dd","404":"dfcd3cea-b637-4ad2-afac-cfa76925f8cc","409":"214897ca-4f3c-44b3-a10c-ae16a95d5441","422":"c240bc9f-c2ce-4dca-a1fc-8dad4c36dbdf","499":"636ab609-08c1-4132-be63-4ce95131a981","502":"262222a0-f838-46dc-9b07-c134986cca40","503":"4f4eb89f-04ca-49da-a52e-53e98dafceb4","504":"30ba21ce-8971-4eec-9203-cff7e6b5723d"},"method":"post","type":"path","servers":[],"security":["fddd0f75-2edc-431f-9e96-44adb7c7da76"],"path":"/api/v1/upload/asset/{asset_id}/process","baseUrlOptions":[],"title":"Process an uploaded version for an intent, or answer its steering question","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"b866cea4-8027-4f05-af6f-6f503e95547f":{"in":"path","name":"asset_id","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["asset_current_version"],"properties":{"asset_current_version":{"type":"integer","minimum":1,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"asset_current_version","typeLabel":"integer"},"org_id":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Required for system tokens; customer organization comes from authentication.","uniqueKey":"org_id","typeLabel":"integer"},"ctx":{"oneOf":[{"type":"object","title":"AssetForReviewContext","description":"Processing intent, discriminated on operation; asset_for_review when omitted. Unknown operations and extra fields are rejected.","required":["operation"],"properties":{"operation":{"type":"string","enum":["asset_for_review"],"isRequired":true,"uniqueKey":"ctx.oneOf.0.operation","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"ctx.oneOf.0","typeLabel":"AssetForReviewContext · object"},{"type":"object","title":"InspectorExtractionContext","description":"Processing intent, discriminated on operation; asset_for_review when omitted. Unknown operations and extra fields are rejected.","required":["operation","inspector_type"],"properties":{"operation":{"type":"string","enum":["inspector_extraction"],"isRequired":true,"uniqueKey":"ctx.oneOf.1.operation","typeLabel":"enum\u003cstring>"},"inspector_type":{"type":"string","enum":["brief","master_label","brand_guidelines","safety_data_sheet"],"isRequired":true,"uniqueKey":"ctx.oneOf.1.inspector_type","typeLabel":"enum\u003cstring>"},"additional_context":{"oneOf":[{"type":"string","description":"Optional extraction instructions. Blank text is absent; other text is preserved verbatim. Different instructions request a new draft. Accepted but ignored by master-label extraction.","uniqueKey":"ctx.oneOf.1.additional_context.oneOf.0","typeLabel":"string"},{"type":"null","description":"Optional extraction instructions. Blank text is absent; other text is preserved verbatim. Different instructions request a new draft. Accepted but ignored by master-label extraction.","uniqueKey":"ctx.oneOf.1.additional_context.oneOf.1","typeLabel":"null"}],"uniqueKey":"ctx.oneOf.1.additional_context","typeLabel":"string | null"},"on_question":{"type":"string","enum":["ask","proceed","stop"],"default":"ask","description":"ask pauses on an incompatible verdict; proceed extracts anyway; stop cancels after classification.","uniqueKey":"ctx.oneOf.1.on_question","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"ctx.oneOf.1","typeLabel":"InspectorExtractionContext · object"},{"type":"object","title":"ReferenceAssetContext","description":"Processing intent, discriminated on operation; asset_for_review when omitted. Unknown operations and extra fields are rejected.","required":["operation"],"properties":{"operation":{"type":"string","enum":["reference_asset"],"isRequired":true,"uniqueKey":"ctx.oneOf.2.operation","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"ctx.oneOf.2","typeLabel":"ReferenceAssetContext · object"},{"type":"object","title":"AnswerQuestionContext","description":"Processing intent, discriminated on operation; asset_for_review when omitted. Unknown operations and extra fields are rejected.","required":["operation","run_id","question_id","option_id"],"properties":{"operation":{"type":"string","enum":["answer_question"],"isRequired":true,"uniqueKey":"ctx.oneOf.3.operation","typeLabel":"enum\u003cstring>"},"run_id":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"ctx.oneOf.3.run_id","typeLabel":"integer"},"question_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"ctx.oneOf.3.question_id","typeLabel":"string"},"option_id":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"ctx.oneOf.3.option_id","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"ctx.oneOf.3","typeLabel":"AnswerQuestionContext · object"}],"uniqueKey":"ctx","typeLabel":"AssetForReviewContext · object | InspectorExtractionContext · object | ReferenceAssetContext · object | AnswerQuestionContext · object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"asset_current_version":4503599627370496,"org_id":4503599627370496,"ctx":{"operation":"asset_for_review"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"845b17eb-2f5b-40f3-bc1a-b606705e964c":{"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>"},"version":{"type":"integer","title":"Version","description":"Version the pipeline runs for; the previous one when deduplicated","isRequired":true,"uniqueKey":"version","typeLabel":"integer"},"folder":{"type":"string","title":"Folder","isRequired":true,"uniqueKey":"folder","typeLabel":"string"},"status_url":{"type":"string","title":"Status Url","isRequired":true,"uniqueKey":"status_url","typeLabel":"string"},"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>"},"run_id":{"type":"integer","title":"Run Id","isRequired":true,"uniqueKey":"run_id","typeLabel":"integer"},"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":"operation","typeLabel":"enum\u003cstring>"},"deduplicated":{"type":"boolean","title":"Deduplicated","description":"True when matching bytes reuse the previous source version; processing may ask how to proceed","default":false,"uniqueKey":"deduplicated","typeLabel":"boolean"},"stages":{"items":{"type":"string","enum":["previews","classification","structure","content","inspectors"],"title":"Stage","description":"Pipeline stages, one Cloud Task each.","uniqueKey":"stages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","title":"Stages","description":"Stages enqueued by this call","uniqueKey":"stages","typeLabel":"enum\u003cstring>[]"},"question":{"oneOf":[{"type":"object","title":"Question","description":"Open or answered question of the run, if any","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":"Open or answered question of the run, if any","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":"Open or answered question of the run, if any","uniqueKey":"question.oneOf.2","typeLabel":"null"}],"uniqueKey":"question","typeLabel":"Question · object | ExistingExtractionQuestion · object | null"}},"type":"object","required":["asset_id","version","folder","status_url","status","run_id","operation"],"title":"ProcessUploadResponse","uniqueKey":"","typeLabel":"ProcessUploadResponse · object"},"examples":{"Example":{"title":"Example","value":{"asset_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","version":123,"folder":"\u003cstring>","status_url":"\u003cstring>","status":"awaiting_upload","run_id":123,"operation":"asset_for_review","deduplicated":false,"stages":["previews"],"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>"}}}}},"exampleType":"generated"}},"exampleType":"generated"},"e18c5c2a-5eb6-4de0-b95e-c0a96204b910":{"description":"Invalid input or missing system-token org_id","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"c9093110-3744-44e6-a2b6-803dddb2a74d":{"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"},"16177752-faad-41ce-a54d-df685b8f66dd":{"description":"Customer organization is unavailable","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"dfcd3cea-b637-4ad2-afac-cfa76925f8cc":{"description":"Unknown asset or version for this organization","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"214897ca-4f3c-44b3-a10c-ae16a95d5441":{"description":"Upload incomplete, stale question, or conflicting answer","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"c240bc9f-c2ce-4dca-a1fc-8dad4c36dbdf":{"description":"Invalid processing context (null ctx, unknown operation, or extra fields)","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"636ab609-08c1-4132-be63-4ce95131a981":{"description":"Request cancelled","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"262222a0-f838-46dc-9b07-c134986cca40":{"description":"Upload service transport failure","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"4f4eb89f-04ca-49da-a52e-53e98dafceb4":{"description":"Upload service not configured, or upstream unavailable","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"30ba21ce-8971-4eec-9203-cff7e6b5723d":{"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":"Process an uploaded version for an intent, or answer its steering question - Inspack","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-29T17:35:28.962Z","originalFileLocation":"api-reference/upload/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question.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 JSON body. Omit ctx for a review upload (ctx.operation asset_for_review: previews, classification, panels where applicable, content). Send ctx {operation: inspector_extraction, inspector_type, on_question} to draft inspectors from a brief, master label, brand guidelines or safety data sheet, {operation: reference_asset} for previews and classification only, or {operation: answer_question, run_id, question_id, option_id} to resume a run that paused with status awaiting_input. The backend validates ctx strictly: a null ctx, an unknown operation or an extra field returns 422 before any work. The 202 response keeps the start fields (status, deduplicated, stages) and adds run_id, operation and question; follow the returned version when deduplicated, and answer a question through this same route for that version. A repeated accepted intent returns the current state; a stale or conflicting answer returns 409 and an option the question does not offer 400. Customer org_id comes from authentication and overrides supplied values; system tokens require explicit org_id in the body. Upload operations consume no review credits. Requests propagate cancellation and time out after 30 seconds. Replaces the retired /start route.\">\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=\"Process an uploaded version for an intent, or answer its steering question - Inspack\">\u003cmeta data-mint-head property=\"og:description\" content=\"Supply asset_current_version in the JSON body. Omit ctx for a review upload (ctx.operation asset_for_review: previews, classification, panels where applicable, content). Send ctx {operation: inspector_extraction, inspector_type, on_question} to draft inspectors from a brief, master label, brand guidelines or safety data sheet, {operation: reference_asset} for previews and classification only, or {operation: answer_question, run_id, question_id, option_id} to resume a run that paused with status awaiting_input. The backend validates ctx strictly: a null ctx, an unknown operation or an extra field returns 422 before any work. The 202 response keeps the start fields (status, deduplicated, stages) and adds run_id, operation and question; follow the returned version when deduplicated, and answer a question through this same route for that version. A repeated accepted intent returns the current state; a stale or conflicting answer returns 409 and an option the question does not offer 400. Customer org_id comes from authentication and overrides supplied values; system tokens require explicit org_id in the body. Upload operations consume no review credits. Requests propagate cancellation and time out after 30 seconds. Replaces the retired /start route.\">\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/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question\">\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=Process+an+uploaded+version+for+an+intent%2C+or+answer+its+steering+question\u0026amp;description=Supply+asset_current_version+in+the+JSON+body.+Omit+ctx+for+a+review+upload+%28ctx.operation+asset_for_review%3A+previews%2C+classification%2C+panels+where+applicable%2C+\u0026amp;theme=8d2408e69a874ac675292c7b\u0026amp;signature=6ad2316a774fa5ad3e5481d1ba09de725d7e3d9159dd50a63ac340543204c1fd\">\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=\"Process an uploaded version for an intent, or answer its steering question - Inspack\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Supply asset_current_version in the JSON body. Omit ctx for a review upload (ctx.operation asset_for_review: previews, classification, panels where applicable, content). Send ctx {operation: inspector_extraction, inspector_type, on_question} to draft inspectors from a brief, master label, brand guidelines or safety data sheet, {operation: reference_asset} for previews and classification only, or {operation: answer_question, run_id, question_id, option_id} to resume a run that paused with status awaiting_input. The backend validates ctx strictly: a null ctx, an unknown operation or an extra field returns 422 before any work. The 202 response keeps the start fields (status, deduplicated, stages) and adds run_id, operation and question; follow the returned version when deduplicated, and answer a question through this same route for that version. A repeated accepted intent returns the current state; a stale or conflicting answer returns 409 and an option the question does not offer 400. Customer org_id comes from authentication and overrides supplied values; system tokens require explicit org_id in the body. Upload operations consume no review credits. Requests propagate cancellation and time out after 30 seconds. Replaces the retired /start route.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://getgenai.mintlify.app/_mintlify/api/og/v2?division=Upload\u0026amp;title=Process+an+uploaded+version+for+an+intent%2C+or+answer+its+steering+question\u0026amp;description=Supply+asset_current_version+in+the+JSON+body.+Omit+ctx+for+a+review+upload+%28ctx.operation+asset_for_review%3A+previews%2C+classification%2C+panels+where+applicable%2C+\u0026amp;theme=8d2408e69a874ac675292c7b\u0026amp;signature=6ad2316a774fa5ad3e5481d1ba09de725d7e3d9159dd50a63ac340543204c1fd\">\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/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question\">\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/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question.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/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question#webpage\",\"url\":\"https://docs.inspack.com/api-reference/upload/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question\",\"name\":\"Process an uploaded version for an intent, or answer its steering question\",\"description\":\"Supply asset_current_version in the JSON body. Omit ctx for a review upload (ctx.operation asset_for_review: previews, classification, panels where applicable, content). Send ctx {operation: inspector_extraction, inspector_type, on_question} to draft inspectors from a brief, master label, brand guidelines or safety data sheet, {operation: reference_asset} for previews and classification only, or {operation: answer_question, run_id, question_id, option_id} to resume a run that paused with status awaiting_input. The backend validates ctx strictly: a null ctx, an unknown operation or an extra field returns 422 before any work. The 202 response keeps the start fields (status, deduplicated, stages) and adds run_id, operation and question; follow the returned version when deduplicated, and answer a question through this same route for that version. A repeated accepted intent returns the current state; a stale or conflicting answer returns 409 and an option the question does not offer 400. Customer org_id comes from authentication and overrides supplied values; system tokens require explicit org_id in the body. Upload operations consume no review credits. Requests propagate cancellation and time out after 30 seconds. Replaces the retired /start route.\",\"dateModified\":\"2026-10-29T17:35:28.962Z\",\"isPartOf\":{\"@id\":\"https://docs.inspack.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.inspack.com/api-reference/upload/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.inspack.com/api-reference/upload/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question#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\":\"Process an uploaded version for an intent, or answer its steering question\",\"item\":\"https://docs.inspack.com/api-reference/upload/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.inspack.com/api-reference/upload/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question#apireference\",\"headline\":\"Process an uploaded version for an intent, or answer its steering question\",\"name\":\"Process an uploaded version for an intent, or answer its steering question\",\"description\":\"Supply asset_current_version in the JSON body. Omit ctx for a review upload (ctx.operation asset_for_review: previews, classification, panels where applicable, content). Send ctx {operation: inspector_extraction, inspector_type, on_question} to draft inspectors from a brief, master label, brand guidelines or safety data sheet, {operation: reference_asset} for previews and classification only, or {operation: answer_question, run_id, question_id, option_id} to resume a run that paused with status awaiting_input. The backend validates ctx strictly: a null ctx, an unknown operation or an extra field returns 422 before any work. The 202 response keeps the start fields (status, deduplicated, stages) and adds run_id, operation and question; follow the returned version when deduplicated, and answer a question through this same route for that version. A repeated accepted intent returns the current state; a stale or conflicting answer returns 409 and an option the question does not offer 400. Customer org_id comes from authentication and overrides supplied values; system tokens require explicit org_id in the body. Upload operations consume no review credits. Requests propagate cancellation and time out after 30 seconds. Replaces the retired /start route.\",\"url\":\"https://docs.inspack.com/api-reference/upload/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question\",\"mainEntityOfPage\":{\"@id\":\"https://docs.inspack.com/api-reference/upload/process-an-uploaded-version-for-an-intent-or-answer-its-steering-question#webpage\"},\"dateModified\":\"2026-10-29T17:35:28.962Z\",\"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","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","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","description":"Processing is requested through /process with asset_current_version in the JSON body and an optional ctx; omitting ctx keeps the previous behaviour (full extraction for a review). This protected route returns HTTP 410 with the replacement and migration steps and performs no upstream work.","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","description":"Initialize with readable {filename, content_type, bytes}, PUT every returned upload slot with required_headers verbatim and no bearer token, start, then poll status. Follow any deduplicated version returned by start. Read latest.content.url using bearer authentication at /storage, or use MCP get_upload_status for content hydration. Convert the artifact payload to review objects. No parsing, upload allocation, or review credits are consumed by this retired endpoint.","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":"Process an uploaded version for an intent, or answer its steering question - 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"]}