Get synthetic data config

Get synthetic data config

Get the last used synthetic data config

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/synthetic-data
Path parameters
projectId*integer

Project ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

recentJobs*array of object
lastUsedTransformationBlockIdinteger
lastUsedParametersobject
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/synthetic-data', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "recentJobs": [
    {
      "job": {
        "category": "text",
        "key": "text",
        "created": "2024-09-16T18:59:14.011Z",
        "started": "2024-09-16T18:59:14.011Z",
        "finished": "2024-09-16T18:59:14.011Z",
        "finishedSuccessful": false,
        "jobNotificationUids": [],
        "additionalInfo": "text",
        "computeTime": 0,
        "createdByUser": {
          "name": "text",
          "username": "text",
          "photo": "text"
        }
      },
      "samples": [
        {
          "id": 2,
          "filename": "idle01.d8Ae",
          "signatureValidate": true,
          "signatureMethod": "HS256",
          "signatureKey": "text",
          "created": "2024-09-16T18:59:14.011Z",
          "lastModified": "2024-09-16T18:59:14.011Z",
          "category": "training",
          "coldstorageFilename": "text",
          "label": "healthy-machine",
          "intervalMs": 16,
          "frequency": 62.5,
          "originalIntervalMs": 16,
          "originalFrequency": 62.5,
          "deviceName": "text",
          "deviceType": "text",
          "sensors": [
            {
              "name": "accX",
              "units": "text"
            }
          ],
          "totalLengthMs": 0,
          "added": "2024-09-16T18:59:14.011Z",
          "boundingBoxes": [
            {
              "label": "text"
            }
          ],
          "boundingBoxesType": "object_detection",
          "chartType": "chart",
          "thumbnailVideo": "text",
          "thumbnailVideoFull": "text",
          "isDisabled": false,
          "isProcessing": false,
          "processingError": false,
          "processingErrorString": "text",
          "isCropped": false,
          "projectOwnerName": "text",
          "projectName": "text",
          "projectLabelingMethod": "single_label",
          "sha256Hash": "text",
          "structuredLabels": [
            {
              "label": "text"
            }
          ],
          "structuredLabelsList": [
            "text"
          ]
        }
      ]
    }
  ]
}

Last updated