Skip to main content

artifacts

Creates, updates, deletes, gets or lists an artifacts resource.

Overview​

Nameartifacts
TypeResource
Idnvidia.catalog.artifacts

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringUnique name of the helm chart
encryption_key_idstringID of the customer managed encryption key associated with this artifact (wire: encryptionKeyId)
latest_version_idstringID of the latest version (wire: latestVersionId)
display_namestringDisplay name (wire: displayName)
org_namestringName of the org that the helm chart belongs to (wire: orgName)
owner_namestringName of the user who owns this version (wire: ownerName)
team_namestringName of the team that the helm chart belongs to (wire: teamName)
access_typestring (LISTED, EXCLUSIVE, NOT_LISTED) (wire: accessType)
artifact_typestringArtifact type (MODEL, MODEL_SCRIPT, HELM_CHART, REPOSITORY, COLLECTION, ENDPOINT, BLUEPRINT, PLAYBOOK, AGENT, API, SKILL) (wire: artifactType)
attributesarray
biasstringText describing bias in the artifact
built_bystringOrganization that built the helm chart (wire: builtBy)
can_guest_downloadbooleanIndicates if a guest user can download (wire: canGuestDownload)
created_datestringCreation date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: createdDate)
descriptionstringDescription of the helm chart
explainabilitystringText describing the explainability for this artifact
has_signed_versionbooleanIndicates if the artifact has any signed versions (wire: hasSignedVersion)
is_favouritebooleanFlag indicating if helm chart is user's favorite (wire: isFavourite)
is_publicbooleanDetermines if this helm chart is publicly accessible (wire: isPublic)
is_read_onlybooleanindicate if current user has read only permissions (deprecated) (wire: isReadOnly)
labelsarray
latest_version_size_in_bytesinteger (int64)Size of the latest version in bytes (wire: latestVersionSizeInBytes)
license_termsarray (wire: licenseTerms)
logostringURL for the logo image
policy_labelsarray (wire: policyLabels)
privacystringText describing the privacy for this artifact
product_namesarray (wire: productNames)
publisherstringOrganization that published this helm chart
safety_and_securitystringText for describing the safety and security in the artifact (wire: safetyAndSecurity)
short_descriptionstringShort description of the helm chart (wire: shortDescription)
updated_datestringUpdated date in ISO-8601 format (pattern: <code>\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d.\d+Z</code>) (wire: updatedDate)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_teamselectartifact_type, org_name, team_name, artifact_nameresolve_labels, remove_unresolved_labelsGet artifact details in team as guest
getselectorg_name, artifact_type, artifact_nameresolve_labels, remove_unresolved_labelsGet artifact details in org as guest
listselectartifact_typepage_size, page_numberList public artifacts

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
artifact_namestring (UTF-8)Artifact name
artifact_typestring (UTF-8)Artifact type
org_namestring (UTF-8)Organization name
team_namestring (UTF-8)Team name
page_numberstring (UTF-8)Page number - zero based index
page_sizestring (UTF-8)Page size
remove_unresolved_labelsbooleanRemove unresolved labels
resolve_labelsbooleanResolve labels

SELECT examples​

Get artifact details in team as guest

SELECT
name,
encryption_key_id,
latest_version_id,
display_name,
org_name,
owner_name,
team_name,
access_type,
artifact_type,
attributes,
bias,
built_by,
can_guest_download,
created_date,
description,
explainability,
has_signed_version,
is_favourite,
is_public,
is_read_only,
labels,
latest_version_size_in_bytes,
license_terms,
logo,
policy_labels,
privacy,
product_names,
publisher,
safety_and_security,
short_description,
updated_date
FROM nvidia.catalog.artifacts
WHERE artifact_type = '{{ artifact_type }}' -- required
AND org_name = '{{ org_name }}' -- required
AND team_name = '{{ team_name }}' -- required
AND artifact_name = '{{ artifact_name }}' -- required
AND resolve_labels = '{{ resolve_labels }}'
AND remove_unresolved_labels = '{{ remove_unresolved_labels }}'
;