Skip to main content
POST
Upload Document

Authorizations

authToken
string
cookie
required

Cookie-based authentication using userId and authToken cookies

Body

multipart/form-data
files
file[]

Files to upload

Maximum array length: 10
stackId
string

MongoDB ObjectId

Pattern: ^[0-9a-fA-F]{24}$
source
string
default:Uploaded
metadata
string

JSON string of metadata array

importKey
string
skipProcessing
boolean

Skip document processing

Response

Documents uploaded successfully

success
boolean
uploads
object[]