Skip to main content
POST
/
api
/
v1
/
files
/
upload
Upload File
curl --request POST \
  --url https://api.artosai.com/api/v1/files/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'file_name=<string>' \
  --form file_content='@example-file' \
  --form 'container=<string>'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Token provides organization-scoped access.

Body

multipart/form-data
file_name
string
required

Name to give the file

file_content
file
required

File content

container
string
required

Container/folder name for upload

Response

File uploaded successfully

message
string