GET
/
api
/
{projectId}
/
optimize
/
all-blocks
Get impulse blocks
curl --request GET \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/optimize/all-blocks \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "error": "<string>",
  "input": [
    {
      "type": "<string>",
      "title": "<string>",
      "blockType": "official",
      "author": "<string>",
      "description": "<string>",
      "name": "<string>",
      "recommended": true,
      "organizationModelId": 123,
      "params": {},
      "defaultConfig": {},
      "variants": {}
    }
  ],
  "dsp": [
    {
      "type": "<string>",
      "title": "<string>",
      "blockType": "official",
      "author": "<string>",
      "description": "<string>",
      "name": "<string>",
      "recommended": true,
      "organizationModelId": 123,
      "params": {},
      "defaultConfig": {},
      "variants": {}
    }
  ],
  "learn": [
    {
      "type": "<string>",
      "title": "<string>",
      "blockType": "official",
      "author": "<string>",
      "description": "<string>",
      "name": "<string>",
      "recommended": true,
      "organizationModelId": 123,
      "params": {},
      "defaultConfig": {},
      "variants": {}
    }
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Response

200 - application/json

OK

The response is of type object.