Single page of a classify job result

Single page of a classify job result

Get classify job result, containing the predictions for a given page.

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/classify/all/result/page
Path parameters
projectId*integer

Project ID

Query parameters
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

result*array of ModelResult (object)
predictions*array of ModelPrediction (object)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/classify/all/result/page', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "result": [
    {
      "sample": {
        "id": 2,
        "filename": "idle01.d8Ae",
        "signatureValidate": true,
        "signatureMethod": "HS256",
        "signatureKey": "text",
        "created": "2024-07-23T17:30:55.100Z",
        "lastModified": "2024-07-23T17:30:55.100Z",
        "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"
          }