Files
Upload File
Dataset Items
Evaluations
Evaluation Items
Files
Upload File
POST
/
v5
/
files
curl --request POST \
--url https://api.egp.scale.com/v5/files \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"object": "file",
"size": 123,
"md5_checksum": "<string>",
"filename": "<string>",
"mime_type": "<string>",
"tags": {},
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>"
}
Authorizations
Body
multipart/form-data
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.egp.scale.com/v5/files \
--header 'Content-Type: multipart/form-data' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"object": "file",
"size": 123,
"md5_checksum": "<string>",
"filename": "<string>",
"mime_type": "<string>",
"tags": {},
"created_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>"
}