Skip to main content

Software Artifact

View as Markdown

A software artifact is a named container image stored in a Unity Catalog schema and governed by Unity Catalog privileges. Images are pushed through Databricks Artifact Registry; each pushed image digest becomes an immutable version of the artifact, exposed as a SoftwareArtifactVersion. See https://docs.databricks.com/aws/en/artifact-registry/ for concepts, naming rules, and the privileges each operation requires.

SoftwareArtifact object​

A software artifact is a named container image stored in a Unity Catalog schema and governed by Unity Catalog privileges. Images are pushed through Databricks Artifact Registry; each pushed image digest becomes an immutable version of the artifact, exposed as a SoftwareArtifactVersion. See https://docs.databricks.com/aws/en/artifact-registry/ for concepts, naming rules, and the privileges each operation requires.

namestringPublic PreviewIDImmutable

Resource name of the artifact, of the form software-artifacts/{catalog}.{schema}.{artifact}.

Example: software-artifacts/main.ml.inference-server

ownerstringPublic Preview

Principal that owns the artifact, given as a user's email address, a service principal's application ID, or a group name.

Example: someone@example.com

create_timestringPublic PreviewOutput only

Time at which the artifact was created, formatted as an RFC 3339 timestamp in JSON.

created_bystringPublic PreviewOutput only

Principal name of the software artifact creator.

update_timestringPublic PreviewOutput only

Time at which the artifact was last updated, formatted as an RFC 3339 timestamp in JSON.

updated_bystringPublic PreviewOutput only

Principal name that last updated this software artifact.

Get a software artifact Public Preview​

GET /api/2.1/unity-catalog/{name=software-artifacts/*}

Gets a software artifact by its resource name. Returns NOT_FOUND if the artifact does not exist.

API scopes: unity-catalog

Parameters​

namestringRequiredpath

Resource name of the artifact, of the form software-artifacts/{catalog}.{schema}.{artifact}.

Example: software-artifacts/main.ml.inference-server

Response​

Returns the SoftwareArtifact object.

List software artifacts Public Preview​

GET /api/2.1/unity-catalog/software-artifacts

Lists software artifacts in a schema.

API scopes: unity-catalog

Parameters​

parentstringRequiredquery

Resource name of the parent schema, of the form schemas/{catalog}.{schema}.

Example: schemas/main.ml

page_tokenstringquery

Opaque continuation token from a previous response's next_page_token. Omit for the first page.

page_sizeint32query

Maximum number of software artifacts to return. If omitted or set to 0, the page size defaults to 50. The maximum value is 50; values above 50 or below 0 are rejected.

Response​

Returns a list of SoftwareArtifact objects.

Update a software artifact Public Preview​

PATCH /api/2.1/unity-catalog/{name=software-artifacts/*}

Updates a software artifact. The name is immutable; only the owner may be changed. The destination owner must exist in the account. The caller needs MANAGE_ACCESS_CONTROL on the artifact. The response contains its name and the requested owner; audit fields are omitted.

API scopes: unity-catalog

Parameters​

namestringRequiredIDImmutablepath

Resource name of the artifact, of the form software-artifacts/{catalog}.{schema}.{artifact}.

Example: software-artifacts/main.ml.inference-server

update_maskstringRequiredquery

Fields to update, relative to software_artifact. Accepts owner or *; owner is the only mutable field, so both select the same update. Output-only values in the resource are ignored.

Request body​

The software artifact to update. Its name identifies the existing artifact; only owner may be changed.

ownerstring

Principal that owns the artifact, given as a user's email address, a service principal's application ID, or a group name.

Example: someone@example.com

Response​

Returns the SoftwareArtifact object.

Delete a software artifact Public Preview​

DELETE /api/2.1/unity-catalog/{name=software-artifacts/*}

Deletes a software artifact. Fails if the artifact still has versions unless force is set.

API scopes: unity-catalog

Parameters​

namestringRequiredpath

Resource name of the software artifact, of the form software-artifacts/{catalog}.{schema}.{artifact}.

forcebooleanquery

Force deletion even if the software artifact has versions, deleting them with it. Default is false.