curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/dsp/{dspId} \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"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>"
],
"performance": {
"latency": 123,
"ram": 123,
"customDspString": "<string>"
},
"canCalculateFeatureImportance": true,
"calculateFeatureImportance": true,
"hasAutoTune": true,
"minimumVersionForAutotune": 123,
"hasAutotunerResults": true,
"usesState": true
},
"config": [
{
"group": "Scaling",
"items": [
{
"name": "Scale axes",
"value": "<string>",
"defaultValue": "<string>",
"type": "text",
"help": "Divide axes by this number",
"param": "scale-axes",
"selectOptions": [
{
"value": "<string>",
"selected": true,
"optionLabel": "<string>",
"priority": 123,
"romEstimate": 123,
"needsOps": [
"<string>"
],
"needsFeatures": [
"<string>"
]
}
],
"readonly": true,
"shouldShow": true,
"showIf": {
"parameter": "<string>",
"operator": "eq",
"value": "<string>"
},
"invalidText": "<string>",
"section": "advanced",
"multiline": true,
"required": true,
"hint": "<string>",
"placeholder": "<string>",
"showClickToSet": true
}
]
}
],
"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,
"error": "<string>",
"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>"
],
"performance": {
"latency": 123,
"ram": 123,
"customDspString": "<string>"
},
"canCalculateFeatureImportance": true,
"calculateFeatureImportance": true,
"hasAutoTune": true,
"minimumVersionForAutotune": 123,
"hasAutotunerResults": true,
"usesState": true
},
"config": [
{
"group": "Scaling",
"items": [
{
"name": "Scale axes",
"value": "<string>",
"defaultValue": "<string>",
"type": "text",
"help": "Divide axes by this number",
"param": "scale-axes",
"selectOptions": [
{
"value": "<string>",
"selected": true,
"optionLabel": "<string>",
"priority": 123,
"romEstimate": 123,
"needsOps": [
"<string>"
],
"needsFeatures": [
"<string>"
]
}
],
"readonly": true,
"shouldShow": true,
"showIf": {
"parameter": "<string>",
"operator": "eq",
"value": "<string>"
},
"invalidText": "<string>",
"section": "advanced",
"multiline": true,
"required": true,
"hint": "<string>",
"placeholder": "<string>",
"showClickToSet": true
}
]
}
],
"configError": "<string>"
}
Project ID
DSP Block ID, use the impulse functions to retrieve the ID
OK
The response is of type object
.