ActivateModel

POST {{baseUrl}}/models/:modelId/actions/activate

Activates the model.

HEADERS

KeyDatatypeRequiredDescription
if-matchstringFor optimistic concurrency control. In the PUT or DELETE call
for a resource, set the if-match parameter to the value of the
etag from a previous GET or POST response for that resource.
The resource is updated or deleted only if the etag you
provide matches the resource's current etag value.
opc-request-idstringUnique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID.
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"compartmentId":"eu ea aliqua","projectId":"amet Ut","id":"in","displayName":"ipsum quis occaecat nulla","lifecycleState":"ACTIVE","timeCreated":"1989-08-09T05:02:51.085Z","createdBy":"et consectetur Lorem","customMetadataList":[{"category":"Performance","description":"The base model on which the current model was derived","key":"ea in exercitation dolor","value":"oci.datasciencemodel.aaa12934190b32g9823589"},{"category":"Performance","description":"The base model on which the current model was derived","key":"esse laborum","value":"oci.datasciencemodel.aaa12934190b32g9823589"}],"definedMetadataList":[{"category":"Performance","description":"The base model on which the current model was derived","key":"ea enim officia ex aliquip","value":"oci.datasciencemodel.aaa12934190b32g9823589"},{"category":"Performance","description":"The base model on which the current model was derived","key":"Excepteur sint","value":"oci.datasciencemodel.aaa12934190b32g9823589"}],"definedTags":{},"description":"incididunt dolo","freeformTags":{},"inputSchema":"{\"predict_arguments\":{\"sepal_length_(cm)\":{\"type\":\"continuous\",\"dtype\":\"float64\"},\"sepal_width_(cm)\":{\"type\":\"continuous\",\"dtype\":\"float64\"},\"petal_length_(cm)\":{\"type\":\"continuous\",\"dtype\":\"float64\"},\"petal_width_(cm)\":{\"type\":\"continuous\",\"dtype\":\"float64\"}},\"predict_response\":{\"target\":{\"type\":\"categorical\",\"dtype\":\"category\"}},\"problem_type\":\"multiclass_classification\"}","outputSchema":"{\"class\":3,\"probabilities\":[0.1,0.2,0.7]}"}