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

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Query Parameters

type
string
required

The name of the built target. You can find this by listing all deployment targets through listDeploymentTargetsForProject (via GET /v1/api/{projectId}/deployment/targets) and see the format type.

impulseId
integer

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

Body

application/json

Response

200 - application/json

OK

The response is of type object.