(Preview) List model deployment activities
post
/20260430/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/model-deployments/activities/search
(Preview) Returns the activity history for a model deployment.
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.
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.
Filters and pagination for the activity search.
Root Schema : ListModelDeploymentActivitiesDetails
Type:
objectFilters and pagination for a deployment activity search.
Show Source
-
deployment_id(required):
string
Minimum Length:
32Maximum Length:32Pattern:^[0-9a-f]{32}$ID of the deployment whose activities to list. -
max_results:
integer(int64)
Minimum Value:
1Maximum Value:1000Maximum number of activities desired. Default is 100. Max threshold is 1000. -
order_by:
array order_by
Maximum Number of Items:
10List of columns for ordering search results, e.g. 'start_time DESC'. -
page_token:
string
Minimum Length:
1Maximum Length:256Token indicating the page of activities to fetch. -
status:
string
Allowed Values:
[ "SUCCESS", "FAILURE" ]A filter over activity status.
Nested Schema : order_by
Type:
arrayMaximum Number of Items:
10List of columns for ordering search results, e.g. 'start_time DESC'.
Show Source
-
Array of:
string
Maximum Length:
128
Response
Supported Media Types
- application/json
200 Response
Successful operation. Deployment activity summaries are retrieved.
Headers
-
opc-next-page: string
For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
-
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 : ModelDeploymentActivitySummaryCollection
Type:
objectResult of listing deployment activity summaries.
Show Source
-
activities(required):
array activities
Activity summaries that match the search criteria.
-
next_page_token:
string
Token that can be used to retrieve the next page of activities. An empty token means that no more activities are available for retrieval.
Nested Schema : activities
Type:
arrayActivity summaries that match the search criteria.
Show Source
-
Array of:
object DeploymentActivitySummary
A deployment activity record for a table listing: the activity fields plus a minimal deployment_details snapshot (model name + served versions). The full configuration snapshot and the message comment are returned only by the single-activity read.
Nested Schema : DeploymentActivitySummary
Type:
objectA deployment activity record for a table listing: the activity fields plus a minimal deployment_details snapshot (model name + served versions). The full configuration snapshot and the message comment are returned only by the single-activity read.
Show Source
-
activity_id(required):
string
ID of the deployment activity.
-
deployment_details:
object DeploymentDetailsSummary
Minimal deployment configuration for a deployment-activity list row: the registered model and the served model versions. The full configuration snapshot is available from the single-activity read.
-
end_time(required):
string
Unix timestamp in milliseconds of when the activity ended.
-
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. -
user(required):
string
User that created the activity.
Nested Schema : DeploymentDetailsSummary
Type:
objectMinimal deployment configuration for a deployment-activity list row: the registered model and the served model versions. The full configuration snapshot is available from the single-activity read.
Show Source
-
deployment_targets:
array deployment_targets
Model versions served by the deployment and their traffic share.
-
model_name:
string
Name of the registered model.
Nested Schema : deployment_targets
Type:
arrayModel versions served by the deployment and their traffic share.
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.
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.