cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/data/add \ --header 'Content-Type: multipart/form-data' \ --header 'x-api-key: <api-key>' \ --form 'name=<string>' \ --form bucketId=123 \ --form 'bucketName=<string>' \ --form 'dataset=<string>' \ --form 'bucketPath=<string>' \ --form 'metadata=<string>' \ --form 'files[]=@example-file'
{ "success": true, "error": "<string>", "id": 123 }
Add a new data item. You can add a maximum of 10000 files directly through this API. Use addOrganizationDataFile to add additional files.
addOrganizationDataFile
Organization ID
OK
The response is of type object.
object