Get a window of raw sample features from cache, after a live classification job has completed.

Get a window of raw sample features from cache, after a live classification job has completed.

get

Get raw sample features for a particular window. This is only available after a live classification job has completed and raw features have been cached.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

sampleIdintegerRequired

Sample ID

windowIndexintegerRequired

Sample window index

Query parameters
impulseIdintegerOptional

Impulse ID. If this is unset then the default impulse is used.

truncateStructuredLabelsbooleanOptional

If true, only a slice of labels will be returned for samples with multiple labels.

Responses
200
OK
application/json
Responseall of
get
GET /v1/api/{projectId}/classify/v2/{sampleId}/raw-data/{windowIndex} HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Accept: */*
200

OK

{
  "success": true,
  "error": "text",
  "sample": {
    "id": 2,
    "filename": "idle01.d8Ae",
    "signatureValidate": true,
    "signatureMethod": "HS256",
    "signatureKey": "text",
    "created": "2025-06-30T23:27:41.473Z",
    "lastModified": "2025-06-30T23:27:41.473Z",
    "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"
      }
    ],
    "valuesCount": 1,
    "totalLengthMs": 1,
    "added": "2025-06-30T23:27:41.473Z",
    "boundingBoxes": [
      {
        "label": "text",
        "x": 1,
        "y": 1,
        "width": 1,
        "height": 1
      }
    ],
    "boundingBoxesType": "object_detection",
    "chartType": "chart",
    "thumbnailVideo": "text",
    "thumbnailVideoFull": "text",
    "isDisabled": true,
    "isProcessing": true,
    "processingJobId": 1,
    "processingError": true,
    "processingErrorString": "text",
    "isCropped": true,
    "metadata": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "projectId": 1,
    "projectOwnerName": "text",
    "projectName": "text",
    "projectLabelingMethod": "single_label",
    "sha256Hash": "text",
    "structuredLabels": [
      {
        "startIndex": 1,
        "endIndex": 1,
        "label": "text"
      }
    ],
    "structuredLabelsList": [
      "text"
    ],
    "createdBySyntheticDataJobId": 1,
    "imageDimensions": {
      "width": 1,
      "height": 1
    },
    "videoUrl": "text",
    "videoUrlFull": "text"
  },
  "payload": {
    "device_name": "ac:87:a3:0a:2d:1b",
    "device_type": "DISCO-L475VG-IOT01A",
    "sensors": [
      {
        "name": "accX",
        "units": "text"
      }
    ],
    "values": [
      [
        1
      ]
    ],
    "cropStart": 0,
    "cropEnd": 128
  },
  "totalPayloadLength": 1
}

Last updated

Was this helpful?