Get impulse

Get impulse

Retrieve the impulse for this project

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

Project ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

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

impulseImpulse (object)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/impulse', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "impulse": {
    "inputBlocks": [
      {
        "type": "time-series",
        "name": "Time series",
        "title": "Time series",
        "windowSizeMs": 2004,
        "frequencyHz": 60,
        "padZeros": false,
        "imageWidth": 28,
        "imageHeight": 28,
        "resizeMode": "squash",
        "resizeMethod": "squash",
        "cropAnchor": "middle-center",
        "primaryVersion": false,
        "tunerPrimary": false,
        "mutated": false,
        "enabled": false,
        "db": false,
        "description": "Reduced learning rate and more layers",
        "createdBy": "createImpulse",
        "createdAt": "2024-07-23T17:35:23.331Z"
      }
    ],
    "dspBlocks": [
      {