Query
query CatalogAsset($id: CatalogAssetId!) {
catalogAsset(id: $id) {
assetType
createdAt
description
descriptions {
description
origin
}
externalTags {
createdAt
id
key
origin
updatedAt
value
}
id
}
}Variables
{
"id": "value"
}Response
{
"data": {
"catalogAsset": {
"assetType": "DASHBOARD",
"createdAt": "value",
"description": "string",
"descriptions": [
{
"description": "string",
"origin": "CATALOG_REFRESH"
}
],
"externalTags": [
{
"createdAt": "value",
"id": "value",
"key": "string",
"origin": "CATALOG_REFRESH",
"updatedAt": "value",
"value": "string"
}
],
"id": "value"
}
}
}Queries
catalogAsset
Get a catalog asset. Requires CATALOG_ASSETS_READ permissions.
QUERY
catalogAsset(id: CatalogAssetId!): CatalogAssetArguments
id
CatalogAssetId!
required
Returns
assetType
The type of the catalog asset.
createdAt
DateTime!
The time the catalog asset was created.
description
String
The description of the catalog asset.
descriptions
The descriptions of the catalog asset from different origins.
externalTags
[Tag!]!
External tags associated with the catalog asset.
id
CatalogAssetId!
The unique identifier for the catalog asset.
name
String!
The name of the catalog asset.
path
[String!]!
The path segments of the catalog asset location (e.g., [database, schema, table]). Is in beta and can be changed without notice.
stats
Statistics about the catalog asset.
tags
[Tag!]!
Tags associated with the catalog asset.
updatedAt
DateTime!
The time the catalog asset was last updated.
Query
query CatalogAsset($id: CatalogAssetId!) {
catalogAsset(id: $id) {
assetType
createdAt
description
descriptions {
description
origin
}
externalTags {
createdAt
id
key
origin
updatedAt
value
}
id
}
}Variables
{
"id": "value"
}Response
{
"data": {
"catalogAsset": {
"assetType": "DASHBOARD",
"createdAt": "value",
"description": "string",
"descriptions": [
{
"description": "string",
"origin": "CATALOG_REFRESH"
}
],
"externalTags": [
{
"createdAt": "value",
"id": "value",
"key": "string",
"origin": "CATALOG_REFRESH",
"updatedAt": "value",
"value": "string"
}
],
"id": "value"
}
}
}