curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId} \
--header 'x-api-key: <api-key>'{
"success": true,
"dsp": {
"id": 1,
"name": "Spectral features",
"windowLength": 3000,
"type": "spectral-analysis",
"classes": [
"<string>"
],
"features": {
"generated": true,
"count": 123,
"labels": [
"<string>"
],
"classes": [
"<string>"
]
},
"expectedWindowCount": 123,
"inputAxes": [
"<string>"
],
"canCalculateFeatureImportance": true,
"calculateFeatureImportance": true,
"canNormalizeData": true,
"normalizeData": "none",
"performance": {
"latency": 123,
"ram": 123,
"customDspString": "<string>"
},
"hasAutoTune": true,
"minimumVersionForAutotune": 123,
"hasAutotunerResults": true,
"usesState": true
},
"error": "<string>",
"config": [
{
"group": "Scaling",
"items": [
{
"name": "Scale axes",
"defaultValue": "<string>",
"type": "text",
"param": "scale-axes",
"readonly": true,
"shouldShow": true,
"required": true,
"showClickToSet": true,
"value": "<string>",
"help": "Divide axes by this number",
"selectOptions": [
{
"value": "<string>",
"selected": true,
"optionLabel": "<string>",
"priority": 123,
"romEstimate": 123,
"needsOps": [
"<string>"
],
"needsFeatures": [
"<string>"
]
}
],
"showIf": {
"parameter": "<string>",
"operator": "eq",
"value": "<string>"
},
"invalidText": "<string>",
"section": "advanced",
"multiline": true,
"hint": "<string>",
"placeholder": "<string>",
"valid": [
{}
],
"items": {},
"properties": {}
}
]
}
],
"configError": "<string>"
}Retrieve the configuration parameters for the DSP block. Use the impulse functions to retrieve all DSP blocks.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId} \
--header 'x-api-key: <api-key>'{
"success": true,
"dsp": {
"id": 1,
"name": "Spectral features",
"windowLength": 3000,
"type": "spectral-analysis",
"classes": [
"<string>"
],
"features": {
"generated": true,
"count": 123,
"labels": [
"<string>"
],
"classes": [
"<string>"
]
},
"expectedWindowCount": 123,
"inputAxes": [
"<string>"
],
"canCalculateFeatureImportance": true,
"calculateFeatureImportance": true,
"canNormalizeData": true,
"normalizeData": "none",
"performance": {
"latency": 123,
"ram": 123,
"customDspString": "<string>"
},
"hasAutoTune": true,
"minimumVersionForAutotune": 123,
"hasAutotunerResults": true,
"usesState": true
},
"error": "<string>",
"config": [
{
"group": "Scaling",
"items": [
{
"name": "Scale axes",
"defaultValue": "<string>",
"type": "text",
"param": "scale-axes",
"readonly": true,
"shouldShow": true,
"required": true,
"showClickToSet": true,
"value": "<string>",
"help": "Divide axes by this number",
"selectOptions": [
{
"value": "<string>",
"selected": true,
"optionLabel": "<string>",
"priority": 123,
"romEstimate": 123,
"needsOps": [
"<string>"
],
"needsFeatures": [
"<string>"
]
}
],
"showIf": {
"parameter": "<string>",
"operator": "eq",
"value": "<string>"
},
"invalidText": "<string>",
"section": "advanced",
"multiline": true,
"hint": "<string>",
"placeholder": "<string>",
"valid": [
{}
],
"items": {},
"properties": {}
}
]
}
],
"configError": "<string>"
}Project ID
DSP Block ID, use the impulse functions to retrieve the ID
OK
Whether the operation succeeded
Show child attributes
1
"Spectral features"
3000
"spectral-analysis"
Expected number of windows that would be generated
Axes that this block depends on.
Whether this DSP block supports data normalization after features were generated. This is true unless "dontAllowDataNormalization" is set to true in the DSP block's parameters.json.
Data normalization that was last selected for this block.
none, normalize-channel-standard-scaler Whether this type of DSP block supports autotuning.
For DSP blocks that support autotuning, this value specifies the minimum block implementation version for which autotuning is supported.
Whether autotune results exist for this DSP block.
Whether this DSP block uses state.
Optional error description (set if 'success' was false)
Show child attributes
"Scaling"
Show child attributes
"Scale axes"
"text"
"scale-axes"
If enabled, render a disabled input element with 'Click to set'
"Divide axes by this number"
Show child attributes
What is the string that will be set if this option is selected?
What is the label that will be shown to the user for this option?
The following options are optional. See Learn Block Auto Config in Notion. Higher priority will get chosen based on limits below.
Estimated ROM footprint for this choice. Will be tested against ROM budget in Studio.
ML operator needed by this choice.
Feature needed by this choice. (non op related)
Interface section to render parameter in.
advanced, augmentation, modelProfiling Only valid for type "string". Will render a multiline text area.
If set, shows a hint below the input.
Sets the placeholder text on the input element (for types "string", "int", "float" and "secret")
Valid values for parameter.
Recursive definition for items of a parameter with type 'array'.
Recursive definition for a parameter with type 'object'.
Was this page helpful?