[ { "message": "The provided field type is not supported in the current model." } ]
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Stackone","colors":{"primary":"#068F56","light":"#00AF66","dark":"#068F56"},"logo":{"light":"https://mintcdn.com/stackone-60/WsmKpuoeBZmio9QO/images/logo/logo-light-mode.svg?fit=max\u0026auto=format\u0026n=WsmKpuoeBZmio9QO\u0026q=85\u0026s=f08be9c0a142cb1e7fcaa23910c4bf7f","dark":"https://mintcdn.com/stackone-60/WsmKpuoeBZmio9QO/images/logo/logo-dark-mode.svg?fit=max\u0026auto=format\u0026n=WsmKpuoeBZmio9QO\u0026q=85\u0026s=b57d63594c13dee65c06a2d578927466"},"favicon":"https://mintcdn.com/stackone-60/EZ7nWzE-JJzhmP-C/images/logo/favicon.png?fit=max\u0026auto=format\u0026n=EZ7nWzE-JJzhmP-C\u0026q=85\u0026s=9012a8ae6ce9a80698406b611be47925","appearance":{"default":"light"},"background":{"image":{"light":"https://mintcdn.com/stackone-60/knwbcGlYFJSeLObv/images/background/light.svg?fit=max\u0026auto=format\u0026n=knwbcGlYFJSeLObv\u0026q=85\u0026s=112166d244e990ebc0146ff96958757c","dark":"https://mintcdn.com/stackone-60/knwbcGlYFJSeLObv/images/background/dark.svg?fit=max\u0026auto=format\u0026n=knwbcGlYFJSeLObv\u0026q=85\u0026s=50ec5e23eeb91f55e78a0da97dcaeb7b"},"color":{"dark":"#1a1a1a"}},"navbar":{"links":[{"icon":"circle-question","href":"/support","label":"Support"},{"href":"https://app.stackone.com","label":"Login"},{"href":"https://www.stackone.com/demo","label":"Book a demo"}],"primary":{"type":"button","label":"Start Free","href":"https://www.stackone.com/request-free-access"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/stackonehq","twitter":"https://twitter.com/StackOneHQ"}},"seo":{"metatags":{"canonical":"https://docs.stackone.com","google-site-verification":"gYj1x4gkdSwpCGVLFVXNVOPQ_wVrePW37ZKJt3HEqys"}},"fonts":{"heading":{"family":"Sf Pro Display","source":"https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2","format":"woff2"},"body":{"family":"Inter","source":"https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2","format":"woff2"}},"styling":{"eyebrows":"breadcrumbs","latex":true},"integrations":{"gtm":{"tagId":"GTM-NZNK37TL"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stackone-60","hasAudioNarration":false,"actualSubdomain":"stackone-60","customDomains":["docs.stackone.com"],"gitSource":{"type":"github","owner":"stackonehq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae97b0e866f88edeb056ec7","collectionId":"c6de56b0-ae79-4784-a31e-4f46aa6d11ab","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae97b0e866f88edeb056ec7"},"feedback":{"thumbs":true,"edits":false,"issues":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae97b0e866f88edeb056ec7","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Connectors","count":9434},{"language":"default","tag":"Embed","count":84},{"language":"default","tag":"Platform API","count":62},{"language":"default","tag":"Gateway","count":49},{"language":"default","tag":"Features","count":48},{"language":"default","tag":"Connector Building","count":42},{"language":"default","tag":"Unified Actions","count":39},{"language":"default","tag":"Embed StackOne","count":36},{"language":"default","tag":"Call Actions","count":29},{"language":"default","tag":"Endpoints","count":25}],"searchSettings":{"isFiltersEnabled":true}},"assistantConfig":{"enableStarterQuestions":false,"deflection":{"enabled":true,"email":"support@stackone.com"}},"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":[{"filePath":"style.css","href":"/_mintlify/custom/stackone-60/e5c931b6e8140842/style.css"}],"page":{"pagePath":"documents/api-reference/files/upload-file","slug":"/documents/api-reference/files/upload-file","pageMetadata":{"openapi":"post /unified/documents/files/upload","title":"Upload File","description":null,"href":"/documents/api-reference/files/upload-file"},"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":{"openapi":"post /unified/documents/files/upload","title":"Upload File","description":null,"href":"/documents/api-reference/files/upload-file"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/stackone-60/072d59ca3ea476f6/status-indicator.js","/_mintlify/custom/stackone-60/2cef6058362559bc/connectors.js","/_mintlify/custom/stackone-60/af28b3fbb0435529/hubspot-form.js","/_mintlify/custom/stackone-60/ec01e4530a66d850/end-users.js"],"openApiReferenceData":{"operation":{"operationId":"documents_upload_file","parameters":["2b49f750-fbec-424c-80cc-e14f1281713c","74862253-9020-4cea-b6b6-ddeda3957bba"],"requestBody":"4af45c7f-445e-41f6-b90f-753df791349e","responses":{"201":"b2ba1940-6a9d-46eb-8a77-9801635d7621","400":"adbaf980-115c-4ec8-b1b8-c5dc78d72740","401":"c35fca13-aa2f-486c-826a-6b34ff45e938","403":"3e0cc099-7d30-4f82-a184-3352ba15f33f","404":"f9577a5d-7d26-45ea-9ab1-7bf680e20d85","408":"69228c9e-bde2-45e4-8f36-d3b9a9d406cd","409":"6fb8af78-a81a-4cb9-aef8-44f1f8cc7c2c","412":"1096ef39-ebc7-4919-9ae8-1b1b4a95e41a","422":"1446957e-8735-4d75-9c6f-14c23314a3e5","429":"701e9bac-acf6-4c22-8c7f-0e3af0281728","500":"ccfed9e7-d503-49ef-a4f1-dccd28259ff0","501":"99719937-921e-44a8-80ef-2ee31798e74d","502":"29246ce4-7111-41ff-9ded-4ddf6e8a2cd0"},"security":["ab5eb0fc-9b6b-4d89-9e58-2e87db603591"],"summary":"Upload File","tags":["Files"],"x-speakeasy-group":"documents","x-speakeasy-name-override":"upload_file","x-speakeasy-retries":{"statusCodes":[429,408],"strategy":"backoff"},"method":"post","type":"path","servers":["4c803db0-8f3f-4132-ac17-a7eae7932799"],"path":"/unified/documents/files/upload","baseUrlOptions":["https://api.stackone.com"],"title":"Upload File","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2b49f750-fbec-424c-80cc-e14f1281713c":{"name":"x-account-id","in":"header","description":"The account identifier","required":true,"schema":{"type":"string","isRequired":true,"description":"The account identifier","uniqueKey":"","typeLabel":"string"}},"74862253-9020-4cea-b6b6-ddeda3957bba":{"name":"x-stackone-api-session-token","in":"header","description":"The session token","required":false,"schema":{"type":"string","isRequired":false,"description":"The session token","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"string","description":"The filename of the file to upload","example":"weather-forecast","uniqueKey":"name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The filename of the file to upload","example":"weather-forecast","uniqueKey":"name.oneOf.1","typeLabel":"null"}],"uniqueKey":"name","typeLabel":"string | null"},"file_format":{"oneOf":[{"type":"object","description":"The file format of the file","properties":{"value":{"oneOf":[{"type":"string","description":"The file format of the file, expressed as a file extension","enum":["unmapped_value","ez","aw","atom","atomcat","atomdeleted","atomsvc","dwd","held","rsat","bdoc","xcs","ccxml","cdfx","cdmia","cdmic","cdmid","cdmio","cdmiq","cu","mpd","davmount","dbk","dssc","xdssc","es","ecma","emma","emotionml","epub","exi","exp","fdt","pfr","geojson","gml","gpx","gxf","gz","hjson","stk","ink","inkml","ipfix","its","jar","war","ear","ser","class","js","mjs","json","map","json5","jsonml","jsonld","lgr","lostxml","hqx","cpt","mads","webmanifest","mrc","mrcx","ma","nb","mb","mathml","mbox","mscml","metalink","meta4","mets","maei","musd","mods","m21","mp21","mp4s","m4p","doc","dot","mxf","nq","nt","cjs","bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer","oda","opf","ogx","omdoc","onetoc","onetoc2","onetmp","onepkg","oxps","relo","xer","pdf","pgp","asc","sig","prf","p10","p7m","p7c","p7s","p8","ac","cer","crl","pkipath","pki","pls","ai","eps","ps","provx","pskcxml","raml","rdf","owl","rif","rnc","rl","rld","rs","rapd","sls","rusd","gbr","mft","roa","rsd","rss","rtf","sbml","scq","scs","spq","spp","sdp","senmlx","sensmlx","setpay","setreg","shf","siv","sieve","smi","smil","rq","srx","gram","grxml","sru","ssdl","ssml","swidtag","tei","teicorpus","tfi","tsd","toml","trig","ttml","ubj","rsheet","td","vxml","wasm","wgt","hlp","wsdl","wspolicy","xaml","xav","xca","xdf","xel","xns","xenc","xhtml","xht","xlf","xml","xsl","xsd","rng","dtd","xop","xpl","*xsl","xslt","xspf","mxml","xhvml","xvml","xvm","yang","yin","zip","*3gpp","adp","amr","au","snd","mid","midi","kar","rmi","mxmf","*mp3","m4a","mp4a","mpga","mp2","mp2a","mp3","m2a","m3a","oga","ogg","spx","opus","s3m","sil","wav","*wav","weba","xm","ttc","otf","ttf","woff","woff2","exr","apng","avif","bmp","cgm","drle","emf","fits","g3","gif","heic","heics","heif","heifs","hej2","hsj2","ief","jls","jp2","jpg2","jpeg","jpg","jpe","jph","jhc","jpm","jpx","jpf","jxr","jxra","jxrs","jxs","jxsc","jxsi","jxss","ktx","ktx2","png","sgi","svg","svgz","t38","tif","tiff","tfx","webp","wmf","disposition-notification","u8msg","u8dsn","u8mdn","u8hdr","eml","mime","3mf","gltf","glb","igs","iges","msh","mesh","silo","mtl","obj","stpx","stpz","stpxz","stl","wrl","vrml","*x3db","x3dbz","x3db","*x3dv","x3dvz","x3d","x3dz","x3dv","appcache","manifest","ics","ifb","coffee","litcoffee","css","csv","html","htm","shtml","jade","jsx","less","markdown","md","mml","mdx","n3","txt","text","conf","def","list","log","in","ini","rtx","*rtf","sgml","sgm","shex","slim","slm","spdx","stylus","styl","tsv","t","tr","roff","man","me","ms","ttl","uri","uris","urls","vcard","vtt","*xml","yaml","yml","3gp","3gpp","3g2","h261","h263","h264","m4s","jpgv","*jpm","jpgm","mj2","mjp2","ts","mp4","mp4v","mpg4","mpeg","mpg","mpe","m1v","m2v","ogv","qt","mov","webm","cww","1km","plb","psb","pvb","tcap","pwn","aso","imp","acu","atc","acutc","air","fcdt","fxp","fxpl","xdp","xfdf","ahead","azf","azs","azw","acc","ami","apk","cii","fti","atx","mpkg","key","m3u8","numbers","pages","pkpass","swi","iota","aep","bmml","mpm","bmi","rep","cdxml","mmd","cdy","csl","cla","rp9","c4g","c4d","c4f","c4p","c4u","c11amc","c11amz","csp","cdbcmsg","cmc","clkx","clkk","clkp","clkt","clkw","wbs","pml","ppd","car","pcurl","dart","rdz","dbf","uvf","uvvf","uvd","uvvd","uvt","uvvt","uvx","uvvx","uvz","uvvz","fe_launch","dna","mlp","mle","dpg","dfac","kpxx","ait","svc","geo","mag","nml","esf","msf","qam","slt","ssf","es3","et3","ez2","ez3","fdf","mseed","seed","dataless","gph","ftc","fm","frame","maker","book","fnc","ltf","fsc","oas","oa2","oa3","fg5","bh2","ddd","xdw","xbd","fzs","txd","ggb","ggt","gex","gre","gxt","g2w","g3w","gmx","gdoc","gslides","gsheet","kml","kmz","gqf","gqs","gac","ghf","gim","grv","gtm","tpl","vcg","hal","zmm","hbci","les","hpgl","hpid","hps","jlt","pcl","pclxl","sfd-hdstx","mpy","afp","listafp","list3820","irm","sc","icc","icm","igl","ivp","ivu","igm","xpw","xpx","i2g","qbo","qfx","rcprofile","irp","xpr","fcs","jam","rms","jisp","joda","ktz","ktr","karbon","chrt","kfo","flw","kon","kpr","kpt","ksp","kwd","kwt","htke","kia","kne","knp","skp","skd","skt","skm","sse","lasxml","lbd","lbe","apr","pre","nsf","org","scm","lwp","portpkg","mvt","mcd","mc1","cdkey","mwf","mfm","flo","igx","mif","daf","dis","mbk","mqy","msl","plc","txf","mpn","mpc","xul","cil","cab","xls","xlm","xla","xlc","xlt","xlw","xlam","xlsb","xlsm","xltm","eot","chm","ims","lrm","thmx","msg","cat","*stl","ppt","pps","pot","ppam","pptm","sldm","ppsm","potm","mpp","mpt","docm","dotm","wps","wks","wcm","wdb","wpl","xps","mseq","mus","msty","taglet","nlu","ntf","nitf","nnd","nns","nnw","*ac","ngdat","n-gage","rpst","rpss","edm","edx","ext","odc","otc","odb","odf","odft","odg","otg","odi","oti","odp","otp","ods","ots","odt","odm","ott","oth","xo","dd2","obgx","oxt","osm","pptx","sldx","ppsx","potx","xlsx","xltx","docx","dotx","mgp","dp","esa","pdb","pqa","oprc","paw","str","ei6","efif","wg","plf","pbd","box","mgz","qps","ptid","qxd","qxt","qwd","qwt","qxl","qxb","rar","bed","mxl","musicxml","cryptonote","cod","rm","rmvb","link66","st","see","sema","semd","semf","ifm","itp","iif","ipk","twd","twds","mmf","teacher","fo","sdkm","sdkd","dxp","sfs","sdc","sda","sdd","smf","sdw","vor","sgl","smzip","sm","wadl","sxc","stc","sxd","std","sxi","sti","sxm","sxw","sxg","stw","sus","susp","svd","sis","sisx","xsm","bdm","xdm","ddf","tao","pcap","cap","dmp","tmo","tpt","mxs","tra","ufd","ufdl","utz","umj","unityweb","uoml","vcx","vsd","vst","vss","vsw","vis","vsf","wbxml","wmlc","wmlsc","wtb","nbp","wpd","wqd","stf","xar","xfdl","hvd","hvs","hvp","osf","osfpvg","saf","spf","cmp","zir","zirz","zaz","7z","abw","ace","*dmg","arj","aab","x32","u32","vox","aam","aas","bcpio","*bdoc","torrent","blb","blorb","bz","bz2","boz","cbr","cba","cbt","cbz","cb7","vcd","cfs","chat","pgn","crx","cco","nsc","cpio","csh","*deb","udeb","dgc","dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa","wad","ncx","dtb","res","dvi","evy","eva","bdf","gsf","psf","pcf","snf","pfa","pfb","pfm","afm","arc","spl","gca","ulx","gnumeric","gramps","gtar","hdf","php","install","*iso","*key","*numbers","*pages","jardiff","jnlp","kdbx","latex","luac","lzh","lha","run","mie","prc","mobi","application","lnk","wmd","wmz","xbap","mdb","obd","crd","clp","*exe","*dll","com","bat","*msi","mvb","m13","m14","*wmf","*wmz","*emf","emz","mny","pub","scd","trm","wri","nc","cdf","pac","nzb","pl","pm","*prc","*pdb","p12","pfx","p7b","spc","p7r","*rar","rpm","ris","sea","sh","shar","swf","xap","sql","sit","sitx","srt","sv4cpio","sv4crc","t3","gam","tar","tcl","tk","tex","tfm","texinfo","texi","*obj","ustar","hdd","ova","ovf","vbox","vbox-extpack","vdi","vhd","vmdk","src","webapp","der","crt","pem","fig","*xlf","xpi","xz","z1","z2","z3","z4","z5","z6","z7","z8","uva","uvva","eol","dra","dts","dtshd","lvp","pya","ecelp4800","ecelp7470","ecelp9600","rip","aac","aif","aiff","aifc","caf","flac","*m4a","mka","m3u","wax","wma","ram","ra","rmp","*ra","cdx","cif","cmdf","cml","csml","xyz","btif","pti","psd","azv","uvi","uvvi","uvg","uvvg","djvu","djv","*sub","dwg","dxf","fbs","fpx","fst","mmr","rlc","ico","dds","mdi","wdp","npx","b16","tap","vtf","wbmp","xif","pcx","3ds","ras","cmx","fh","fhc","fh4","fh5","fh7","*ico","jng","sid","*bmp","*pcx","pic","pct","pnm","pbm","pgm","ppm","rgb","tga","xbm","xpm","xwd","wsc","dae","dwf","gdl","gtw","mts","ogex","x_b","x_t","vds","usdz","bsp","vtu","dsc","curl","dcurl","mcurl","scurl","sub","fly","flx","gv","3dml","spot","jad","wml","wmls","s","asm","c","cc","cxx","cpp","h","hh","dic","htc","f","for","f77","f90","hbs","java","lua","mkd","nfo","opml","*org","p","pas","pde","sass","scss","etx","sfv","ymp","uu","vcs","vcf","uvh","uvvh","uvm","uvvm","uvp","uvvp","uvs","uvvs","uvv","uvvv","dvb","fvt","mxu","m4u","pyv","uvu","uvvu","viv","f4v","fli","flv","m4v","mkv","mk3d","mks","mng","asf","asx","vob","wm","wmv","wmx","wvx","avi","movie","smv","ice","mht",null],"example":"pdf","x-speakeasy-unknown-values":"allow","uniqueKey":"file_format.oneOf.0.value.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The file format of the file, expressed as a file extension","enum":["unmapped_value","ez","aw","atom","atomcat","atomdeleted","atomsvc","dwd","held","rsat","bdoc","xcs","ccxml","cdfx","cdmia","cdmic","cdmid","cdmio","cdmiq","cu","mpd","davmount","dbk","dssc","xdssc","es","ecma","emma","emotionml","epub","exi","exp","fdt","pfr","geojson","gml","gpx","gxf","gz","hjson","stk","ink","inkml","ipfix","its","jar","war","ear","ser","class","js","mjs","json","map","json5","jsonml","jsonld","lgr","lostxml","hqx","cpt","mads","webmanifest","mrc","mrcx","ma","nb","mb","mathml","mbox","mscml","metalink","meta4","mets","maei","musd","mods","m21","mp21","mp4s","m4p","doc","dot","mxf","nq","nt","cjs","bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer","oda","opf","ogx","omdoc","onetoc","onetoc2","onetmp","onepkg","oxps","relo","xer","pdf","pgp","asc","sig","prf","p10","p7m","p7c","p7s","p8","ac","cer","crl","pkipath","pki","pls","ai","eps","ps","provx","pskcxml","raml","rdf","owl","rif","rnc","rl","rld","rs","rapd","sls","rusd","gbr","mft","roa","rsd","rss","rtf","sbml","scq","scs","spq","spp","sdp","senmlx","sensmlx","setpay","setreg","shf","siv","sieve","smi","smil","rq","srx","gram","grxml","sru","ssdl","ssml","swidtag","tei","teicorpus","tfi","tsd","toml","trig","ttml","ubj","rsheet","td","vxml","wasm","wgt","hlp","wsdl","wspolicy","xaml","xav","xca","xdf","xel","xns","xenc","xhtml","xht","xlf","xml","xsl","xsd","rng","dtd","xop","xpl","*xsl","xslt","xspf","mxml","xhvml","xvml","xvm","yang","yin","zip","*3gpp","adp","amr","au","snd","mid","midi","kar","rmi","mxmf","*mp3","m4a","mp4a","mpga","mp2","mp2a","mp3","m2a","m3a","oga","ogg","spx","opus","s3m","sil","wav","*wav","weba","xm","ttc","otf","ttf","woff","woff2","exr","apng","avif","bmp","cgm","drle","emf","fits","g3","gif","heic","heics","heif","heifs","hej2","hsj2","ief","jls","jp2","jpg2","jpeg","jpg","jpe","jph","jhc","jpm","jpx","jpf","jxr","jxra","jxrs","jxs","jxsc","jxsi","jxss","ktx","ktx2","png","sgi","svg","svgz","t38","tif","tiff","tfx","webp","wmf","disposition-notification","u8msg","u8dsn","u8mdn","u8hdr","eml","mime","3mf","gltf","glb","igs","iges","msh","mesh","silo","mtl","obj","stpx","stpz","stpxz","stl","wrl","vrml","*x3db","x3dbz","x3db","*x3dv","x3dvz","x3d","x3dz","x3dv","appcache","manifest","ics","ifb","coffee","litcoffee","css","csv","html","htm","shtml","jade","jsx","less","markdown","md","mml","mdx","n3","txt","text","conf","def","list","log","in","ini","rtx","*rtf","sgml","sgm","shex","slim","slm","spdx","stylus","styl","tsv","t","tr","roff","man","me","ms","ttl","uri","uris","urls","vcard","vtt","*xml","yaml","yml","3gp","3gpp","3g2","h261","h263","h264","m4s","jpgv","*jpm","jpgm","mj2","mjp2","ts","mp4","mp4v","mpg4","mpeg","mpg","mpe","m1v","m2v","ogv","qt","mov","webm","cww","1km","plb","psb","pvb","tcap","pwn","aso","imp","acu","atc","acutc","air","fcdt","fxp","fxpl","xdp","xfdf","ahead","azf","azs","azw","acc","ami","apk","cii","fti","atx","mpkg","key","m3u8","numbers","pages","pkpass","swi","iota","aep","bmml","mpm","bmi","rep","cdxml","mmd","cdy","csl","cla","rp9","c4g","c4d","c4f","c4p","c4u","c11amc","c11amz","csp","cdbcmsg","cmc","clkx","clkk","clkp","clkt","clkw","wbs","pml","ppd","car","pcurl","dart","rdz","dbf","uvf","uvvf","uvd","uvvd","uvt","uvvt","uvx","uvvx","uvz","uvvz","fe_launch","dna","mlp","mle","dpg","dfac","kpxx","ait","svc","geo","mag","nml","esf","msf","qam","slt","ssf","es3","et3","ez2","ez3","fdf","mseed","seed","dataless","gph","ftc","fm","frame","maker","book","fnc","ltf","fsc","oas","oa2","oa3","fg5","bh2","ddd","xdw","xbd","fzs","txd","ggb","ggt","gex","gre","gxt","g2w","g3w","gmx","gdoc","gslides","gsheet","kml","kmz","gqf","gqs","gac","ghf","gim","grv","gtm","tpl","vcg","hal","zmm","hbci","les","hpgl","hpid","hps","jlt","pcl","pclxl","sfd-hdstx","mpy","afp","listafp","list3820","irm","sc","icc","icm","igl","ivp","ivu","igm","xpw","xpx","i2g","qbo","qfx","rcprofile","irp","xpr","fcs","jam","rms","jisp","joda","ktz","ktr","karbon","chrt","kfo","flw","kon","kpr","kpt","ksp","kwd","kwt","htke","kia","kne","knp","skp","skd","skt","skm","sse","lasxml","lbd","lbe","apr","pre","nsf","org","scm","lwp","portpkg","mvt","mcd","mc1","cdkey","mwf","mfm","flo","igx","mif","daf","dis","mbk","mqy","msl","plc","txf","mpn","mpc","xul","cil","cab","xls","xlm","xla","xlc","xlt","xlw","xlam","xlsb","xlsm","xltm","eot","chm","ims","lrm","thmx","msg","cat","*stl","ppt","pps","pot","ppam","pptm","sldm","ppsm","potm","mpp","mpt","docm","dotm","wps","wks","wcm","wdb","wpl","xps","mseq","mus","msty","taglet","nlu","ntf","nitf","nnd","nns","nnw","*ac","ngdat","n-gage","rpst","rpss","edm","edx","ext","odc","otc","odb","odf","odft","odg","otg","odi","oti","odp","otp","ods","ots","odt","odm","ott","oth","xo","dd2","obgx","oxt","osm","pptx","sldx","ppsx","potx","xlsx","xltx","docx","dotx","mgp","dp","esa","pdb","pqa","oprc","paw","str","ei6","efif","wg","plf","pbd","box","mgz","qps","ptid","qxd","qxt","qwd","qwt","qxl","qxb","rar","bed","mxl","musicxml","cryptonote","cod","rm","rmvb","link66","st","see","sema","semd","semf","ifm","itp","iif","ipk","twd","twds","mmf","teacher","fo","sdkm","sdkd","dxp","sfs","sdc","sda","sdd","smf","sdw","vor","sgl","smzip","sm","wadl","sxc","stc","sxd","std","sxi","sti","sxm","sxw","sxg","stw","sus","susp","svd","sis","sisx","xsm","bdm","xdm","ddf","tao","pcap","cap","dmp","tmo","tpt","mxs","tra","ufd","ufdl","utz","umj","unityweb","uoml","vcx","vsd","vst","vss","vsw","vis","vsf","wbxml","wmlc","wmlsc","wtb","nbp","wpd","wqd","stf","xar","xfdl","hvd","hvs","hvp","osf","osfpvg","saf","spf","cmp","zir","zirz","zaz","7z","abw","ace","*dmg","arj","aab","x32","u32","vox","aam","aas","bcpio","*bdoc","torrent","blb","blorb","bz","bz2","boz","cbr","cba","cbt","cbz","cb7","vcd","cfs","chat","pgn","crx","cco","nsc","cpio","csh","*deb","udeb","dgc","dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa","wad","ncx","dtb","res","dvi","evy","eva","bdf","gsf","psf","pcf","snf","pfa","pfb","pfm","afm","arc","spl","gca","ulx","gnumeric","gramps","gtar","hdf","php","install","*iso","*key","*numbers","*pages","jardiff","jnlp","kdbx","latex","luac","lzh","lha","run","mie","prc","mobi","application","lnk","wmd","wmz","xbap","mdb","obd","crd","clp","*exe","*dll","com","bat","*msi","mvb","m13","m14","*wmf","*wmz","*emf","emz","mny","pub","scd","trm","wri","nc","cdf","pac","nzb","pl","pm","*prc","*pdb","p12","pfx","p7b","spc","p7r","*rar","rpm","ris","sea","sh","shar","swf","xap","sql","sit","sitx","srt","sv4cpio","sv4crc","t3","gam","tar","tcl","tk","tex","tfm","texinfo","texi","*obj","ustar","hdd","ova","ovf","vbox","vbox-extpack","vdi","vhd","vmdk","src","webapp","der","crt","pem","fig","*xlf","xpi","xz","z1","z2","z3","z4","z5","z6","z7","z8","uva","uvva","eol","dra","dts","dtshd","lvp","pya","ecelp4800","ecelp7470","ecelp9600","rip","aac","aif","aiff","aifc","caf","flac","*m4a","mka","m3u","wax","wma","ram","ra","rmp","*ra","cdx","cif","cmdf","cml","csml","xyz","btif","pti","psd","azv","uvi","uvvi","uvg","uvvg","djvu","djv","*sub","dwg","dxf","fbs","fpx","fst","mmr","rlc","ico","dds","mdi","wdp","npx","b16","tap","vtf","wbmp","xif","pcx","3ds","ras","cmx","fh","fhc","fh4","fh5","fh7","*ico","jng","sid","*bmp","*pcx","pic","pct","pnm","pbm","pgm","ppm","rgb","tga","xbm","xpm","xwd","wsc","dae","dwf","gdl","gtw","mts","ogex","x_b","x_t","vds","usdz","bsp","vtu","dsc","curl","dcurl","mcurl","scurl","sub","fly","flx","gv","3dml","spot","jad","wml","wmls","s","asm","c","cc","cxx","cpp","h","hh","dic","htc","f","for","f77","f90","hbs","java","lua","mkd","nfo","opml","*org","p","pas","pde","sass","scss","etx","sfv","ymp","uu","vcs","vcf","uvh","uvvh","uvm","uvvm","uvp","uvvp","uvs","uvvs","uvv","uvvv","dvb","fvt","mxu","m4u","pyv","uvu","uvvu","viv","f4v","fli","flv","m4v","mkv","mk3d","mks","mng","asf","asx","vob","wm","wmv","wmx","wvx","avi","movie","smv","ice","mht",null],"example":"pdf","x-speakeasy-unknown-values":"allow","uniqueKey":"file_format.oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"file_format.oneOf.0.value","typeLabel":"enum\u003cstring> | null"},"source_value":{"oneOf":[{"type":"string","example":"application/pdf","uniqueKey":"file_format.oneOf.0.source_value.oneOf.0","typeLabel":"string"},{"type":"number","example":"application/pdf","uniqueKey":"file_format.oneOf.0.source_value.oneOf.1","typeLabel":"number"},{"type":"boolean","example":"application/pdf","uniqueKey":"file_format.oneOf.0.source_value.oneOf.2","typeLabel":"boolean"},{"type":"object","example":"application/pdf","uniqueKey":"file_format.oneOf.0.source_value.oneOf.3","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"file_format.oneOf.0.source_value.oneOf.4.items.[INDEX]","typeLabel":"any"},"example":"application/pdf","uniqueKey":"file_format.oneOf.0.source_value.oneOf.4","typeLabel":"any[]"},{"type":"null","uniqueKey":"file_format.oneOf.0.source_value.oneOf.5","typeLabel":"null"}],"uniqueKey":"file_format.oneOf.0.source_value","typeLabel":"string | number | boolean | object | any[] | null"}},"uniqueKey":"file_format.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"file_format.oneOf.1","typeLabel":"null"}],"uniqueKey":"file_format","typeLabel":"object | null"},"content":{"oneOf":[{"type":"string","description":"The base64 encoded content of the file to upload","example":"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE","uniqueKey":"content.oneOf.0","typeLabel":"string"},{"type":"null","description":"The base64 encoded content of the file to upload","example":"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE","uniqueKey":"content.oneOf.1","typeLabel":"null"}],"uniqueKey":"content","typeLabel":"string | null"},"category_id":{"oneOf":[{"type":"string","description":"The categoryId of the documents","example":"6530","uniqueKey":"category_id.oneOf.0","typeLabel":"string"},{"type":"null","description":"The categoryId of the documents","example":"6530","uniqueKey":"category_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"category_id","typeLabel":"string | null"},"path":{"oneOf":[{"type":"string","description":"The path for the file to be uploaded to","example":"/path/to/file","uniqueKey":"path.oneOf.0","typeLabel":"string"},{"type":"null","description":"The path for the file to be uploaded to","example":"/path/to/file","uniqueKey":"path.oneOf.1","typeLabel":"null"}],"uniqueKey":"path","typeLabel":"string | null"},"category":{"oneOf":[{"type":"object","description":"The category object for associating uploaded files. If both an ID and a name are provided, the ID takes precedence.","properties":{"value":{"oneOf":[{"type":"string","description":"The category name for associating uploaded files.","example":"reports, resumes","uniqueKey":"category.oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"The category name for associating uploaded files.","example":"reports, resumes","uniqueKey":"category.oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"category.oneOf.0.value","typeLabel":"string | null"},"source_value":{"oneOf":[{"type":"string","description":"The provider specific category for associating uploaded files, if provided, the value will be ignored.","example":"550e8400-e29b-41d4-a716-446655440000, CUSTOM_CATEGORY_NAME","uniqueKey":"category.oneOf.0.source_value.oneOf.0","typeLabel":"string"},{"type":"null","description":"The provider specific category for associating uploaded files, if provided, the value will be ignored.","example":"550e8400-e29b-41d4-a716-446655440000, CUSTOM_CATEGORY_NAME","uniqueKey":"category.oneOf.0.source_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"category.oneOf.0.source_value","typeLabel":"string | null"}},"uniqueKey":"category.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"category.oneOf.1","typeLabel":"null"}],"uniqueKey":"category","typeLabel":"object | null"},"confidential":{"oneOf":[{"type":"object","description":"The confidentiality level of the file to be uploaded","properties":{"value":{"oneOf":[{"type":"string","description":"Whether the file is confidential or not","enum":["true","false","unmapped_value",null],"example":"true","x-speakeasy-unknown-values":"allow","uniqueKey":"confidential.oneOf.0.value.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Whether the file is confidential or not","enum":["true","false","unmapped_value",null],"example":"true","x-speakeasy-unknown-values":"allow","uniqueKey":"confidential.oneOf.0.value.oneOf.1","typeLabel":"null"}],"uniqueKey":"confidential.oneOf.0.value","typeLabel":"enum\u003cstring> | null"},"source_value":{"oneOf":[{"type":"string","example":"public","uniqueKey":"confidential.oneOf.0.source_value.oneOf.0","typeLabel":"string"},{"type":"number","example":"public","uniqueKey":"confidential.oneOf.0.source_value.oneOf.1","typeLabel":"number"},{"type":"boolean","example":"public","uniqueKey":"confidential.oneOf.0.source_value.oneOf.2","typeLabel":"boolean"},{"type":"object","example":"public","uniqueKey":"confidential.oneOf.0.source_value.oneOf.3","typeLabel":"object"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"confidential.oneOf.0.source_value.oneOf.4.items.[INDEX]","typeLabel":"any"},"example":"public","uniqueKey":"confidential.oneOf.0.source_value.oneOf.4","typeLabel":"any[]"},{"type":"null","uniqueKey":"confidential.oneOf.0.source_value.oneOf.5","typeLabel":"null"}],"uniqueKey":"confidential.oneOf.0.source_value","typeLabel":"string | number | boolean | object | any[] | null"}},"uniqueKey":"confidential.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"confidential.oneOf.1","typeLabel":"null"}],"uniqueKey":"confidential","typeLabel":"object | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"weather-forecast","file_format":{"value":"pdf","source_value":"application/pdf"},"content":"VGhpcyBpc24ndCByZWFsbHkgYSBzYW1wbGUgZmlsZSwgYnV0IG5vIG9uZSB3aWxsIGV2ZXIga25vdyE","category_id":"6530","path":"/path/to/file","category":{"value":"reports, resumes","source_value":"550e8400-e29b-41d4-a716-446655440000, CUSTOM_CATEGORY_NAME"},"confidential":{"value":"true","source_value":"public"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b2ba1940-6a9d-46eb-8a77-9801635d7621":{"description":"The file was uploaded.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"oneOf":[{"type":"number","example":201,"uniqueKey":"statusCode.oneOf.0","typeLabel":"number"},{"type":"null","example":201,"uniqueKey":"statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"statusCode","typeLabel":"number | null"},"message":{"oneOf":[{"type":"string","example":"Employee created successfully","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","example":"Employee created successfully","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"timestamp":{"oneOf":[{"type":"string","example":"2021-01-01T01:01:01.000Z","format":"date-time","uniqueKey":"timestamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","example":"2021-01-01T01:01:01.000Z","format":"date-time","uniqueKey":"timestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time> | null"},"provider_errors":{"oneOf":[{"example":[{"status":400,"url":"https://api.someprovider.com/v1/endpoint","raw":{"error":"Bad Request","message":"The supplied data is invalid"},"headers":{"date":"Tue, 02 Apr 2024 13:52:01 GMT","content-type":"application/json; charset=utf-8","transfer-encoding":"chunked","connection":"close"}}],"type":"array","items":{"type":"object","properties":{"status":{"oneOf":[{"type":"number","example":400,"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].status.oneOf.0","typeLabel":"number"},{"type":"null","example":400,"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].status","typeLabel":"number | null"},"url":{"oneOf":[{"type":"string","example":"https://api.someprovider.com/v1/endpoint","uniqueKey":"provider_errors.oneOf.0.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","example":"https://api.someprovider.com/v1/endpoint","uniqueKey":"provider_errors.oneOf.0.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].url","typeLabel":"string | null"},"raw":{"oneOf":[{"type":"object","uniqueKey":"provider_errors.oneOf.0.items.[INDEX].raw.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"provider_errors.oneOf.0.items.[INDEX].raw.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].raw","typeLabel":"object | null"},"headers":{"oneOf":[{"type":"object","example":{"date":"Tue, 02 Apr 2024 13:52:01 GMT","content-type":"application/json; charset=utf-8","transfer-encoding":"chunked","connection":"close"},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].headers.oneOf.0","typeLabel":"object"},{"type":"null","example":{"date":"Tue, 02 Apr 2024 13:52:01 GMT","content-type":"application/json; charset=utf-8","transfer-encoding":"chunked","connection":"close"},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].headers","typeLabel":"object | null"}},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"provider_errors.oneOf.0","typeLabel":"object[]"},{"example":[{"status":400,"url":"https://api.someprovider.com/v1/endpoint","raw":{"error":"Bad Request","message":"The supplied data is invalid"},"headers":{"date":"Tue, 02 Apr 2024 13:52:01 GMT","content-type":"application/json; charset=utf-8","transfer-encoding":"chunked","connection":"close"}}],"type":"null","items":{"type":"object","properties":{"status":{"oneOf":[{"type":"number","example":400},{"type":"null","example":400}]},"url":{"oneOf":[{"type":"string","example":"https://api.someprovider.com/v1/endpoint"},{"type":"null","example":"https://api.someprovider.com/v1/endpoint"}]},"raw":{"oneOf":[{"type":"object"},{"type":"null"}]},"headers":{"oneOf":[{"type":"object","example":{"date":"Tue, 02 Apr 2024 13:52:01 GMT","content-type":"application/json; charset=utf-8","transfer-encoding":"chunked","connection":"close"}},{"type":"null","example":{"date":"Tue, 02 Apr 2024 13:52:01 GMT","content-type":"application/json; charset=utf-8","transfer-encoding":"chunked","connection":"close"}}]}}},"uniqueKey":"provider_errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors","typeLabel":"object[] | null"},"unified_warnings":{"oneOf":[{"example":[{"message":"The provided field type is not supported in the current model."}],"type":"array","items":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","example":"The provided field type is not supported in the current model.","uniqueKey":"unified_warnings.oneOf.0.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"type":"null","example":"The provided field type is not supported in the current model.","uniqueKey":"unified_warnings.oneOf.0.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"uniqueKey":"unified_warnings.oneOf.0.items.[INDEX].message","typeLabel":"string | null"}},"uniqueKey":"unified_warnings.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"unified_warnings.oneOf.0","typeLabel":"object[]"},{"example":[{"message":"The provided field type is not supported in the current model."}],"type":"null","items":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","example":"The provided field type is not supported in the current model."},{"type":"null","example":"The provided field type is not supported in the current model."}]}}},"uniqueKey":"unified_warnings.oneOf.1","typeLabel":"null"}],"uniqueKey":"unified_warnings","typeLabel":"object[] | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":201,"message":"Employee created successfully","timestamp":"2021-01-01T01:01:01.000Z","provider_errors":[{"status":400,"url":"https://api.someprovider.com/v1/endpoint","raw":{"error":"Bad Request","message":"The supplied data is invalid"},"headers":{"date":"Tue, 02 Apr 2024 13:52:01 GMT","content-type":"application/json; charset=utf-8","transfer-encoding":"chunked","connection":"close"}}],"unified_warnings":[{"message":"The provided field type is not supported in the current model."}]}}},"exampleType":"generated"}},"exampleType":"generated"},"adbaf980-115c-4ec8-b1b8-c5dc78d72740":{"description":"Invalid request.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":400,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Bad Request","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"data":{"oneOf":[{"type":"object","description":"Error details","properties":{"statusCode":{"oneOf":[{"type":"number","description":"HTTP status code","example":400,"uniqueKey":"data.oneOf.0.statusCode.oneOf.0","typeLabel":"number"},{"type":"null","description":"HTTP status code","example":400,"uniqueKey":"data.oneOf.0.statusCode.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.statusCode","typeLabel":"number | null"},"message":{"oneOf":[{"type":"string","description":"Error message","example":"Bad Request","uniqueKey":"data.oneOf.0.message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Error message","example":"Bad Request","uniqueKey":"data.oneOf.0.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.message","typeLabel":"string | null"},"headers":{"oneOf":[{"type":"object","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"},"uniqueKey":"data.oneOf.0.headers.oneOf.0","typeLabel":"object"},{"type":"null","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"},"uniqueKey":"data.oneOf.0.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.oneOf.0.headers","typeLabel":"object | null"}},"uniqueKey":"data.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.oneOf.1","typeLabel":"null"}],"uniqueKey":"data","typeLabel":"object | null"},"provider_errors":{"oneOf":[{"description":"List of provider-specific errors","type":"array","items":{"type":"object","properties":{"status":{"oneOf":[{"type":"number","description":"HTTP status code of the provider error","example":400,"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].status.oneOf.0","typeLabel":"number"},{"type":"null","description":"HTTP status code of the provider error","example":400,"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].status.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].status","typeLabel":"number | null"},"url":{"oneOf":[{"type":"string","description":"URL that caused the error","example":"https://api.provider.com/v1/resource","uniqueKey":"provider_errors.oneOf.0.items.[INDEX].url.oneOf.0","typeLabel":"string"},{"type":"null","description":"URL that caused the error","example":"https://api.provider.com/v1/resource","uniqueKey":"provider_errors.oneOf.0.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].url","typeLabel":"string | null"},"raw":{"oneOf":[{"type":"object","description":"Raw error response from the provider","example":{"message":"Invalid input parameters"},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].raw.oneOf.0","typeLabel":"object"},{"type":"null","description":"Raw error response from the provider","example":{"message":"Invalid input parameters"},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].raw.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].raw","typeLabel":"object | null"},"headers":{"oneOf":[{"type":"object","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].headers.oneOf.0","typeLabel":"object"},{"type":"null","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors.oneOf.0.items.[INDEX].headers","typeLabel":"object | null"}},"uniqueKey":"provider_errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"provider_errors.oneOf.0","typeLabel":"object[]"},{"description":"List of provider-specific errors","type":"null","items":{"type":"object","properties":{"status":{"oneOf":[{"type":"number","description":"HTTP status code of the provider error","example":400},{"type":"null","description":"HTTP status code of the provider error","example":400}]},"url":{"oneOf":[{"type":"string","description":"URL that caused the error","example":"https://api.provider.com/v1/resource"},{"type":"null","description":"URL that caused the error","example":"https://api.provider.com/v1/resource"}]},"raw":{"oneOf":[{"type":"object","description":"Raw error response from the provider","example":{"message":"Invalid input parameters"}},{"type":"null","description":"Raw error response from the provider","example":{"message":"Invalid input parameters"}}]},"headers":{"oneOf":[{"type":"object","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"}},{"type":"null","description":"Response headers","example":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"}}]}}},"uniqueKey":"provider_errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"provider_errors","typeLabel":"object[] | null"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":400,"message":"Bad Request","timestamp":"2023-05-30T00:00:00.000Z","data":{"statusCode":400,"message":"Bad Request","headers":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"}},"provider_errors":[{"status":400,"url":"https://api.provider.com/v1/resource","raw":{"message":"Invalid input parameters"},"headers":{"content-type":"application/json","x-request-id":"5678c28b211dace4e0a0f9171e6b88c5"}}]}}},"exampleType":"generated"}},"exampleType":"generated"},"c35fca13-aa2f-486c-826a-6b34ff45e938":{"description":"Unauthorized access.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":401,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Unauthorized","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":401,"message":"Unauthorized","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"3e0cc099-7d30-4f82-a184-3352ba15f33f":{"description":"Forbidden.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":403,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Forbidden resource","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":403,"message":"Forbidden resource","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"f9577a5d-7d26-45ea-9ab1-7bf680e20d85":{"description":"Resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Not Found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"message":"Not Found","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"69228c9e-bde2-45e4-8f36-d3b9a9d406cd":{"description":"The request has timed out.","headers":{"Retry-After":{"description":"A time in seconds after which the request can be retried.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":408,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Request timed out","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":408,"message":"Request timed out","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"6fb8af78-a81a-4cb9-aef8-44f1f8cc7c2c":{"description":"Conflict with current state.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":409,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Conflict","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":409,"message":"Conflict","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"1096ef39-ebc7-4919-9ae8-1b1b4a95e41a":{"description":"Precondition failed: the linked account is suspended, expired, archived, or in an error state. `errorCode` identifies which.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":412,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Account is suspended and cannot process requests","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"errorCode":{"type":"string","description":"Identifies which account status blocked the request","enum":["AccountSuspendedError","AccountExpiredError","AccountArchivedError","AccountErrorStatus"],"example":"AccountSuspendedError","x-speakeasy-unknown-values":"allow","isRequired":true,"uniqueKey":"errorCode","typeLabel":"enum\u003cstring>"},"details":{"oneOf":[{"type":"object","required":["status"],"properties":{"status":{"type":"string","description":"The account status that blocked the request","enum":["suspended","expired","archived","error"],"example":"suspended","x-speakeasy-unknown-values":"allow","isRequired":true,"uniqueKey":"details.oneOf.0.status","typeLabel":"enum\u003cstring>"},"expiresAt":{"oneOf":[{"type":"string","description":"When the test account expired. Present when status is expired","format":"date-time","uniqueKey":"details.oneOf.0.expiresAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"When the test account expired. Present when status is expired","format":"date-time","uniqueKey":"details.oneOf.0.expiresAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.expiresAt","typeLabel":"string\u003cdate-time> | null"},"statusReasons":{"oneOf":[{"description":"Why the account is in an error state. Present when status is error","type":"array","items":{"type":"object","properties":{"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"details.oneOf.0.statusReasons.oneOf.0.items.[INDEX].timestamp","typeLabel":"string\u003cdate-time>"},"code":{"oneOf":[{"type":"string","uniqueKey":"details.oneOf.0.statusReasons.oneOf.0.items.[INDEX].code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"details.oneOf.0.statusReasons.oneOf.0.items.[INDEX].code.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.statusReasons.oneOf.0.items.[INDEX].code","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","uniqueKey":"details.oneOf.0.statusReasons.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"details.oneOf.0.statusReasons.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.statusReasons.oneOf.0.items.[INDEX].description","typeLabel":"string | null"}},"required":["timestamp"],"uniqueKey":"details.oneOf.0.statusReasons.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"details.oneOf.0.statusReasons.oneOf.0","typeLabel":"object[]"},{"description":"Why the account is in an error state. Present when status is error","type":"null","items":{"type":"object","properties":{"code":{"oneOf":[{"type":"string"},{"type":"null"}]},"description":{"oneOf":[{"type":"string"},{"type":"null"}]},"timestamp":{"type":"string","format":"date-time"}},"required":["timestamp"]},"uniqueKey":"details.oneOf.0.statusReasons.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.oneOf.0.statusReasons","typeLabel":"object[] | null"}},"uniqueKey":"details.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"object | null"}},"required":["statusCode","message","timestamp","errorCode"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":412,"message":"Account is suspended and cannot process requests","timestamp":"2023-05-30T00:00:00.000Z","errorCode":"AccountSuspendedError","details":{"status":"suspended","expiresAt":"2023-11-07T05:31:56Z","statusReasons":[{"timestamp":"2023-11-07T05:31:56Z","code":"\u003cstring>","description":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"1446957e-8735-4d75-9c6f-14c23314a3e5":{"description":"Validation error.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":422,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Unprocessable Entity","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":422,"message":"Unprocessable Entity","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"701e9bac-acf6-4c22-8c7f-0e3af0281728":{"description":"Too many requests.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":429,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Too many requests","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":429,"message":"Too many requests","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"ccfed9e7-d503-49ef-a4f1-dccd28259ff0":{"description":"Server error while executing the request.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":500,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Internal server error","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":500,"message":"Internal server error","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"99719937-921e-44a8-80ef-2ee31798e74d":{"description":"This functionality is not implemented.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":501,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Not Implemented","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":501,"message":"Not Implemented","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"29246ce4-7111-41ff-9ded-4ddf6e8a2cd0":{"description":"Bad gateway error.","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code","example":502,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","description":"Error message","example":"Bad Gateway","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"timestamp":{"type":"string","description":"Timestamp when the error occurred","example":"2023-05-30T00:00:00.000Z","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"}},"required":["statusCode","message","timestamp"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":502,"message":"Bad Gateway","timestamp":"2023-05-30T00:00:00.000Z"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ab5eb0fc-9b6b-4d89-9e58-2e87db603591":{"basic":{"type":"http","scheme":"basic","scopes":[]}}},"servers":{"4c803db0-8f3f-4132-ac17-a7eae7932799":{"url":"https://api.stackone.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","scopes":[]},"schema":{"title":"Basic Auth","type":"object","description":"Basic authentication header of the form `Basic \u003cencoded-value>`, where `\u003cencoded-value>` is the base64-encoded string `username:password`.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"basic","name":"Authorization"}],"title":"basic"}]},"originalFileLocation":"documents/api-reference/documents.json"},"subdomain":"stackone-60","siteName":"Stackone","title":"Upload File - Stackone","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-03T06:11:58.862Z","originalFileLocation":"documents/api-reference/files/upload-file.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=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Stackone\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stackone-60/vUkZo0TYnLvO23Z1/_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/stackone-60/vUkZo0TYnLvO23Z1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stackone-60/vUkZo0TYnLvO23Z1/_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/stackone-60/vUkZo0TYnLvO23Z1/_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/stackone-60/vUkZo0TYnLvO23Z1/_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/stackone-60/vUkZo0TYnLvO23Z1/_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/stackone-60/vUkZo0TYnLvO23Z1/_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/stackone-60/vUkZo0TYnLvO23Z1/_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/stackone-60/vUkZo0TYnLvO23Z1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Upload File - Stackone\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Stackone\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.stackone.com/documents/api-reference/files/upload-file\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stackone-60.mintlify.app/_mintlify/api/og/v2?division=Files\u0026amp;title=Upload+File\u0026amp;theme=841e834217e7bb36731c6d12\u0026amp;signature=6f1540f8c8b5a0f01021d1d61318e43acf29113a5a585caed7bca81eed8bd6cb\">\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=\"Upload File - Stackone\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stackone-60.mintlify.app/_mintlify/api/og/v2?division=Files\u0026amp;title=Upload+File\u0026amp;theme=841e834217e7bb36731c6d12\u0026amp;signature=6f1540f8c8b5a0f01021d1d61318e43acf29113a5a585caed7bca81eed8bd6cb\">\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/stackone-60/vUkZo0TYnLvO23Z1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Stackone\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#068F56\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"gYj1x4gkdSwpCGVLFVXNVOPQ_wVrePW37ZKJt3HEqys\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.stackone.com/documents/api-reference/files/upload-file\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/documents/api-reference/files/upload-file.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.stackone.com/#organization\",\"name\":\"Stackone\",\"url\":\"https://docs.stackone.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/stackone-60/WsmKpuoeBZmio9QO/images/logo/logo-light-mode.svg?fit=max\u0026auto=format\u0026n=WsmKpuoeBZmio9QO\u0026q=85\u0026s=f08be9c0a142cb1e7fcaa23910c4bf7f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.stackone.com#website\",\"name\":\"Stackone\",\"url\":\"https://docs.stackone.com\",\"publisher\":{\"@id\":\"https://docs.stackone.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.stackone.com/documents/api-reference/files/upload-file#webpage\",\"url\":\"https://docs.stackone.com/documents/api-reference/files/upload-file\",\"name\":\"Upload File\",\"dateModified\":\"2026-11-03T06:11:58.862Z\",\"isPartOf\":{\"@id\":\"https://docs.stackone.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.stackone.com/documents/api-reference/files/upload-file#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.stackone.com/documents/api-reference/files/upload-file#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Features\",\"item\":\"https://docs.stackone.com/features/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unified Actions\",\"item\":\"https://docs.stackone.com/features/unified-actions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Documents\",\"item\":\"https://docs.stackone.com/documents/introduction\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Endpoints\",\"item\":\"https://docs.stackone.com/documents/api-reference/files/download-file\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Files\",\"item\":\"https://docs.stackone.com/documents/api-reference/files/download-file\"},{\"@type\":\"ListItem\",\"position\":6,\"name\":\"Upload File\",\"item\":\"https://docs.stackone.com/documents/api-reference/files/upload-file\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.stackone.com/documents/api-reference/files/upload-file#apireference\",\"headline\":\"Upload File\",\"name\":\"Upload File\",\"url\":\"https://docs.stackone.com/documents/api-reference/files/upload-file\",\"mainEntityOfPage\":{\"@id\":\"https://docs.stackone.com/documents/api-reference/files/upload-file#webpage\"},\"dateModified\":\"2026-11-03T06:11:58.862Z\",\"publisher\":{\"@id\":\"https://docs.stackone.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.stackone.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Stackone\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Stackone","nav":{"global":null,"tabs":[{"tab":"Gateway","icon":"rocket","pages":[{"title":"Gateway","href":"/end-users/overview"}]},{"tab":"Connectors","icon":"plug","pages":[{"title":"Connectors","href":"/connectors/introduction"}]},{"tab":"Embed","icon":"cube","groups":[{"group":"Embed StackOne","root":{"title":"Embed","href":"/embed/overview"},"expanded":true,"pages":[{"title":"Getting Started","sidebarTitle":"Getting Started","href":"/embed/getting-started"},{"title":"API Keys","href":"/embed/api-keys"},{"title":"Connect Session","sidebarTitle":"Connect Session","href":"/embed/connect-session"},{"group":"Account Linking","root":{"title":"Account Linking - StackOne Hub","href":"/embed/account-linking/overview"},"pages":[{"title":"StackOne Hub (React)","sidebarTitle":"Hub (React)","href":"/embed/account-linking/stackone-hub"},{"title":"StackOne Hub Web Component","sidebarTitle":"Hub (Web Component)","href":"/embed/account-linking/stackone-hub-web-component"},{"title":"Hub (Auth Link)","href":"/embed/account-linking/auth-link"}]},{"title":"Handle Account Events","sidebarTitle":"Handle Account Events","href":"/embed/handle-account-events"},{"group":"Call Actions","root":{"title":"Call Actions","sidebarTitle":"Overview","href":"/embed/call-actions/overview"},"expanded":true,"pages":[{"group":"Agent SDK","root":{"title":"Agent SDK","href":"/embed/call-actions/agent-sdk"},"pages":[{"title":"OpenAI","href":"/embed/call-actions/agent-sdk/openai"},{"title":"Vercel AI SDK","href":"/embed/call-actions/agent-sdk/vercel-ai-sdk"},{"title":"LangChain","href":"/embed/call-actions/agent-sdk/langchain"},{"title":"LangGraph","href":"/embed/call-actions/agent-sdk/langgraph"},{"title":"CrewAI","href":"/embed/call-actions/agent-sdk/crewai"},{"title":"Pydantic AI","href":"/embed/call-actions/agent-sdk/pydantic-ai"}]},{"group":"MCP","root":{"title":"MCP","href":"/embed/call-actions/mcp"},"pages":[{"group":"Frameworks","pages":[{"title":"Anthropic SDK","href":"/embed/call-actions/mcp/anthropic-sdk"},{"title":"OpenAI Agents SDK","href":"/embed/call-actions/mcp/openai-agents-sdk"},{"title":"Vercel AI SDK","href":"/embed/call-actions/mcp/vercel-ai-sdk"},{"title":"LangChain","href":"/embed/call-actions/mcp/langchain"},{"title":"LangGraph","href":"/embed/call-actions/mcp/langgraph"},{"title":"CrewAI","href":"/embed/call-actions/mcp/crewai"},{"title":"Pydantic AI","href":"/embed/call-actions/mcp/pydantic-ai"},{"title":"Google ADK","href":"/embed/call-actions/mcp/google-adk"},{"title":"Azure AI Foundry Agent Service","href":"/embed/call-actions/mcp/azure-agents"}]},{"title":"Troubleshooting","href":"/embed/call-actions/mcp/troubleshooting"},{"title":"Frequently Asked Questions","sidebarTitle":"FAQ","href":"/embed/call-actions/mcp/faq"}]},{"group":"Agent2Agent (A2A)","root":{"title":"Agent2Agent","href":"/embed/call-actions/agent2agent"},"pages":[{"group":"Agent Frameworks","root":{"title":"Agent Frameworks","sidebarTitle":"Overview","href":"/embed/call-actions/agent2agent/agent-frameworks"},"pages":[{"title":"A2A SDK","sidebarTitle":"A2A SDK","href":"/embed/call-actions/agent2agent/a2a-sdk"},{"title":"Agent Development Kit (ADK)","href":"/embed/call-actions/agent2agent/adk"},{"title":"AG2","href":"/embed/call-actions/agent2agent/ag2"},{"title":"BeeAI Framework","href":"/embed/call-actions/agent2agent/beeai"},{"title":"Strands Agents","href":"/embed/call-actions/agent2agent/strands"}]},{"group":"Agent Platforms","root":{"title":"Agent Platforms","sidebarTitle":"Overview","href":"/embed/call-actions/agent2agent/agent-platforms"},"pages":[{"title":"Gemini Enterprise","href":"/embed/call-actions/agent2agent/gemini-enterprise"},{"title":"Microsoft Foundry","href":"/embed/call-actions/agent2agent/microsoft-foundry"}]}]},{"title":"RPC/HTTP","href":"/embed/call-actions/rpc-http"},{"title":"Deep Query","href":"/embed/call-actions/deep-query"},{"group":"Troubleshooting","root":{"title":"Troubleshooting","href":"/embed/call-actions/troubleshooting/overview"},"pages":[{"title":"Playground","href":"/embed/call-actions/troubleshooting/playground"},{"title":"Request Tester","href":"/embed/call-actions/troubleshooting/request-tester"},{"title":"Postman","href":"/embed/call-actions/troubleshooting/postman"}]}]}]},{"group":"Features","root":{"title":"Features","href":"/features/overview"},"expanded":true,"pages":[{"title":"Tool Discovery","href":"/features/tool-discovery"},{"title":"Tool Defense","href":"/features/tool-defense"},{"title":"Actions Metadata for Custom UIs","sidebarTitle":"Actions Metadata","href":"/features/actions-metadata-for-custom-uis"},{"title":"Multi-Tenant Accounts","href":"/features/multi-tenant-accounts"},{"title":"File Picker","sidebarTitle":"File Picker","href":"/features/file-picker"},{"group":"Observability","root":{"title":"Observability","href":"/features/observability/overview"},"pages":[{"title":"Debug \u0026 Monitor","href":"/features/observability/debug-and-monitor"},{"title":"Observability \u0026 Log Sync","sidebarTitle":"Observability Sync","href":"/features/observability/observability-and-log-sync"},{"title":"Request Log Debugging","sidebarTitle":"Request Log Debugging","href":"/features/observability/request-log-debugging"},{"title":"Request Log Dashboards","sidebarTitle":"Request Log Dashboards","href":"/features/observability/request-log-dashboards"}]},{"group":"Unified Actions","root":{"title":"Unified Actions","sidebarTitle":"Overview","href":"/features/unified-actions"},"pages":[{"group":"Documents","root":{"title":"Unified Documents Actions","href":"/documents/introduction"},"pages":[{"title":"Making Your First Request","sidebarTitle":"Making Your First Request","href":"/documents/making-your-first-request"},{"title":"Document-Aware Agent","href":"/documents/document-aware-agent"},{"group":"Connector Guides","pages":[{"title":"Overview","href":"/documents/connector-guides/overview"},{"title":"OAuth Proxy Redirect","href":"/documents/connector-guides/oauth-proxy-redirect"},{"title":"Google Drive Partner OAuth","href":"/documents/connector-guides/googledrive-partner-oauth"},{"title":"SharePoint Partner OAuth","href":"/documents/connector-guides/sharepoint-partner-oauth"},{"title":"SharePoint Client OAuth (Single-Tenant)","href":"/documents/connector-guides/sharepoint-client-oauth-single-tenant"},{"title":"SharePoint and OneDrive","href":"/documents/connector-guides/sharepoint-and-onedrive"},{"title":"OneDrive Partner OAuth","href":"/documents/connector-guides/onedrive-partner-oauth"},{"title":"Confluence Integration","href":"/documents/connector-guides/confluence-integration"}]},{"group":"Troubleshooting","pages":[{"title":"Error Codes and Troubleshooting","href":"/documents/error-codes-and-troubleshooting"}]},{"group":"Endpoints","icon":"bolt","pages":[{"group":"Files","icon":"file","pages":[{"openapi":"get /unified/documents/files/{id}/download","title":"Download File","description":null,"href":"/documents/api-reference/files/download-file"},{"openapi":"post /unified/documents/files/upload","title":"Upload File","href":"/documents/api-reference/files/upload-file"},{"openapi":"get /unified/documents/files","title":"List Files","description":null,"href":"/documents/api-reference/files/list-files"},{"openapi":"get /unified/documents/files/{id}","title":"Get File","href":"/documents/api-reference/files/get-file"}]},{"group":"Folders","icon":"folder","pages":[{"openapi":"get /unified/documents/folders","title":"List Folders","href":"/documents/api-reference/folders/list-folders"},{"openapi":"get /unified/documents/folders/{id}","title":"Get Folder","href":"/documents/api-reference/folders/get-folder"}]},{"group":"Drives","icon":"hard-drive","pages":[{"openapi":"get /unified/documents/drives","title":"List Drives","href":"/documents/api-reference/drives/list-drives"},{"openapi":"get /unified/documents/drives/{id}","title":"Get Drive","href":"/documents/api-reference/drives/get-drive"}]}]}]},{"group":"IAM","root":{"title":"Unified IAM API","href":"/iam/introduction"},"pages":[{"title":"Making Your First Request","sidebarTitle":"Making Your First Request","href":"/iam/making-your-first-request"},{"group":"Troubleshooting","pages":[{"title":"Error Codes and Troubleshooting","href":"/iam/error-codes-and-troubleshooting"}]},{"group":"Endpoints","icon":"bolt","pages":[{"group":"Users","icon":"users","pages":[{"openapi":"get /unified/iam/users","title":"List Users","href":"/iam/api-reference/users/list-users"},{"openapi":"get /unified/iam/users/{id}","title":"Get User","href":"/iam/api-reference/users/get-user"},{"openapi":"patch /unified/iam/users/{id}","title":"Update User","href":"/iam/api-reference/users/update-user"},{"openapi":"delete /unified/iam/users/{id}","title":"Delete User","href":"/iam/api-reference/users/delete-user"}]},{"group":"Roles","icon":"user-shield","pages":[{"openapi":"get /unified/iam/roles","title":"List Roles","href":"/iam/api-reference/roles/list-roles"},{"openapi":"get /unified/iam/roles/{id}","title":"Get Role","href":"/iam/api-reference/roles/get-role"}]},{"group":"Groups","icon":"users","pages":[{"openapi":"get /unified/iam/groups","title":"List Groups","href":"/iam/api-reference/groups/list-groups"},{"openapi":"get /unified/iam/groups/{id}","title":"Get Group","href":"/iam/api-reference/groups/get-group"}]},{"group":"Organizations","icon":"building","pages":[{"openapi":"get /unified/iam/organizations","title":"List Organizations","href":"/iam/api-reference/organizations/list-organizations"},{"openapi":"get /unified/iam/organizations/{id}","title":"Get Organization","href":"/iam/api-reference/organizations/get-organization"}]},{"group":"Me","icon":"circle-user","pages":[{"openapi":"get /unified/iam/me","title":"Get Me","href":"/iam/api-reference/me/get-me"}]},{"group":"Resource Types","icon":"tags","pages":[{"openapi":"get /unified/iam/resource_types","title":"List Resource Types","href":"/iam/api-reference/resource-types/list-resource-types"}]},{"group":"Resource Users","icon":"users","pages":[{"openapi":"get /unified/iam/resource_users","title":"List Resource Users","href":"/iam/api-reference/resource-users/list-resource-users"}]},{"group":"Policies","icon":"shield","pages":[{"openapi":"get /unified/iam/policies","title":"List Policies","href":"/iam/api-reference/policies/list-policies"},{"openapi":"get /unified/iam/policies/{id}","title":"Get Policy","href":"/iam/api-reference/policies/get-policy"}]}]}]},{"group":"Permissions Check","root":{"title":"Permissions Check","href":"/permissions-check/introduction"},"pages":[{"title":"Making Your First Request","href":"/permissions-check/making-your-first-request"},{"group":"Endpoints","icon":"bolt","pages":[{"title":"Check Permissions","href":"/permissions-check/api-reference/check-permissions"},{"title":"List Resource Types","href":"/permissions-check/api-reference/list-resource-types"}]}]}]}]}]},{"tab":"Platform API","icon":"code","pages":[{"title":"Platform API","href":"/platform-api/overview"}]}]},"basePath":"","title":"Upload File - Stackone","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}