Step 3: checks the uploaded file (size, type, contents) and creates the input. Safe to repeat: a completed upload answers with the same input. Audio and video keep processing for minutes afterwards: follow input.id with get_input.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CaptureFlow API","description":"Connect AI assistants and your own tools to CaptureFlow: the REST API and the MCP server.","colors":{"primary":"#7C3AED","light":"#A855F7","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/capture-flow/t7wVJOfCjnkpBr6I/logo/light.png?fit=max\u0026auto=format\u0026n=t7wVJOfCjnkpBr6I\u0026q=85\u0026s=2e3560c99c02683d52b248d6687733f1","dark":"https://mintcdn.com/capture-flow/t7wVJOfCjnkpBr6I/logo/dark.png?fit=max\u0026auto=format\u0026n=t7wVJOfCjnkpBr6I\u0026q=85\u0026s=0af06966fa2259640e3d130dc6e587a8","href":"https://captureflow.ai"},"favicon":"https://mintcdn.com/capture-flow/t7wVJOfCjnkpBr6I/favicon.png?fit=max\u0026auto=format\u0026n=t7wVJOfCjnkpBr6I\u0026q=85\u0026s=78dde9dde3fa7e9ade6c677bcf6c3600","api":{"playground":{"display":"interactive"}},"navbar":{"links":[{"href":"https://help.captureflow.ai","label":"Help center"}],"primary":{"type":"button","label":"Open CaptureFlow","href":"https://app.captureflow.ai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"capture-flow","hasAudioNarration":false,"actualSubdomain":"capture-flow","customDomains":[],"gitSource":{"type":"github","owner":"captureflow-ai","repo":"captureflow-app","deployBranch":"main","contentDirectory":"mintlify","isPrivate":true,"mountPath":"","label":"","_id":"6ae60b79b2ba51455ce8d692"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae60c79b2ba51455ce8de2e","clientVersion":"0.0.4043","searchFilterCounts":[]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/inputs/complete-a-file-upload","slug":"/api-reference/inputs/complete-a-file-upload","pageMetadata":{"title":"Complete a file upload","description":"Step 3: checks the uploaded file (size, type, contents) and creates the input. Safe to repeat: a completed upload answers with the same input. Audio and video keep processing for minutes afterwards: follow `input.id` with get_input.","deprecated":null,"version":null,"openapi":"/openapi.json post /inputs/uploads/{id}/complete","href":"/api-reference/inputs/complete-a-file-upload","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Step 3: checks the uploaded file (size, type, contents) and creates the input. Safe to repeat: a completed upload answers with the same input. Audio and video keep processing for minutes afterwards: follow \", _jsx(_components.code, {\n children: \"input.id\"\n }), \" with get_input.\"]\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":"Complete a file upload","description":"Step 3: checks the uploaded file (size, type, contents) and creates the input. Safe to repeat: a completed upload answers with the same input. Audio and video keep processing for minutes afterwards: follow `input.id` with get_input.","deprecated":null,"version":null,"openapi":"/openapi.json post /inputs/uploads/{id}/complete","href":"/api-reference/inputs/complete-a-file-upload","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"complete_input_upload","summary":"Complete a file upload","description":"Step 3: checks the uploaded file (size, type, contents) and creates the input. Safe to repeat: a completed upload answers with the same input. Audio and video keep processing for minutes afterwards: follow `input.id` with get_input.","tags":["Inputs"],"x-required-scope":"inputs:write","x-requires-paid-plan":true,"parameters":["aa0acc72-813a-4118-b95d-223f8647ddb9","3f838997-cf76-4956-8e76-e2d8950a6593","de75fda8-951a-4991-add7-034c21600ae5"],"requestBody":"d83c6fe4-244e-4388-9972-22673b558629","responses":{"200":"01f7a668-76ed-4679-aae7-517f585ca1ba","400":"0a3b05d3-0ce0-4fab-be20-8fab7f0272e9","401":"2f66d06d-2c29-41e0-91b1-fbc7a8d34963","402":"8cde6676-2ac6-4c10-ab1f-66399605b7d2","403":"c31d0226-37f7-4155-ab38-41d7cc95acaf","404":"54889421-8c38-4769-8df9-0e76daea8f87","409":"42e35e0f-d8ca-4375-a173-9a92c3005aa3","413":"229f30b0-902e-4354-9544-4bbf5fe72b95","422":"3fa50a39-cd14-4b24-8d6d-7ced27c0f95f","423":"7a2cf48e-4456-4d5e-98c8-b7c2c4fc2fb8","429":"38f51fd4-00b0-4191-a43b-ba4b849c7269","500":"302db4ac-f43a-4cae-9bc4-0774d660b92f","503":"bbaa8a66-1c25-4b58-ad20-dbfe4f3d6dde"},"method":"post","type":"path","servers":["2b5c21bd-b102-4986-8144-783d214dd3fa"],"security":["c11a2098-65b5-4b48-af79-0f6ca6d9415c","7bce2933-a274-48a5-bc75-97e402904437"],"path":"/inputs/uploads/{id}/complete","baseUrlOptions":["https://api.captureflow.ai/v1"],"title":"Complete a file upload","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"aa0acc72-813a-4118-b95d-223f8647ddb9":{"in":"query","name":"workspace_id","schema":{"description":"The workspace to act in. Optional when the key has a default or a lock, or you belong to one workspace.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"The workspace to act in. Optional when the key has a default or a lock, or you belong to one workspace."},"3f838997-cf76-4956-8e76-e2d8950a6593":{"in":"query","name":"as_user","schema":{"description":"API keys of owners and admins only (not OAuth apps): act as this member of the workspace (like View As). Every use is audited.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"API keys of owners and admins only (not OAuth apps): act as this member of the workspace (like View As). Every use is audited."},"de75fda8-951a-4991-add7-034c21600ae5":{"in":"path","name":"id","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The id of the idea, input, post or agent run.","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"required":true,"description":"The id of the idea, input, post or agent run."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"01f7a668-76ed-4679-aae7-517f585ca1ba":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","const":"input_upload","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Pass it on later calls if you work in several workspaces.","isRequired":true,"uniqueKey":"workspace_id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","enum":["pending","completing","completed","failed","expired"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"media_type":{"type":"string","enum":["video","audio","pdf","image"],"isRequired":true,"uniqueKey":"media_type","typeLabel":"enum\u003cstring>"},"size_bytes":{"type":"number","isRequired":true,"uniqueKey":"size_bytes","typeLabel":"number"},"expires_at":{"type":"string","description":"Complete the upload before this time.","isRequired":true,"uniqueKey":"expires_at","typeLabel":"string"},"uploaded":{"oneOf":[{"description":"While pending: whether the file has arrived (then call complete).","type":"boolean","isRequired":true,"uniqueKey":"uploaded.oneOf.0","typeLabel":"boolean"},{"description":"While pending: whether the file has arrived (then call complete).","type":"null","isRequired":true,"uniqueKey":"uploaded.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"uploaded","typeLabel":"boolean | null"},"upload":{"oneOf":[{"type":"object","required":["url","method","headers","expires_at"],"properties":{"url":{"type":"string","description":"PUT the file here: the whole file in one request, with exactly these headers and a Content-Length, and no Authorization header. Any 2xx answer means it arrived.","isRequired":true,"uniqueKey":"upload.oneOf.0.url","typeLabel":"string"},"method":{"type":"string","const":"PUT","isRequired":true,"uniqueKey":"upload.oneOf.0.method","typeLabel":"string"},"headers":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string","uniqueKey":"upload.oneOf.0.headers.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"upload.oneOf.0.headers","typeLabel":"object"},"expires_at":{"type":"string","isRequired":true,"uniqueKey":"upload.oneOf.0.expires_at","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"upload.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"upload.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"upload","typeLabel":"object | null"},"input":{"oneOf":[{"type":"object","required":["id","media_type","status","app_url"],"properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","isRequired":true,"uniqueKey":"input.oneOf.0.id","typeLabel":"string\u003cuuid>"},"media_type":{"type":"string","isRequired":true,"uniqueKey":"input.oneOf.0.media_type","typeLabel":"string"},"status":{"type":"string","description":"Audio and video keep processing for minutes after complete: follow it with get_input.","isRequired":true,"uniqueKey":"input.oneOf.0.status","typeLabel":"string"},"app_url":{"type":"string","isRequired":true,"uniqueKey":"input.oneOf.0.app_url","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"input.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"input.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"input","typeLabel":"object | null"},"error":{"oneOf":[{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.0.message","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"object | null"}},"required":["object","id","workspace_id","status","media_type","size_bytes","expires_at","uploaded","upload","input","error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"object":"input_upload","id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","workspace_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","status":"pending","media_type":"video","size_bytes":123,"expires_at":"\u003cstring>","uploaded":true,"upload":{"url":"\u003cstring>","method":"PUT","headers":{},"expires_at":"\u003cstring>"},"input":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","media_type":"\u003cstring>","status":"\u003cstring>","app_url":"\u003cstring>"},"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"0a3b05d3-0ce0-4fab-be20-8fab7f0272e9":{"description":"Invalid request (`validation_failed`, `workspace_required`, `credentials_in_url`).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"2f66d06d-2c29-41e0-91b1-fbc7a8d34963":{"description":"Missing, invalid, revoked or expired key or access token (`unauthorized`).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"8cde6676-2ac6-4c10-ab1f-66399605b7d2":{"description":"This workspace needs a paid plan or a trial (`plan_required`, with `details.upgrade_url`).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"c31d0226-37f7-4155-ab38-41d7cc95acaf":{"description":"Not allowed (`insufficient_scope`, `api_disabled`, `workspace_locked`, `as_user_forbidden`, `viewer_read_only`, `managed_member_restricted`, `platform_not_enabled`).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"54889421-8c38-4769-8df9-0e76daea8f87":{"description":"Not found, or not yours (`not_found`, `workspace_not_found`).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"42e35e0f-d8ca-4375-a173-9a92c3005aa3":{"description":"Not ready or no longer possible (`object_missing`, `object_changed`, `upload_in_progress`, `upload_failed`, `upload_expired`); retry after `Retry-After` when given.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"229f30b0-902e-4354-9544-4bbf5fe72b95":{"description":"Request body over 100 KB (`body_too_large`).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"3fa50a39-cd14-4b24-8d6d-7ced27c0f95f":{"description":"The file is not what was declared (`size_mismatch`, `file_type_mismatch`), can't be processed (`file_unprocessable`), or could not be completed after several attempts (`processing_failed`); the upload is failed.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"7a2cf48e-4456-4d5e-98c8-b7c2c4fc2fb8":{"description":"The account or workspace is scheduled for deletion (`deletion_pending`).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"38f51fd4-00b0-4191-a43b-ba4b849c7269":{"description":"Rate limited (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"302db4ac-f43a-4cae-9bc4-0774d660b92f":{"description":"Our fault (`internal_error`); quote the `request_id`.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"bbaa8a66-1c25-4b58-ad20-dbfe4f3d6dde":{"description":"Storage is unavailable right now (`storage_unavailable`): retry. Or the API is not available (`api_unavailable`), or changes are paused (`writes_unavailable`).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of error, e.g. `permission_error`.","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"},"code":{"type":"string","description":"Stable code to branch on, e.g. `insufficient_scope`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"For people; may change.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string"},"request_id":{"type":"string","description":"Quote it when contacting support.","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["type","code","message","doc_url","request_id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","doc_url":"\u003cstring>","request_id":"\u003cstring>","param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c11a2098-65b5-4b48-af79-0f6ca6d9415c":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"cf_live_...","description":"An API key from Settings > API \u0026 MCP.","scopes":[],"schemeName":"apiKey"}},"7bce2933-a274-48a5-bc75-97e402904437":{"oauth2":{"type":"oauth2","description":"An app the user connected (OAuth 2.1, PKCE S256, client ID metadata documents or dynamic registration). Access tokens look like `cfo_at_...`.","flows":{"authorizationCode":{"authorizationUrl":"https://app.captureflow.ai/oauth/authorize","tokenUrl":"https://app.captureflow.ai/api/oauth/token","refreshUrl":"https://app.captureflow.ai/api/oauth/token","scopes":{"ideas:read":"Read content ideas.","ideas:write":"Create content ideas.","inputs:read":"Read inputs (text, links, uploads) and their processing state.","inputs:write":"Create inputs: text, links and file uploads.","posts:read":"Read posts and check them against platform rules.","posts:write":"Create and edit draft posts.","posts:schedule":"Propose posts for scheduling or posting; the user accepts each proposal in CaptureFlow.","strategy:read":"Read the content strategy.","brand:read":"Reserved: no endpoints yet.","knowledge:read":"Reserved: no endpoints yet.","accounts:read":"Read connected social accounts.","analytics:read":"Reserved: no endpoints yet.","agent:run":"Start the content agent and read its runs."}}},"scopes":[],"schemeName":"oauth2"}}},"servers":{"2b5c21bd-b102-4986-8144-783d214dd3fa":{"url":"https://api.captureflow.ai/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"cf_live_...","description":"An API key from Settings > API \u0026 MCP.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key from Settings > API \u0026 MCP.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"},{"schemes":[{"scheme":{"type":"oauth2","description":"An app the user connected (OAuth 2.1, PKCE S256, client ID metadata documents or dynamic registration). Access tokens look like `cfo_at_...`.","flows":{"authorizationCode":{"authorizationUrl":"https://app.captureflow.ai/oauth/authorize","tokenUrl":"https://app.captureflow.ai/api/oauth/token","refreshUrl":"https://app.captureflow.ai/api/oauth/token","scopes":{"ideas:read":"Read content ideas.","ideas:write":"Create content ideas.","inputs:read":"Read inputs (text, links, uploads) and their processing state.","inputs:write":"Create inputs: text, links and file uploads.","posts:read":"Read posts and check them against platform rules.","posts:write":"Create and edit draft posts.","posts:schedule":"Propose posts for scheduling or posting; the user accepts each proposal in CaptureFlow.","strategy:read":"Read the content strategy.","brand:read":"Reserved: no endpoints yet.","knowledge:read":"Reserved: no endpoints yet.","accounts:read":"Read connected social accounts.","analytics:read":"Reserved: no endpoints yet.","agent:run":"Start the content agent and read its runs."}}},"scopes":[],"schemeName":"oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"An app the user connected (OAuth 2.1, PKCE S256, client ID metadata documents or dynamic registration). Access tokens look like `cfo_at_...`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"}]},"originalFileLocation":"openapi.json"},"subdomain":"capture-flow","siteName":"CaptureFlow API","title":"Complete a file upload - CaptureFlow API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-31T15:43:04.085Z","originalFileLocation":"api-reference/inputs/complete-a-file-upload.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=\"Step 3: checks the uploaded file (size, type, contents) and creates the input. Safe to repeat: a completed upload answers with the same input. Audio and video keep processing for minutes afterwards: follow input.id with get_input.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CaptureFlow API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/capture-flow/u9YDzEJS5mYXcasd/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/capture-flow/u9YDzEJS5mYXcasd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/capture-flow/u9YDzEJS5mYXcasd/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/capture-flow/u9YDzEJS5mYXcasd/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/capture-flow/u9YDzEJS5mYXcasd/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/capture-flow/u9YDzEJS5mYXcasd/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/capture-flow/u9YDzEJS5mYXcasd/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/capture-flow/u9YDzEJS5mYXcasd/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/capture-flow/u9YDzEJS5mYXcasd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Complete a file upload - CaptureFlow API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Step 3: checks the uploaded file (size, type, contents) and creates the input. Safe to repeat: a completed upload answers with the same input. Audio and video keep processing for minutes afterwards: follow input.id with get_input.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CaptureFlow API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://capture-flow.mintlify.app/api-reference/inputs/complete-a-file-upload\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://capture-flow.mintlify.app/_mintlify/api/og/v2?division=Inputs\u0026amp;title=Complete+a+file+upload\u0026amp;description=Step+3%3A+checks+the+uploaded+file+%28size%2C+type%2C+contents%29+and+creates+the+input.+Safe+to+repeat%3A+a+completed+upload+answers+with+the+same+input.+Audio+and+video+k\u0026amp;theme=43c1e48b5b7e7c553db8c0dd\u0026amp;signature=24006f805220d57e966b6fd5207ea95284e35bee339592611ada9e611fa957c0\">\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=\"Complete a file upload - CaptureFlow API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Step 3: checks the uploaded file (size, type, contents) and creates the input. Safe to repeat: a completed upload answers with the same input. Audio and video keep processing for minutes afterwards: follow input.id with get_input.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://capture-flow.mintlify.app/_mintlify/api/og/v2?division=Inputs\u0026amp;title=Complete+a+file+upload\u0026amp;description=Step+3%3A+checks+the+uploaded+file+%28size%2C+type%2C+contents%29+and+creates+the+input.+Safe+to+repeat%3A+a+completed+upload+answers+with+the+same+input.+Audio+and+video+k\u0026amp;theme=43c1e48b5b7e7c553db8c0dd\u0026amp;signature=24006f805220d57e966b6fd5207ea95284e35bee339592611ada9e611fa957c0\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/capture-flow/u9YDzEJS5mYXcasd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CaptureFlow API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7C3AED\">\u003clink data-mint-head rel=\"canonical\" href=\"https://capture-flow.mintlify.app/api-reference/inputs/complete-a-file-upload\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/inputs/complete-a-file-upload.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://capture-flow.mintlify.app/#organization\",\"name\":\"CaptureFlow API\",\"url\":\"https://capture-flow.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/capture-flow/t7wVJOfCjnkpBr6I/logo/light.png?fit=max\u0026auto=format\u0026n=t7wVJOfCjnkpBr6I\u0026q=85\u0026s=2e3560c99c02683d52b248d6687733f1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://capture-flow.mintlify.app#website\",\"name\":\"CaptureFlow API\",\"url\":\"https://capture-flow.mintlify.app\",\"publisher\":{\"@id\":\"https://capture-flow.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://capture-flow.mintlify.app/api-reference/inputs/complete-a-file-upload#webpage\",\"url\":\"https://capture-flow.mintlify.app/api-reference/inputs/complete-a-file-upload\",\"name\":\"Complete a file upload\",\"description\":\"Step 3: checks the uploaded file (size, type, contents) and creates the input. Safe to repeat: a completed upload answers with the same input. Audio and video keep processing for minutes afterwards: follow input.id with get_input.\",\"dateModified\":\"2026-10-31T15:43:04.085Z\",\"isPartOf\":{\"@id\":\"https://capture-flow.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://capture-flow.mintlify.app/api-reference/inputs/complete-a-file-upload#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://capture-flow.mintlify.app/api-reference/inputs/complete-a-file-upload#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inputs\",\"item\":\"https://capture-flow.mintlify.app/api-reference/inputs/list-inputs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Complete a file upload\",\"item\":\"https://capture-flow.mintlify.app/api-reference/inputs/complete-a-file-upload\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://capture-flow.mintlify.app/api-reference/inputs/complete-a-file-upload#apireference\",\"headline\":\"Complete a file upload\",\"name\":\"Complete a file upload\",\"description\":\"Step 3: checks the uploaded file (size, type, contents) and creates the input. Safe to repeat: a completed upload answers with the same input. Audio and video keep processing for minutes afterwards: follow input.id with get_input.\",\"url\":\"https://capture-flow.mintlify.app/api-reference/inputs/complete-a-file-upload\",\"mainEntityOfPage\":{\"@id\":\"https://capture-flow.mintlify.app/api-reference/inputs/complete-a-file-upload#webpage\"},\"dateModified\":\"2026-10-31T15:43:04.085Z\",\"publisher\":{\"@id\":\"https://capture-flow.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://capture-flow.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CaptureFlow API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CaptureFlow API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"API reference","groups":[{"group":"Meta","pages":[{"title":"Is the API up","deprecated":null,"version":null,"openapi":"/openapi.json get /health","href":"/api-reference/meta/is-the-api-up"}]},{"group":"Account","pages":[{"title":"Who this key or app acts for","deprecated":null,"version":null,"openapi":"/openapi.json get /me","href":"/api-reference/account/who-this-key-or-app-acts-for"},{"title":"Workspaces this key can act in","deprecated":null,"version":null,"openapi":"/openapi.json get /workspaces","href":"/api-reference/account/workspaces-this-key-can-act-in"}]},{"group":"Ideas","pages":[{"title":"List ideas","deprecated":null,"version":null,"openapi":"/openapi.json get /ideas","href":"/api-reference/ideas/list-ideas"},{"title":"Create an idea","deprecated":null,"version":null,"openapi":"/openapi.json post /ideas","href":"/api-reference/ideas/create-an-idea"},{"title":"Get an idea","deprecated":null,"version":null,"openapi":"/openapi.json get /ideas/{id}","href":"/api-reference/ideas/get-an-idea"}]},{"group":"Inputs","pages":[{"title":"List inputs","deprecated":null,"version":null,"openapi":"/openapi.json get /inputs","href":"/api-reference/inputs/list-inputs"},{"title":"Get an input","deprecated":null,"version":null,"openapi":"/openapi.json get /inputs/{id}","href":"/api-reference/inputs/get-an-input"},{"title":"Add text as an input","deprecated":null,"version":null,"openapi":"/openapi.json post /inputs/text","href":"/api-reference/inputs/add-text-as-an-input"},{"title":"Add a web page as an input","deprecated":null,"version":null,"openapi":"/openapi.json post /inputs/url","href":"/api-reference/inputs/add-a-web-page-as-an-input"},{"title":"Start a file upload","deprecated":null,"version":null,"openapi":"/openapi.json post /inputs/uploads","href":"/api-reference/inputs/start-a-file-upload"},{"title":"Get a file upload","deprecated":null,"version":null,"openapi":"/openapi.json get /inputs/uploads/{id}","href":"/api-reference/inputs/get-a-file-upload"},{"title":"Get a new upload URL","description":"A new URL for a pending upload (the previous one expired, or a retried create came back without one). When the file has already arrived, answers `uploaded: true` and no URL: call complete_input_upload.","deprecated":null,"version":null,"openapi":"/openapi.json post /inputs/uploads/{id}/url","href":"/api-reference/inputs/get-a-new-upload-url"},{"title":"Complete a file upload","deprecated":null,"version":null,"openapi":"/openapi.json post /inputs/uploads/{id}/complete","href":"/api-reference/inputs/complete-a-file-upload"}]},{"group":"Posts","pages":[{"title":"List posts","description":"Your posts of every format, the most recently changed first. Archived posts only when `status` is `archived`.","deprecated":null,"version":null,"openapi":"/openapi.json get /posts","href":"/api-reference/posts/list-posts"},{"title":"Create a draft post","deprecated":null,"version":null,"openapi":"/openapi.json post /posts","href":"/api-reference/posts/create-a-draft-post"},{"title":"Get a post","deprecated":null,"version":null,"openapi":"/openapi.json get /posts/{id}","href":"/api-reference/posts/get-a-post"},{"title":"Edit a draft post","deprecated":null,"version":null,"openapi":"/openapi.json patch /posts/{id}","href":"/api-reference/posts/edit-a-draft-post"},{"title":"Check a post before proposing it","deprecated":null,"version":null,"openapi":"/openapi.json post /posts/{id}/preflight","href":"/api-reference/posts/check-a-post-before-proposing-it"},{"title":"Propose a post for approval","deprecated":null,"version":null,"openapi":"/openapi.json post /posts/{id}/proposals","href":"/api-reference/posts/propose-a-post-for-approval"},{"title":"Withdraw a proposal","deprecated":null,"version":null,"openapi":"/openapi.json delete /posts/{id}/proposals","href":"/api-reference/posts/withdraw-a-proposal"}]},{"group":"Social accounts","pages":[{"title":"List connected social accounts","deprecated":null,"version":null,"openapi":"/openapi.json get /social-accounts","href":"/api-reference/social-accounts/list-connected-social-accounts"}]},{"group":"Strategy","pages":[{"title":"Get the content strategy","deprecated":null,"version":null,"openapi":"/openapi.json get /strategy","href":"/api-reference/strategy/get-the-content-strategy"}]},{"group":"Content agent","pages":[{"title":"Start the content agent","deprecated":null,"version":null,"openapi":"/openapi.json post /agent/runs","href":"/api-reference/content-agent/start-the-content-agent"},{"title":"Get a content agent run","deprecated":null,"version":null,"openapi":"/openapi.json get /agent/runs/{id}","href":"/api-reference/content-agent/get-a-content-agent-run"}]}]}]},"basePath":"","title":"Complete a file upload - CaptureFlow API","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}