Add dataset

Add dataset

Add a new research dataset

POSThttps://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/dataset
Path parameters
organizationId*integer

Organization ID

Body
dataset*string
tags*array of string
category*string
type*enum
filesclinical
bucket*object
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

id*integer

Job identifier. Status updates will include this identifier.

Example: 12873488112
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/dataset', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "dataset": "text",
      "tags": [
        "text"
      ],
      "category": "text",
      "type": "files",
      "bucket": {
        "path": "text"
      }
    }),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "id": 12873488112
}

Last updated