@Generated public interface ModelRegistryService
The Workspace Model Registry is a centralized model repository and a UI and set of APIs that enable you to manage the full lifecycle of MLflow Models.
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
ApproveTransitionRequestResponse approveTransitionRequest(ApproveTransitionRequest approveTransitionRequest)
Approves a model version stage transition request.
CreateCommentResponse createComment(CreateComment createComment)
Posts a comment on a model version. A comment can be submitted either by a user or programmatically to display relevant information about the model. For example, test results or deployment errors.
CreateModelResponse createModel(CreateModelRequest createModelRequest)
Creates a new registered model with the name specified in the request body.
Throws `RESOURCE_ALREADY_EXISTS` if a registered model with the given name exists.
CreateModelVersionResponse createModelVersion(CreateModelVersionRequest createModelVersionRequest)
Creates a model version.
CreateTransitionRequestResponse createTransitionRequest(CreateTransitionRequest createTransitionRequest)
Creates a model version stage transition request.
CreateWebhookResponse createWebhook(CreateRegistryWebhook createRegistryWebhook)
**NOTE**: This endpoint is in Public Preview.
Creates a registry webhook.
void deleteComment(DeleteCommentRequest deleteCommentRequest)
Deletes a comment on a model version.
void deleteModel(DeleteModelRequest deleteModelRequest)
Deletes a registered model.
void deleteModelTag(DeleteModelTagRequest deleteModelTagRequest)
Deletes the tag for a registered model.
void deleteModelVersion(DeleteModelVersionRequest deleteModelVersionRequest)
Deletes a model version.
void deleteModelVersionTag(DeleteModelVersionTagRequest deleteModelVersionTagRequest)
Deletes a model version tag.
void deleteTransitionRequest(DeleteTransitionRequestRequest deleteTransitionRequestRequest)
Cancels a model version stage transition request.
void deleteWebhook(DeleteWebhookRequest deleteWebhookRequest)
**NOTE:** This endpoint is in Public Preview.
Deletes a registry webhook.
GetLatestVersionsResponse getLatestVersions(GetLatestVersionsRequest getLatestVersionsRequest)
Gets the latest version of a registered model.
GetModelResponse getModel(GetModelRequest getModelRequest)
Get the details of a model. This is a Databricks workspace version of the [MLflow endpoint] that also returns the model's Databricks workspace ID and the permission level of the requesting user on the model.
[MLflow endpoint]: https://www.mlflow.org/docs/latest/rest-api.html#get-registeredmodel
GetModelVersionResponse getModelVersion(GetModelVersionRequest getModelVersionRequest)
Get a model version.
GetModelVersionDownloadUriResponse getModelVersionDownloadUri(GetModelVersionDownloadUriRequest getModelVersionDownloadUriRequest)
Gets a URI to download the model version.
GetRegisteredModelPermissionLevelsResponse getPermissionLevels(GetRegisteredModelPermissionLevelsRequest getRegisteredModelPermissionLevelsRequest)
Gets the permission levels that a user can have on an object.
RegisteredModelPermissions getPermissions(GetRegisteredModelPermissionsRequest getRegisteredModelPermissionsRequest)
Gets the permissions of a registered model. Registered models can inherit permissions from their root object.
ListModelsResponse listModels(ListModelsRequest listModelsRequest)
Lists all available registered models, up to the limit specified in __max_results__.
ListTransitionRequestsResponse listTransitionRequests(ListTransitionRequestsRequest listTransitionRequestsRequest)
Gets a list of all open stage transition requests for the model version.
ListRegistryWebhooks listWebhooks(ListWebhooksRequest listWebhooksRequest)
**NOTE:** This endpoint is in Public Preview.
Lists all registry webhooks.
RejectTransitionRequestResponse rejectTransitionRequest(RejectTransitionRequest rejectTransitionRequest)
Rejects a model version stage transition request.
RenameModelResponse renameModel(RenameModelRequest renameModelRequest)
Renames a registered model.
SearchModelVersionsResponse searchModelVersions(SearchModelVersionsRequest searchModelVersionsRequest)
Searches for specific model versions based on the supplied __filter__.
SearchModelsResponse searchModels(SearchModelsRequest searchModelsRequest)
Search for registered models based on the specified __filter__.
void setModelTag(SetModelTagRequest setModelTagRequest)
Sets a tag on a registered model.
void setModelVersionTag(SetModelVersionTagRequest setModelVersionTagRequest)
Sets a model version tag.
RegisteredModelPermissions setPermissions(RegisteredModelPermissionsRequest registeredModelPermissionsRequest)
Sets permissions on a registered model. Registered models can inherit permissions from their root object.
TestRegistryWebhookResponse testRegistryWebhook(TestRegistryWebhookRequest testRegistryWebhookRequest)
**NOTE:** This endpoint is in Public Preview.
Tests a registry webhook.
TransitionStageResponse transitionStage(TransitionModelVersionStageDatabricks transitionModelVersionStageDatabricks)
Transition a model version's stage. This is a Databricks workspace version of the [MLflow endpoint] that also accepts a comment associated with the transition to be recorded.",
[MLflow endpoint]: https://www.mlflow.org/docs/latest/rest-api.html#transition-modelversion-stage
UpdateCommentResponse updateComment(UpdateComment updateComment)
Post an edit to a comment on a model version.
void updateModel(UpdateModelRequest updateModelRequest)
Updates a registered model.
void updateModelVersion(UpdateModelVersionRequest updateModelVersionRequest)
Updates the model version.
RegisteredModelPermissions updatePermissions(RegisteredModelPermissionsRequest registeredModelPermissionsRequest)
Updates the permissions on a registered model. Registered models can inherit permissions from their root object.
void updateWebhook(UpdateRegistryWebhook updateRegistryWebhook)
**NOTE:** This endpoint is in Public Preview.
Updates a registry webhook.
Copyright © 2024. All rights reserved.