Unity Catalog REST API
Catalogs, schemas, tables, volumes, functions, registered models, temporary credentials, and permissions.
OpenAPI document (v0.7.0). Paths are relative to http://localhost:8080/api/2.1/unity-catalog.
Catalogs
GET /catalogs: List catalogsPOST /catalogs: Create a catalogGET /catalogs/{name}: Get a catalogPATCH /catalogs/{name}: Update a catalogDELETE /catalogs/{name}: Delete a catalog
Schemas
GET /schemas: List schemasPOST /schemas: Create a schemaGET /schemas/{full_name}: Get a schemaPATCH /schemas/{full_name}: Update a schemaDELETE /schemas/{full_name}: Delete a schema
Tables
POST /staging-tables: Create a staging tableGET /tables: List tablesPOST /tables: Create a table. Only external table creation is supported. WARNING: This API is experimental and will change in future versions.GET /tables/{full_name}: Get a tableDELETE /tables/{full_name}: Delete a table
Volumes
GET /volumes: List VolumesPOST /volumes: Create a VolumeGET /volumes/{name}: Get a VolumePATCH /volumes/{name}: Update a VolumeDELETE /volumes/{name}: Delete a Volume
Functions
GET /functions: List functionsPOST /functions: Create a function. WARNING: This API is experimental and will change in future versions.GET /functions/{name}: Get a functionDELETE /functions/{name}: Delete a function
RegisteredModels
GET /models: List modelsPOST /models: Create a model. WARNING: This API is experimental and will change in future versions.GET /models/{full_name}: Get a specified registered modelPATCH /models/{full_name}: Update a registered modelDELETE /models/{full_name}: Delete a specified registered model.
ModelVersions
POST /models/versions: Create a model version.GET /models/{full_name}/versions: List model versions of the specified registered model.GET /models/{full_name}/versions/{version}: Get a model versionPATCH /models/{full_name}/versions/{version}: Update a model versionDELETE /models/{full_name}/versions/{version}: Delete a model versionPATCH /models/{full_name}/versions/{version}/finalize: Finalize a model version
TemporaryCredentials
POST /temporary-model-version-credentials: Generate temporary model version credentials. These credentials are used by clients to write and retrieve model artifacts from the model versions external storage location.POST /temporary-table-credentials: Generate temporary table credentials.POST /temporary-volume-credentials: Generate temporary volume credentials.POST /temporary-path-credentials: Generate temporary path credentials.
Metastores
GET /metastore_summary: Get metastore summary
DeltaCommits
GET /delta/preview/commits: List unbackfilled Delta table commits. WARNING: This API is experimental and may change in future versions.POST /delta/preview/commits: Commit changes to a specified Delta table. The server has a limit defined in config on how many unbackfilled commits it can hold. Clients are expected to do active backfill of the commit after committing to UC. So in most cases the number of unbackfilled commits should be close to zero or one. But if clients misbehave and unbackfilled commits accumulate beyond the limit, server will reject further commits until more backfill is done. Replaying an already-accepted commit (same version and file-name) is an idempotent no-op that returns 200, so a client that lost the response can safely resend. WARNING: This API is experimental and may change in future versions.
Grants
GET /permissions/{securable_type}/{full_name}: Get permissionsPATCH /permissions/{securable_type}/{full_name}: Update a permission
Credentials
GET /credentials: List credentialsPOST /credentials: Create a credentialGET /credentials/{name}: Get a credentialPATCH /credentials/{name}: Update a credentialDELETE /credentials/{name}: Delete a credential
External Locations
GET /external-locations: List external locationsPOST /external-locations: Create an external locationGET /external-locations/{name}: Get an external locationPATCH /external-locations/{name}: Update an external locationDELETE /external-locations/{name}: Delete an external location