Get projects data

Get projects data

Retrieve all the data samples from organizational projects.

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

Organization ID

Query parameters
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

projects*array of object
samples*array of Sample (object)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/projects/data', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "projects": [
    {
      "name": "text",
      "owner": "text",
      "description": "text"
    }
  ],
  "samples": [
    {
      "id": 2,
      "filename": "idle01.d8Ae",
      "signatureValidate": true,
      "signatureMethod": "HS256",
      "signatureKey": "text",
      "created": "2024-07-17T23:14:05.079Z",
      "lastModified": "2024-07-17T23:14:05.079Z",
      "category": "training",
      "coldstorageFilename": "text",
      "label": "healthy-machine",
      "intervalMs": 16,
      "frequency": 62.5,
      "originalIntervalMs": 16,
      "originalFrequency": 62.5,
      "deviceName": "text",