Skip to main content
POST
TypeScript SDK

Authorizations

Oai-Api-Key
string
header
required

Body

application/json

Batch upload request

spaceId
string
required

The ID of the space to upload the documents to

Example:

"space_123"

documents
object[]
required

Array of documents to upload (max 100)

Required array length: 1 - 100 elements

Response

Batch upload completed

successful
object[]
required
failed
object[]
required
totalSuccessful
number
required
totalFailed
number
required