Skip to main content
POST
File explorer.

Authorizations

Authorization
string
header
required

Bearer JWT token or API Key (sk-*).

Body

application/json
fileName
string
required

File name.

Example:

"report.pdf"

type
enum<string>
required

Logical file type stored by the platform.

Available options:
FILE,
FOLDER
Example:

"FILE"

size
number
required

Size of the file in bytes.

Example:

204800

contentType
string

Content type declared for the uploaded file.

Example:

"application/pdf"

path
string

Optional source or destination path associated with the file.

Example:

"/imports/2026/report.pdf"

force
boolean

Overwrite the existing file when a conflicting target already exists.

Example:

false

Response

OK.

Last modified on September 5, 2026