Get config

Get config

get

Retrieve the configuration parameters for the DSP block. Use the impulse functions to retrieve all DSP blocks.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

dspIdintegerRequired

DSP Block ID, use the impulse functions to retrieve the ID

Responses
200
OK
application/json
Responseall of
get
GET /v1/api/{projectId}/dsp/{dspId} HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Accept: */*
200

OK

{
  "success": true,
  "error": "text",
  "dsp": {
    "id": 1,
    "name": "Spectral features",
    "windowLength": 3000,
    "type": "spectral-analysis",
    "classes": [
      "text"
    ],
    "features": {
      "generated": true,
      "count": 1,
      "labels": [
        "text"
      ],
      "classes": [
        "text"
      ]
    },
    "expectedWindowCount": 1,
    "inputAxes": [
      "text"
    ],
    "performance": {
      "latency": 1,
      "ram": 1,
      "customDspString": "text"
    },
    "canCalculateFeatureImportance": true,
    "calculateFeatureImportance": true,
    "hasAutoTune": true,
    "minimumVersionForAutotune": 1,
    "hasAutotunerResults": true,
    "usesState": true
  },
  "config": [
    {
      "group": "Scaling",
      "items": [
        {
          "name": "Scale axes",
          "value": "text",
          "defaultValue": "text",
          "type": "text",
          "help": "Divide axes by this number",
          "param": "scale-axes",
          "selectOptions": [
            {
              "value": "text",
              "selected": true,
              "optionLabel": "text",
              "priority": 1,
              "romEstimate": 1,
              "needsOps": [
                "text"
              ],
              "needsFeatures": [
                "text"
              ]
            }
          ],
          "readonly": true,
          "shouldShow": true,
          "showIf": {
            "parameter": "text",
            "operator": "eq",
            "value": "text"
          },
          "invalidText": "text",
          "section": "advanced",
          "multiline": true,
          "required": true,
          "hint": "text",
          "placeholder": "text",
          "showClickToSet": true
        }
      ]
    }
  ],
  "configError": "text"
}

Last updated

Was this helpful?