GET
/
api
/
{projectId}
/
target-constraints
Get target constraints
curl --request GET \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/target-constraints \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "error": "<string>",
  "targetConstraints": {
    "selectedTargetBasedOn": "user-configured",
    "targetDevices": [
      {
        "processors": [
          {
            "part": "<string>",
            "format": "low-end MCU",
            "architecture": "Cortex-M",
            "specificArchitecture": "Cortex-M0+",
            "accelerator": "Arm Cortex-U55",
            "fpu": true,
            "clockRateMhz": {
              "minimum": 123,
              "maximum": 123
            },
            "memory": {
              "ram": {
                "fastBytes": {
                  "minimum": 123,
                  "maximum": 123
                },
                "slowBytes": {
                  "minimum": 123,
                  "maximum": 123
                }
              },
              "rom": {
                "fastBytes": {
                  "minimum": 123,
                  "maximum": 123
                },
                "slowBytes": {
                  "minimum": 123,
                  "maximum": 123
                }
              }
            }
          }
        ],
        "board": "<string>",
        "name": "<string>",
        "latencyDevice": "cortex-m4f-80mhz"
      }
    ],
    "applicationBudgets": [
      {
        "latencyPerInferenceMs": {
          "minimum": 123,
          "maximum": 123
        },
        "energyPerInferenceJoules": {
          "minimum": 123,
          "maximum": 123
        },
        "memoryOverhead": {
          "ram": {
            "fastBytes": {
              "minimum": 123,
              "maximum": 123
            },
            "slowBytes": {
              "minimum": 123,
              "maximum": 123
            }
          },
          "rom": {
            "fastBytes": {
              "minimum": 123,
              "maximum": 123
            },
            "slowBytes": {
              "minimum": 123,
              "maximum": 123
            }
          }
        }
      }
    ]
  }
}

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.