Build on-device model

POST {{baseUrl}}/api/:projectId/jobs/build-ondevice-model?type=<string>

Generate code to run the impulse on an embedded device. When this step is complete use downloadBuild to download the artefacts. Updates are streamed over the websocket API.

Request Params

KeyDatatypeRequiredDescription
typestring(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.

Request Body

{"engine"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "modelType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}