(Preview) List model versions
get
/20260430/aiDataPlatforms/{aiDataPlatformId}/mlops/api/2.0/mlflow/model-versions/search
(Preview) Returns a list of model versions.
Request
Path Parameters
-
aiDataPlatformId(required): string
The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the AI Data Platform (Data Lake) instance.
Query Parameters
-
filter: string
String filter condition, like "name LIKE 'my-model-name'". Single boolean condition, with string values wrapped in single quotes.
-
max_results: integer(int64)
Maximum number of model versions to retrieve.
-
order_by: string
List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by latest stage transition timestamp, followed by name ASC, followed by version DESC.
-
page_token: string
Pagination token to go to the next page based on a previous search query.
Header Parameters
-
dh-user-principal: string
The DH User Principal Header .
-
opc-request-id: string
Unique 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. List of model versions is 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 : ModelVersionCollection
Type:
objectResult of listing model versions.
Show Source
-
model_versions(required):
array model_versions
Model versions that match the search criteria.
-
next_page_token:
string
Token that can be used to retrieve the next page of model versions.
Nested Schema : model_versions
Type:
arrayModel versions that match the search criteria.
Show Source
-
Array of:
object ModelVersion
Details of the model version.
Nested Schema : ModelVersion
Type:
objectDetails of the model version.
Show Source
-
aliases:
array aliases
Aliases pointing to this version.
-
creation_timestamp:
integer(int64)
Timestamp in milliseconds when the model version was created.
-
current_stage:
string
Current stage for this model version.
-
deployment_job_state:
object ModelVersionDeploymentJobState
ModelVersion tag.
-
description:
string
Description of this model version.
-
last_updated_timestamp:
integer(int64)
Timestamp in milliseconds when metadata for the model version was last updated.
-
model_id:
string
Model ID for model version that is used to link the registered model to the source logged model.
-
model_metrics:
array model_metrics
Metrics logged for the model.
-
model_params:
array model_params
Parameters logged for the model.
-
name:
string
Unique name for the model.
-
run_id:
string
Run ID used when creating model version.
-
run_link:
string
Direct link to the run that generated this version.
-
source:
string
URI indicating the location of the source model artifacts, used when creating model version.
-
status:
string
Allowed Values:
[ "PENDING_REGISTRATION", "FAILED_REGISTRATION", "READY" ]Current status of model version. -
status_message:
string
Details on current status, if it is pending or failed.
-
tags:
array tags
Tags of model version.
-
user_id:
string
User that created this model version.
-
version:
string
Model???s version number.
Nested Schema : ModelVersionDeploymentJobState
Type:
objectModelVersion tag.
Show Source
-
current_task_name:
string
Current task name.
-
job_id:
string
Job ID.
-
job_state:
string
Allowed Values:
[ "DEPLOYMENT_JOB_CONNECTION_STATE_UNSPECIFIED", "NOT_SET_UP", "CONNECTED", "NOT_FOUND", "REQUIRED_PARAMETERS_CHANGED" ]Job state. -
run_id:
string
Run ID.
-
run_state:
string
Allowed Values:
[ "DEPLOYMENT_JOB_RUN_STATE_UNSPECIFIED", "NO_VALID_DEPLOYMENT_JOB_FOUND", "RUNNING", "SUCCEEDED", "FAILED", "PENDING", "APPROVAL" ]Run state.
Nested Schema : model_metrics
Type:
arrayMetrics logged for the model.
Show Source
-
Array of:
object ModelMetric
Model metric.
Nested Schema : model_params
Type:
arrayParameters logged for the model.
Show Source
-
Array of:
object ModelParam
Model param.
Nested Schema : ModelMetric
Type:
objectModel metric.
Show Source
-
key:
string
Name of the metric.
-
step:
integer(int64)
Step at which to log the metric.
-
timestamp:
integer(int64)
Unix timestamp in milliseconds when this metric was recorded.
-
value:
number(double)
Value of the metric.
Nested Schema : ModelParam
Type:
objectModel param.
Show Source
-
name:
string
Name of the parameter.
-
value:
string
Value of the parameter.
Nested Schema : ModelVersionTag
Type:
objectModelVersion tag.
Show Source
-
key:
string
Key of the tag.
-
value:
string
Value of the tag.
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.