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

Path parameters

projectIdinteger required

Project ID

Query parameters

impulseIdinteger

Impulse ID. If this is unset then the default impulse is used.

Request body

datasetVersionIdinteger

EXPERIMENTAL. Test your pretrained model against an immutable dataset snapshot when supplied, or omit to use your current mutable dataset instead. This property is supported only when the dataset versioning experiment is enabled and may change in the future.

Example request

{
  "input": {
    "resizeMode": "squash"
  }
}

Response

OK

successboolean required

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

Changes

No recorded changes to this operation across all 1 revision of this API.