Skip to main content

artifact_specs

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

Overview​

Nameartifact_specs
TypeResource
Idnvidia.catalog.artifact_specs

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
nvcf_function_idstringNVCF function id for the model playground (wire: nvcfFunctionId)
artifact_namestringUnique name of the model (wire: artifactName)
artifact_typestringArtifactTypeEnum of the artifact (wire: artifactType)
attributesstringMetadata json string
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)
namespacestringorg/team of the model
nvcf_inference_pathstringNVCF inference path (invocation route) for the model playground (wire: nvcfInferencePath)
open_api_specstringOpenAPI specification for this model (wire: openAPISpec)
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_teamselectorg_name, team_name, artifact_type, artifact_nameGet AI Playground for public artifactType
getselectorg_name, artifact_type, artifact_nameGet AI Playground for public artifactType

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)Model name
artifact_typestring (UTF-8)Artifact type
org_namestring (UTF-8)Organization name
team_namestring (UTF-8)Team name

SELECT examples​

Get AI Playground for public artifactType

SELECT
nvcf_function_id,
artifact_name,
artifact_type,
attributes,
created_date,
namespace,
nvcf_inference_path,
open_api_spec,
updated_date
FROM nvidia.catalog.artifact_specs
WHERE org_name = '{{ org_name }}' -- required
AND team_name = '{{ team_name }}' -- required
AND artifact_type = '{{ artifact_type }}' -- required
AND artifact_name = '{{ artifact_name }}' -- required
;