Get target constraints

Get target constraints

get

Retrieve target constraints for a project. The constraints object captures hardware attributes of your target device, along with an application budget to allow guidance on performance and resource usage

Authorizations
Path parameters
projectIdintegerRequired

Project ID

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

OK

{
  "success": true,
  "error": "text",
  "targetConstraints": {
    "selectedTargetBasedOn": "user-configured",
    "targetDevices": [
      {
        "processors": [
          {
            "part": "text",
            "format": "low-end MCU",
            "architecture": "Cortex-M",
            "specificArchitecture": "Cortex-M0+",
            "accelerator": "Arm Cortex-U55",
            "fpu": true,
            "clockRateMhz": {
              "minimum": 1,
              "maximum": 1
            },
            "memory": {
              "ram": {
                "fastBytes": {
                  "minimum": 1,
                  "maximum": 1
                },
                "slowBytes": {
                  "minimum": 1,
                  "maximum": 1
                }
              },
              "rom": {
                "fastBytes": {
                  "minimum": 1,
                  "maximum": 1
                },
                "slowBytes": {
                  "minimum": 1,
                  "maximum": 1
                }
              }
            }
          }
        ],
        "board": "text",
        "name": "text",
        "latencyDevice": "cortex-m4f-80mhz"
      }
    ],
    "applicationBudgets": [
      {
        "latencyPerInferenceMs": {
          "minimum": 1,
          "maximum": 1
        },
        "energyPerInferenceJoules": {
          "minimum": 1,
          "maximum": 1
        },
        "memoryOverhead": {
          "ram": {
            "fastBytes": {
              "minimum": 1,
              "maximum": 1
            },
            "slowBytes": {
              "minimum": 1,
              "maximum": 1
            }
          },
          "rom": {
            "fastBytes": {
              "minimum": 1,
              "maximum": 1
            },
            "slowBytes": {
              "minimum": 1,
              "maximum": 1
            }
          }
        }
      }
    ]
  }
}

Last updated

Was this helpful?