File Uploading
Last updated
Was this helpful?
Last updated
Was this helpful?
File upload is a key step to initiate data processing in Koncile. This endpoint allows you to send files for analysis while specifying the necessary parameters, such as the folder identifier (folder_id
) and the extraction template (template_id
). Once the file is uploaded, the API returns a list of task IDs (task_ids
), corresponding to the individual processes associated with your file.
Auto-classification is applied when the folder id or template id are left empty. Auto-classification will select the folder and templates that fit best the uploaded document. When auto-classification fails, the files have to manually be classified on the platform. Only use this feature if you are using both the api and the platform. For more information, check out the Auto-classify documents
POST
https://api.koncile.ai/v1/upload_file
Upload a list of files to the koncile API
folder_id Integer The id of the folder in which the document will be stored
template_id Integer The id of the template containing the fields to extract
doc_id Integer Feature The id from the document the uploaded file will complete. For more informations check the Amendment logic.
files files Required The list of File object (not file name) to be uploaded.
task_ids Integer A list of task ids, used to the generated document
The example below demonstrates how to make a cURL request to upload a file, including the essential information to be included in the headers and parameters.
Detailed Response Schema (Returned Schemas)