Upload a file to a documentAsk AIpost https://api.indigitall.com/v2/pathbot/{appId}/documents/filesUploads a file to a document by its unique document ID.Path ParamsappIdintegerrequiredThe unique identifier for the new application.Body ParamssourceTypestringenumrequiredThe source type of the document.TXTMARKDOWNPDFAllowed:TXTMARKDOWNPDFnamestringrequiredThe name of the document.filefilerequiredThe file to upload.splitLengthstringTarget length for document chunks (used by internal processing). Must be between 200 and 4000.splitOverlapstringOverlap size between document chunks (used by internal processing). Must be between 0 and 2000.Responses 201File uploaded 400The request could not be understood or was missing required parameters. 401Authentication failed or user does not have permissions for the desired action. 403The server understood the request, but refuses to authorize it. 404The requested resource could not be found. 500The server encountered an unexpected condition that prevented it from fulfilling the request. defaultAn unexpected error occurred.Updated 15 days ago