Get data metadata

Get data metadata

Get a data item. This will HEAD the underlying bucket to retrieve the last file information.

GEThttps://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/data/{dataId}
Path parameters
organizationId*integer

Organization ID

dataId*integer

Data ID

Query parameters
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

data*OrganizationDataItem (object)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/data/{dataId}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "data": {
    "id": 0,
    "name": "text",
    "bucketId": 0,
    "bucketName": "text",
    "bucketPath": "text",
    "dataset": "text",
    "totalFileCount": 0,
    "totalFileSize": 0,
    "created": "2024-12-21T12:09:50.055Z",
    "files": [
      {
        "name": "text",
        "bucketPath": "text",
        "size": 0,
        "lastModified": "2024-12-21T12:09:50.055Z"
      }
    ]
  }
}

Last updated