Skip to main content
POST
/
data
/
batches
/
{id}
/
uploads
/
stream
Stream batch files
curl --request POST \
  --url https://acusight.io/api/data/batches/{id}/uploads/stream \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form files='@example-file' \
  --form 'paths=<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
files
file
required

Files to upload (multiple, max 50)

paths
string

Newline-separated relative paths for each file

Response

Upload accepted and processing

data
object
error
object
meta
object
success
boolean