Software Artifact
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}.
- ownerstringPublic Preview
Principal that owns the artifact, given as a user's email address, a service principal's application ID, or a group name.
- 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
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}.
Response
Returns the SoftwareArtifact object.
List software artifacts Public Preview
GET
Lists software artifacts in a schema.
API scopes: unity-catalog
Parameters
- parentstringRequiredquery
Resource name of the parent schema, of the form
schemas/{catalog}.{schema}.
- 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
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}.
- update_maskstringRequiredquery
Fields to update, relative to
software_artifact. Acceptsowneror*; 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.
Response
Returns the SoftwareArtifact object.
Delete a software artifact Public Preview
DELETE
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.