POST
/
api
/
{projectId}
/
jobs
/
deploy-pretrained-model
Deploy pretrained model
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/jobs/deploy-pretrained-model \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "modelFileBase64": "<string>",
  "modelFileType": "tflite",
  "deploymentType": "<string>",
  "engine": "tflite",
  "modelInfo": {
    "input": {
      "inputType": "time-series",
      "frequencyHz": 123,
      "windowLengthMs": 123
    },
    "model": {
      "modelType": "classification",
      "labels": [
        "<string>"
      ]
    }
  },
  "representativeFeaturesBase64": "<string>",
  "deployModelType": "int8",
  "useConverter": "onnx-tf"
}'
{
  "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

Response

200 - application/json

OK

The response is of type object.