Skip to content

Latest commit

 

History

History
153 lines (94 loc) · 5.18 KB

RegisteredModelsApi.md

File metadata and controls

153 lines (94 loc) · 5.18 KB

RegisteredModelsApi

All URIs are relative to http://localhost:8080/api/2.1/unity-catalog

Method HTTP request Description
createRegisteredModel POST /models Create a model. WARNING: This API is experimental and will change in future versions.
deleteRegisteredModel DELETE /models/{full_name} Delete a specified registered model.
getRegisteredModel GET /models/{full_name} Get a specified registered model
listRegisteredModels GET /models List models
updateRegisteredModel PATCH /models/{full_name} Update a registered model

createRegisteredModel

RegisteredModelInfo createRegisteredModel(CreateRegisteredModel)

Create a model. WARNING: This API is experimental and will change in future versions.

Creates a new model instance. WARNING: This API is experimental and will change in future versions. 

Parameters

Name Type Description Notes
CreateRegisteredModel CreateRegisteredModel [optional]

Return type

RegisteredModelInfo

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

deleteRegisteredModel

oas_any_type_not_mapped deleteRegisteredModel(full_name, force)

Delete a specified registered model.

Deletes a fully specified registered model. All versions of the model must have already been deleted. 

Parameters

Name Type Description Notes
full_name String Full name of the model. [default to null]
force Boolean Force deletion even if the registered model still has model versions. [optional] [default to null]

Return type

oas_any_type_not_mapped

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getRegisteredModel

RegisteredModelInfo getRegisteredModel(full_name)

Get a specified registered model

Gets a fully specified registered model. 

Parameters

Name Type Description Notes
full_name String Full name of the model. [default to null]

Return type

RegisteredModelInfo

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

listRegisteredModels

ListRegisteredModelsResponse listRegisteredModels(catalog_name, schema_name, max_results, page_token)

List models

Gets a paginated list of all available models either under the specified parent catalog and schema, or all models stored in UC. There is no guarantee of a specific ordering of the elements in the array. 

Parameters

Name Type Description Notes
catalog_name String Name of parent catalog for models of interest. [optional] [default to null]
schema_name String Name of parent schema for models of interest. [optional] [default to null]
max_results Integer Maximum number of models to return. - when set to a value greater than 0, the page length is the minimum of this value and a server configured value; - when set to 0, the page length is set to a server configured value; - when set to a value less than 0, an invalid parameter error is returned; [optional] [default to null]
page_token String Opaque token to send for the next page of results (pagination). [optional] [default to null]

Return type

ListRegisteredModelsResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

updateRegisteredModel

RegisteredModelInfo updateRegisteredModel(full_name, UpdateRegisteredModel)

Update a registered model

Updates the specified registered model. 

Parameters

Name Type Description Notes
full_name String Full name of the model. [default to null]
UpdateRegisteredModel UpdateRegisteredModel [optional]

Return type

RegisteredModelInfo

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json