Skip to main content
POST
Create File

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file

Exactly one of file (multipart upload) or url (async ingestion)

Maximum string length: 153600
url
string<uri>
Maximum string length: 2048
file_name
string | null
Maximum string length: 255

Response

message
string
required
Allowed value: "File uploaded successfully."
data
FileResource · object
required