Learn
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.
post/api/{projectId}/pretrained-model/save
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
impulseIdinteger
Impulse ID. If this is unset then the default impulse is used.
Request body
Example request
{
"input": {
"resizeMode": "squash"
}
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.