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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}