Deploy pretrained model

POST {{baseUrl}}/api/:projectId/jobs/deploy-pretrained-model

Takes in a TFLite file and builds the model and SDK. Updates are streamed over the websocket API (or can be retrieved through the /stdout endpoint). Use getProfileTfliteJobResult to get the results when the job is completed.

Request Body

{"modelFileBase64"=>"<string>", "modelFileType"=>"<string>", "deploymentType"=>"<string>", "modelInfo"=>{"input"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "model"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "engine"=>{"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;}}