Save parameters for pretrained model
Save input / model configuration for a pretrained model. This overrides the current impulse. If you want to deploy a pretrained model from the API, see startDeployPretrainedModelJob
.
Authorizations
Path parameters
projectIdintegerRequired
Project ID
Query parameters
impulseIdintegerOptional
Impulse ID. If this is unset then the default impulse is used.
Body
inputone ofRequired
or
or
or
modelone ofRequired
or
or
Responses
200
OK
application/json
post
POST /v1/api/{projectId}/pretrained-model/save HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 129
{
"input": {
"inputType": "time-series",
"frequencyHz": 1,
"windowLengthMs": 1
},
"model": {
"modelType": "classification",
"labels": [
"text"
]
}
}
200
OK
{
"success": true,
"error": "text"
}
Last updated
Was this helpful?