Skip to main content
POST

Path

string
obrigatório
The id of the datastore where you want to upload a file.
string
padrão:"multipart/form-data"
obrigatório
Content Type must be set to multipart/form-data

Body

file
obrigatório
File to upload
string
File Name
string
Custom ID: If you want to set a custom ID for the file, you can do it here.
Supported mime types
  • text/csv’
  • text/plain’
  • text/markdown’
  • application/pdf’
  • application/json’
  • application/vnd.openxmlformats-officedocument.presentationml.presentation
  • application/vnd.openxmlformats-officedocument.wordprocessingml.document
  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Example JS Code