Categories:

Information Schema , Table functions

AVAILABLE_LISTINGS

Returns all listings that are available for the consumer to discover and access.

Syntax

AVAILABLE_LISTINGS(
      [ IS_IMPORTED => { TRUE | FALSE | NULL } ]
      [ , IS_ORGANIZATION => { TRUE | FALSE | NULL } ]
      [ , IS_SHARED_WITH_ME => { TRUE | FALSE | NULL } ] )

Arguments

You can optionally specify the following arguments to filter listings in this view.

Note

Only one of the arguments can be TRUE at a time.

IS_IMPORTED => { TRUE | FALSE | NULL }

Set to TRUE to return only imported listings; set to FALSE or NULL to return all listings.

Default: NULL.

IS_ORGANIZATION => { TRUE | FALSE | NULL }

Set to TRUE to return only organization listings; set to FALSE or NULL to return all listings.

Default: NULL.

IS_SHARED_WITH_ME => { TRUE | FALSE | NULL }

Set to TRUE to return only listings that have been shared privately with the current account; set to FALSE or NULL to return all listings.

Default: NULL.

Output

The function returns the following columns:

ColumnData typeDescription
GLOBAL_NAMEVARCHARThe global name of the listing.
CREATED_ONTIMESTAMP_LTZThe timestamp when the listing was created.
TITLEVARCHARThe title of the listing.
SUBTITLEVARCHARThe subtitle of the listing.
DESCRIPTIONVARCHARThe description of the listing.
IS_MONETIZEDBOOLEANIndicates whether the listing is monetized.
IS_BY_REQUESTBOOLEAN

Indicates whether the listing is by request (personalized listing).

IS_LIMITED_TRIALBOOLEANIndicates whether the listing is limited trial.
IS_READY_FOR_IMPORTBOOLEANIndicates whether the listing is ready for import.
IS_IMPORTEDBOOLEANIndicates whether the listing has been imported.
IS_APPLICATIONBOOLEANIndicates whether the listing is associated with an application.
IS_PRIVATEBOOLEANIndicates whether the listing is private.
CATEGORIESVARCHARCategories associated with the listing.
DATA_ATTRIBUTESVARCHARData attributes associated with the listing.
TERMSVARCHARTerms of service for the listing.
RESOURCESVARCHARResources associated with the listing.
DISTRIBUTIONVARCHAR

The distribution of the listing. Possible values are EXTERNAL and ORGANIZATION.

UNIFORM_LISTING_LOCATORVARCHARThe uniform listing locator (ULL) of the listing.
ORGANIZATION_PROFILE_NAMEVARCHARThe organization profile attached to the listing, if any.
IS_DISCOVERY_ONLYBOOLEANIndicates whether the listing is discovery only.
SUPPORT_CONTACTVARCHARThe support contact information associated with the listing.
REQUEST_APPROVAL_TYPEVARCHAR

The request approval type of the listing. Incidates whether the consumer listing requests will be approved within or outside of Snowflake.

IS_CORTEX_KNOWLEDGE_EXTENSIONBOOLEAN

Indicates whether this listing has Cortex Search services attached.

PROVIDER_COMPANY_NAMEVARCHARThe company name of the listing provider.
RESHARINGVARCHARResharing configuration of the listing.

Examples

Retrieve all available listings in the current account:

SELECT * FROM TABLE(<any_database>.INFORMATION_SCHEMA.AVAILABLE_LISTINGS());

Retrieve all available listings that have been imported by the current account:

SELECT * FROM TABLE(<any_database>.INFORMATION_SCHEMA.AVAILABLE_LISTINGS(IS_IMPORTED => TRUE));

Retrieve all available organization listings in the current account:

SELECT * FROM TABLE(<any_database>.INFORMATION_SCHEMA.AVAILABLE_LISTINGS(IS_ORGANIZATION => TRUE));

Retrieve all available listings that have been shared privately with the current account:

SELECT * FROM TABLE(<any_database>.INFORMATION_SCHEMA.AVAILABLE_LISTINGS(IS_SHARED_WITH_ME => TRUE));