POST
/
files
curl --request POST \
  --url https://api.bluesight.ai/files \
  --header 'Content-Type: multipart/form-data'
{
  "bytes": 3669052,
  "created_at": 1722451315,
  "filename": "forest_fire_train_data.h5",
  "id": "file-lw3zjxrg"
}

Body

multipart/form-data
file
file
required

The File object (not file name) to be uploaded.

Response

200
application/json
Successful Response
id
string
required

The file identifier, which can be referenced in the API endpoints.

created_at
integer
required

The Unix timestamp (in seconds) for when the file was created.

filename
string | null

The name of the file.

bytes
integer | null

The size of the file, in bytes.