(Preview) Get model deployment activity details
get
/20260430/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/model-deployments/activities/get
(Preview) Returns the full detail for a single deployment activity, including the configuration snapshot and the comment.
Request
Path Parameters
-
aiDataPlatformId(required): string
Minimum Length:
1Maximum Length:500The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
Query Parameters
-
activity_id(required): string
Minimum Length:
32Maximum Length:32Pattern:^[0-9a-f]{32}$The unique 32-character hexadecimal ID of the deployment activity to retrieve.
Header Parameters
-
opc-request-id: string
Maximum Length:
255Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
Response
Supported Media Types
- application/json
200 Response
Successful operation. Deployment activity details are retrieved.
Headers
-
etag: string
For optimistic concurrency control. See `if-match`.
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : DeploymentActivity
Type:
objectA deployment activity record.
Show Source
-
activity_id(required):
string
ID of the deployment activity.
-
deployment_details(required):
object DeploymentDetails
Deployment configuration snapshot stored with an activity, recording the configuration the operation left behind. Every property is optional; a null value means the value is not available from any upstream system. Working out which values changed -- by comparing an activity against the one before it -- is left to the consumer.
-
end_time(required):
string
Unix timestamp in milliseconds of when the activity ended.
-
message:
string
Maximum Length:
2000Comment recorded with the activity. -
operation_type(required):
string
Allowed Values:
[ "CREATE", "EDIT", "ACTIVATE", "DEACTIVATE", "ROLL_FORWARD", "ROLL_BACK" ]Operation type of the activity. -
start_time(required):
string
Unix timestamp in milliseconds of when the activity started.
-
status(required):
string
Allowed Values:
[ "SUCCESS", "FAILURE" ]Status of the activity. -
status_message:
string
Maximum Length:
4000Details on the status, if it is not SUCCESS. -
user(required):
string
User that created the activity.
Nested Schema : DeploymentDetails
Type:
objectDeployment configuration snapshot stored with an activity, recording the configuration the operation left behind. Every property is optional; a null value means the value is not available from any upstream system. Working out which values changed -- by comparing an activity against the one before it -- is left to the consumer.
Show Source
-
audience_claim:
array audience_claim
OAuth audience claims (aud). Set for OAUTH deployments; null otherwise.
-
authorize_using:
string
Endpoint authorization mode: the deployment's authType (OAUTH or AIDP).
-
autoscaling:
boolean
Whether the compute cluster autoscales.
-
computeKey:
string
Compute key of the deployment.
-
computeName:
string
Display name of the compute cluster the deployment targets.
-
concurrency:
integer(int32)
Request concurrency. Not modelled by AI Compute today, so always null.
-
cooldown:
integer(int32)
Autoscaling cooldown in minutes. Not modelled by AI Compute today, so always null.
-
cpu_target:
integer(int32)
Autoscaling CPU target percentage. Not modelled by AI Compute today, so always null.
-
deployment_targets:
array deployment_targets
Deployment targets of the deployment.
-
description:
string
Description of the deployment.
-
endpoint:
string
Serving endpoint of the deployment.
-
instances:
integer(int32)
Number of replicas running. Not reported by AI Compute today, so always null.
-
issuer_claim:
string
OAuth issuer claim (iss). Set for OAUTH deployments; null otherwise.
-
jwks_uri:
string
URI to retrieve the JWKS. Set for OAUTH deployments; null otherwise.
-
max_instances:
integer(int32)
Maximum number of compute replicas.
-
memory_in_gbs:
number(double)
Memory in GB of the compute cluster shape.
-
metric:
string
Autoscaling metric. Not modelled by AI Compute today, so always null.
-
min_instances:
integer(int32)
Minimum number of compute replicas.
-
model_name:
string
Name of the registered model.
-
name:
string
Name of the deployment.
-
ocpus:
number(double)
OCPUs of the compute cluster shape.
-
status:
string
Allowed Values:
[ "INACTIVE", "ACTIVATING", "ACTIVE", "DEACTIVATING", "UPDATING" ]Status of the deployment. -
tags:
object tags
Additional Properties Allowed: additionalPropertiesTags of the deployment.
-
workspaceKey:
string
Workspace key of the deployment.
-
workspaceName:
string
Display name of the deployment's workspace.
Nested Schema : audience_claim
Type:
arrayOAuth audience claims (aud). Set for OAUTH deployments; null otherwise.
Show Source
Nested Schema : deployment_targets
Type:
arrayDeployment targets of the deployment.
Show Source
-
Array of:
object DeploymentTarget
A model version targeted by a deployment and its traffic share.
Nested Schema : DeploymentTarget
Type:
objectA model version targeted by a deployment and its traffic share.
Show Source
-
model_version(required):
string
Minimum Length:
1Maximum Length:30Version number of the model version. -
traffic_percentage(required):
integer
Minimum Value:
1Maximum Value:100Percentage of deployment traffic routed to this model version.
400 Response
Bad Request (invalid query parameters, malformed headers, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
401 Response
Unauthorized (missing or expired credentials, and so on).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
404 Response
Not Found. The requested resource was not found.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
412 Response
Precondition Failed (One or more conditions in request failed).
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
429 Response
Too Many Requests. Too many requests sent to the server in a short period.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
500 Response
Internal Server Error. The server encountered an unexpected condition preventing fulfilment of the request.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.
Default Response
Unknown Error. Error is not recognized by the system.
Headers
-
opc-request-id: string
Unique Oracle-assigned ID for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
objectError information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error message.