Skip to main content
POST
Upload document

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Headers

X-Workspace-Id
string
required

Workspace ID

Body

multipart/form-data
file
file
required

Document file

Response

Document uploaded successfully

createdAt
string
fileName
string
fileSizeBytes
integer
fileType
string
id
string
organizationID
string
parseError
string
parseStatus
enum<string>
Available options:
pending,
parsing,
completed,
failed
parsedContent
string
s3Key
string
tensorlakeFileID
string
tensorlakeParseID
string
tokenCount
integer
updatedAt
string
uploadedBy
string