Skip to contents

List model versions. You can list model versions under a particular schema, or list all model versions in the current metastore.

Usage

list_model_versions(
  client,
  full_name,
  include_browse = NULL,
  max_results = NULL,
  page_token = NULL
)

modelVersionsList(
  client,
  full_name,
  include_browse = NULL,
  max_results = NULL,
  page_token = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

full_name

Required. The full three-level name of the registered model under which to list model versions.

include_browse

Whether to include model versions in the response for which the principal can only access selective metadata for.

max_results

Maximum number of model versions to return.

page_token

Opaque pagination token to go to next page based on previous query.

Value

data.frame with all of the response pages.

Details

The returned models are filtered based on the privileges of the calling user. For example, the metastore admin is able to list all the model versions. A regular user needs to be the owner or have the EXECUTE privilege on the parent registered model to recieve the model versions in the response. For the latter case, the caller must also be the owner or have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the parent schema.

There is no guarantee of a specific ordering of the elements in the response.