Skip to main content
POST

Authorizations

Oai-Api-Key
string
header
required

Body

spaceId
string
required

The ID of the space to upload the document to

Example:

"space_123"

file
file

The file to upload

filename
string
Required string length: 1 - 255
embeddingModel
string
metadata
string

Response

Document uploaded successfully

document
object
required