(Preview) Get a model deployment
get
/20260430/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/model-deployments/get
(Preview) Returns details for a specified 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.
Query Parameters
-
deployment_id(required): string
Minimum Length:
32Maximum Length:32Pattern:^[0-9a-f]{32}$The unique 32-character hexadecimal ID of the model deployment.
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. Model deployment details are returned.
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 : ModelDeployment
Type:
objectA model deployment.
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.
-
authDetails:
object DeploymentOAuthDetails
OAuth trust configuration for a model deployment's query endpoint. Required when authType is OAUTH and must be omitted for AIDP. A closed schema: the gateway turns these values into the token policy it enforces, so a member outside this set is not accepted -- it is discarded rather than stored or forwarded, and a misspelled member therefore leaves the one it was meant to be unset, which fails validation. The serialized object must not exceed 16000 characters. Cannot be changed while the deployment is ACTIVE.
-
authType:
string
Allowed Values:
[ "AIDP", "OAUTH" ]Authentication mechanism selected for the deployment's query endpoint. -
computeKey(required):
string
Compute key of the deployment.
-
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.
-
deployment_targets(required):
array deployment_targets
Deployment targets 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. -
tags:
array tags
List of tags set on the model 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.
-
workspaceKey(required):
string
Workspace key of the deployment.
Nested Schema : DeploymentOAuthDetails
Type:
objectOAuth trust configuration for a model deployment's query endpoint. Required when authType is OAUTH and must be omitted for AIDP. A closed schema: the gateway turns these values into the token policy it enforces, so a member outside this set is not accepted -- it is discarded rather than stored or forwarded, and a misspelled member therefore leaves the one it was meant to be unset, which fails validation. The serialized object must not exceed 16000 characters. Cannot be changed while the deployment is ACTIVE.
Show Source
-
audienceClaim(required):
array audienceClaim
Minimum Number of Items:
1Maximum Number of Items:20OAuth audience claims (aud) the query endpoint accepts. Entries must be unique. -
issuerClaim(required):
string
Minimum Length:
1Maximum Length:1024OAuth issuer claim (iss) the query endpoint requires. An https URI whose host is a fully qualified domain name, not an IP literal in any notation, and which carries no userinfo and no fragment. -
jwksUri(required):
string
Minimum Length:
1Maximum Length:2048URI the gateway retrieves the signing keys (JWKS) from. An https URI whose host is a fully qualified domain name, not an IP literal in any notation, and which carries no userinfo and no fragment. A query string and a non-default port are permitted: published provider JWKS endpoints use both.
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 : audienceClaim
Type:
arrayMinimum Number of Items:
1Maximum Number of Items:
20OAuth audience claims (aud) the query endpoint accepts. Entries must be unique.
Show Source
-
Array of:
string
Minimum Length:
1Maximum Length:1024
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.
Nested Schema : ModelDeploymentTag
Type:
objectA tag associated with a model deployment.
Show Source
-
key(required):
string
Minimum Length:
1Maximum Length:250Key of the model deployment tag. At most 250 characters and 250 UTF-8 bytes. -
value:
string
Maximum Length:
5000Value of the model deployment tag. At most 5000 characters and 5000 UTF-8 bytes.
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.