POST
/
api
/
{projectId}
/
post-processing
/
{postProcessingId}
/
samples
/
{sampleId}
Check post-processing results for sample
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/post-processing/{postProcessingId}/samples/{sampleId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "enabled": true,
  "parameters": {}
}'
{
  "success": true,
  "error": "<string>",
  "hasResults": "has-results",
  "results": {
    "objectTracking": {
      "frames": [
        {
          "frameIndex": 123,
          "objects": [
            {
              "label": "<string>",
              "id": 123,
              "x": 123,
              "y": 123,
              "width": 123,
              "height": 123
            }
          ]
        }
      ],
      "parameters": {}
    },
    "objectDetection": {
      "frames": [
        {
          "frameIndex": 123,
          "objects": [
            {
              "label": "<string>",
              "x": 123,
              "y": 123,
              "width": 123,
              "height": 123,
              "score": 123
            }
          ]
        }
      ]
    }
  },
  "jobIsRunning": {
    "jobId": 123,
    "config": {
      "enabled": true,
      "parameters": {}
    }
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

postProcessingId
integer
required

Post-processing Block ID, use the impulse functions to retrieve the ID

sampleId
integer
required

Sample ID

Body

application/json

Response

200 - application/json

OK

The response is of type object.