Jobs
Build on-device model
Generate code to run the impulse on an embedded device. When this step is complete use downloadHistoricDeployment to download the artefacts. Updates are streamed over the websocket API.
post/api/{projectId}/jobs/build-ondevice-model
Request
- Base URLhttps://studio.edgeimpulse.com/v1
- Auth
- API key in header x-api-key
- or API key in cookie jwt
- or API key in header x-jwt-token
- or OAuth 2Authorization code/v1/oauth/authorizeClient credentialsImplicit/v1/oauth/authorizePasswordToken URL/v1/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Project ID
Query parameters
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.
impulseIdinteger
Impulse ID. If this is unset then the default impulse is used.
Request body
Response
OK
Example response
{
"id": 12873488112
}Changes
No recorded changes to this operation across all 1 revision of this API.