(Preview) Search model deployments
post
/20260430/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/model-deployments/search
(Preview) Returns a list of model deployments matching the given criteria.
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 search.
Root Schema : SearchModelDeploymentsDetails
Type:
objectFilters and pagination for a model deployment search.
Show Source
-
max_results:
integer(int64)
Minimum Value:
1Maximum Value:1000Maximum number of deployments desired. Default is 100. Max threshold is 1000. -
model_name(required):
string
Minimum Length:
1Maximum Length:256A filter over the registered model name. -
order_by:
array order_by
Maximum Number of Items:
10List of columns for ordering search results, e.g. 'created_time DESC'. -
page_token:
string
Minimum Length:
1Maximum Length:256Token indicating the page of deployments to fetch. -
status:
string
Allowed Values:
[ "INACTIVE", "ACTIVATING", "ACTIVE", "DEACTIVATING", "UPDATING" ]A filter over deployment status.
Nested Schema : order_by
Type:
arrayMaximum Number of Items:
10List of columns for ordering search results, e.g. 'created_time DESC'.
Show Source
-
Array of:
string
Maximum Length:
128
Response
Supported Media Types
- application/json
200 Response
Successful operation. Model deployments 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 : ModelDeploymentCollection
Type:
objectResult of searching model deployments.
Show Source
-
deployments(required):
array deployments
Deployments that match the search criteria.
-
next_page_token:
string
Token that can be used to retrieve the next page of deployments. An empty token means that no more deployments are available for retrieval.
Nested Schema : deployments
Type:
arrayDeployments that match the search criteria.
Show Source
-
Array of:
object ModelDeploymentSummary
Summary of a model deployment returned by a search.
Nested Schema : ModelDeploymentSummary
Type:
objectSummary of a model deployment returned by a search.
Show Source
-
activated_by:
string
User that activated the model deployment.
-
activated_time:
integer(int64)
Unix timestamp in milliseconds of when the deployment was activated.
-
created_by(required):
string
User that created the model deployment.
-
created_time(required):
string
Unix timestamp in milliseconds of when the deployment was created.
-
deployment_id(required):
string
ID of the deployment.
-
description:
string
Description of the deployment.
-
model_name(required):
string
Name of the registered model.
-
name(required):
string
Name of the deployment.
-
serving_uri:
string
Maximum Length:
1000Serving URI of the deployment. -
status(required):
string
Allowed Values:
[ "INACTIVE", "ACTIVATING", "ACTIVE", "DEACTIVATING", "UPDATING" ]Status of the deployment. -
updated_by(required):
string
User that last updated the model deployment.
-
updated_time(required):
string
Unix timestamp in milliseconds of when the deployment was updated.
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.