Skip to main content
POST
/
data
/
batches
/
{id}
/
uploads
Upload batch file
curl --request POST \
  --url https://acusight.io/api/data/batches/{id}/uploads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'path=<string>'
{
  "data": {},
  "error": {
    "code": "<string>",
    "details": "<string>",
    "message": "<string>"
  },
  "meta": {
    "count": 123,
    "limit": 123,
    "offset": 123,
    "total": 123
  },
  "success": true
}

Authorizations

Authorization
string
header
required

JWT access token. Paste the token only; the Bearer prefix is added automatically.

Path Parameters

id
integer
required

Batch ID

Body

multipart/form-data
file
file
required

File to upload

path
string

Optional relative path within the batch

Response

Upload metadata

data
object
error
object
meta
object
success
boolean