GET
/
api
/
{projectId}
/
impulse
Get impulse
curl --request GET \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/impulse \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "error": "<string>",
  "impulse": {
    "id": 123,
    "name": "<string>",
    "inputBlocks": [
      {
        "id": 2,
        "type": "time-series",
        "name": "Time series",
        "title": "Time series",
        "windowSizeMs": 2004,
        "windowIncreaseMs": 123,
        "frequencyHz": 60,
        "classificationWindowIncreaseMs": 123,
        "padZeros": true,
        "imageWidth": 28,
        "imageHeight": 28,
        "resizeMode": "squash",
        "resizeMethod": "squash",
        "cropAnchor": "middle-center",
        "createdBy": "createImpulse",
        "createdAt": "2023-11-07T05:31:56Z",
        "datasetSubset": {
          "includePercentage": 123,
          "seed": 123
        }
      }
    ],
    "dspBlocks": [
      {
        "id": 2,
        "type": "spectral-analysis",
        "name": "Spectral features",
        "axes": [
          "accX"
        ],
        "title": "Spectral Analysis",
        "valuesPerAxis": 11,
        "input": 1,
        "createdBy": "createImpulse",
        "createdAt": "2023-11-07T05:31:56Z",
        "implementationVersion": 123,
        "organization": {
          "id": 123,
          "dspId": 123
        },
        "customUrl": "<string>",
        "namedAxes": [
          {
            "name": "<string>",
            "description": "<string>",
            "required": true,
            "selectedAxis": "<string>"
          }
        ]
      }
    ],
    "learnBlocks": [
      {
        "id": 2,
        "type": "anomaly",
        "name": "NN Classifier",
        "dsp": [
          27
        ],
        "title": "Classification (Keras)",
        "createdBy": "createImpulse",
        "createdAt": "2023-11-07T05:31:56Z"
      }
    ],
    "postProcessingBlocks": [
      {
        "id": 2,
        "type": "object-tracking",
        "name": "Object tracking",
        "title": "Object tracking",
        "createdBy": "createImpulse",
        "createdAt": "2023-11-07T05:31:56Z",
        "implementationVersion": 123
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Query Parameters

impulseId
integer

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

Response

200 - application/json

OK

The response is of type object.