POST
/
api
/
{projectId}
/
jobs
/
build-ondevice-model
/
organization
Build organizational on-device model
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/build-ondevice-model/organization \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "engine": "tflite",
  "deployBlockId": 123,
  "modelType": "int8"
}'
{
  "success": true,
  "error": "<string>",
  "id": 12873488112
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Query Parameters

impulseId
integer

Impulse ID. If this is unset then the default impulse is used.

Body

application/json
engine
enum<string>
required
Available options:
tflite,
tflite-eon,
tflite-eon-ram-optimized,
tensorrt,
tensaiflow,
drp-ai,
tidl,
akida,
syntiant,
memryx,
neox,
ethos-linux,
st-aton,
ceva-npn
deployBlockId
integer
required
modelType
enum<string>
Available options:
int8,
float32,
akida,
requiresRetrain

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)