Upload File
Supporting APIs
Upload File
Upload files to Wokelo to supplement research reports with proprietary data. Each uploaded file receives a unique identifier (fileName) that can be referenced in the custom_files parameter when creating reports.
- Individual uploads preferred – for best performance, upload files one at a time.
- Bulk upload limits – maximum 10 files per request, 20 MB limit per file.
POST
Upload File
Documentation Index
Fetch the complete documentation index at: https://docs.wokelo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Upload your files to Wokelo to supplement research reports with proprietary data. Each uploaded file receives a unique identifier that you can reference in thecustom_files parameter when creating reports.
Endpoint Details
- Method: POST
- Endpoint:
/api/assets/upload/
Authentication requirements
- Include a valid JWT token in your request header
- If you don’t have a token yet, you can get one from the /auth/token/ endpoint first.
Request
Request Parameters
Header Parameters
JWT token obtained from the Authentication request
Body Parameters
Array of files to be uploaded
Your own UUIDs to track files. Must match the length and order of the
files array. These UUIDs will be returned in the response alongside Wokelo’s fileName identifiers.- Individual uploads preferred - For best performance, upload files individually
- Bulk upload limits - When uploading multiple files, the maximum is 10 files per request with a 20MB limit per file.
Response
Successful response will include the details of files uploaded successfully and those that failed to upload.Successful Response Fields
Overall upload status (success or error)
Array containing information on successfully uploaded files
Wokelo’s unique file identifier—use this in the
custom_files parameter when creating reportsOriginal filename as uploaded
Detected file type/format
Your provided UUID (if supplied in request)
Array containing information about failed uploads (empty on success)
Reason for which the file upload failed
Authorizations
JWT token obtained from the /auth/token/ endpoint.
Body
multipart/form-data