Add new data

Add new data

post

Add a new data item. You can add a maximum of 10000 files directly through this API. Use addOrganizationDataFile to add additional files.

Authorizations
Path parameters
organizationIdintegerRequired

Organization ID

Body
namestringRequired
bucketIdintegerOptional
bucketNamestringOptional

Name of the bucket name (as an Edge Impulse name)

datasetstringRequired
bucketPathstringOptional

Optional path in the bucket to create this data item (files are created under this path).

metadatastringRequired

Key-value pair of metadata (in JSON format)

files[]string · binary[]Required
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/organizations/{organizationId}/data/add HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 124

{
  "name": "text",
  "bucketId": 1,
  "bucketName": "text",
  "dataset": "text",
  "bucketPath": "text",
  "metadata": "text",
  "files[]": [
    "binary"
  ]
}
200

OK

{
  "success": true,
  "error": "text",
  "id": 1
}

Last updated

Was this helpful?