POST
/
api
/
{projectId}
/
jobs
/
profile-tflite
Profile TFLite model
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/profile-tflite \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "tfliteFileBase64": "<string>",
  "device": "<string>"
}'
{
  "success": true,
  "error": "<string>",
  "id": 12873488112
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Body

application/json
tfliteFileBase64
string
required

A base64 encoded TFLite file

device
string
required

MCU used for calculating latency, query latencyDevices in listProject for a list of supported devices (and use the "mcu" property here).

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

id
integer
required

Job identifier. Status updates will include this identifier.

Example:

12873488112

error
string

Optional error description (set if 'success' was false)