Skip to main content
POST
Upload documents to a dataset

Authorizations

X-Api-Key
string
header
required

Headers

X-Api-Key
string
required

Api key to pass as a X-Api-Key request header.

Path Parameters

datasetId
string
required

ID of the dataset.

Body

multipart/form-data
files
file[]
required

Files to upload (1-10 files, max 5 MB each)

Response

Documents uploaded successfully

id
string

Document identifier

name
string

Original filename

size
integer<int64> | null

File size in bytes

status
string | null

Parsing status

chunkMethod
string | null

Chunking method used

createdAt
string<date-time> | null

Upload timestamp