SHOW ARTIFACTS
statementnot supportedOtherLists Snowflake Artifacts that the executing roles can inspect. It returns metadata, not artifact content, and does not require a running warehouse.
Syntax
supportedpartialnot supportednot scored
SHOW ARTIFACTS [ LIKE '<pattern>' ] [ IN ACCOUNT ] [ LIMIT <n> ]
SHOW ARTIFACTS [ LIKE '<pattern>' ] FOR USER <user_name> [ LIMIT <n> ]
SHOW ARTIFACTS [ LIKE '<pattern>' ] FOR ROLE <role_name> [ LIMIT <n> ]
Usage notes
- The command can fail when an account exceeds its artifact scan limit, even when LIKE, FOR USER, FOR ROLE, or LIMIT is specified. LIMIT limits returned rows but doesn’t prevent the initial scan. Contact Snowflake Support if the account scan limit is exceeded.
- STARTS WITH and LIMIT ... FROM aren’t supported.
- To post-process the output, use the pipe operator or RESULT_SCAN. Reference lowercase output column names with double quotes.
Access control requirements
An active role must own an artifact or have READ or WRITE on it to see its row. A role with account-level MONITOR, MANAGE GRANTS, or RESOLVE ALL can inspect all artifacts in the account. The command omits artifacts that the caller cannot inspect. For non-administrative roles, non-discoverable artifacts can also be omitted from the listing even when the caller has an artifact grant. To inspect a known artifact by identifier, use DESCRIBE ARTIFACT.
Output
The output includes id (the artifact’s external UUID), title, type, creation and update timestamps, creator and owner names, and publication and discoverability metadata. Use id, not title, when referring to an artifact in SQL. The displayed type value can differ from the label used in the Artifacts UI.