Tables and assets, part 2 of 2 (GraphQL)

Related queries and mutations in Catalog and lineage. Each has its own section.

Queries

getTablesHealth (query)

getTablesHealth is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Get tables health in account

Arguments

ArgumentTypeDescription
dwIdUUIDFilter by a specific warehouse
searchStringFilter by partial asset names (e.g. dataset)
domainIdUUIDFilter by domain UUID - Use domain_ids field instead
domainIds[UUID]Filter by domain UUIDs
tableMcons[String]List of table MCONS to filter the result
tableContains[String]List of terms to filter the result on full name (project/schema/name) of the tables
tagsContains[String]List of terms to filter the result on tags (both tag keys and values)
tagKeyValuePairs[TagKeyValuePairInput]Filter by tag key values
keyAssetsOnlyBooleanFilter by key assets only
hasIncidentsOnlyBooleanFilter by tables that have incidents. Deprecated, use hasAlertsOnly instead.
hasAlertsOnlyBooleanFilter by tables that have alerts
hasIncidentsStartTimeDateTimeFilter tables without incidents newer than this. Deprecated, use hasAlertsStartTime instead.
hasAlertsStartTimeDateTimeFilter tables without alerts newer than this
hasIncidentsEndTimeDateTimeFilter tables without incidents older than this. Deprecated, use hasAlertsEndTime instead.
hasAlertsEndTimeDateTimeFilter tables without alerts older than this
hasIncidentsIncludeFeedback[String]Filter tables without incidents with user feedback. Deprecated, use hasAlertsIncludeFeedback instead.
hasAlertsIncludeFeedback[String]Filter tables without alerts with user feedback
hasIncidentsExcludeFeedback[String]Filter tables without incidents excluding user feedback. Deprecated, use hasAlertsExcludeFeedback instead.
hasAlertsExcludeFeedback[String]Filter tables without alerts excluding user feedback
hasIncidentsIncludeNormalizedBooleanFilter tables without incidents excluding normalized incidents if False is indicate. Deprecated, use hasAlertsIncludeNormalized instead.
hasAlertsIncludeNormalizedBooleanFilter tables without alerts excluding normalized incidents if False is indicate
hasIncidentsSeverities[String]Filter tables without incidents with severity. Deprecated, use hasAlertsSeverities instead.
hasAlertsSeverities[String]Filter tables without alerts with severity
hasIncidentsPriorities[String]Filter tables without incidents with priority. Deprecated, use hasAlertsPriorities instead.
hasAlertsPriorities[String]Filter tables without alerts with priority
incidentCategories[IncidentCategory]Include only selected incident categories. Or all categories if not specified. Deprecated, use alertCategories instead.
alertCategories[IncidentCategory]Include only selected alert categories. Or all categories if not specified.
offsetInt
beforeString
afterString
firstInt
lastInt
tableIdString
fullTableIdString
warehouseID
discoveredTimeDateTime
friendlyNameString
locationString
projectNameString
datasetString
originalTableIdString
originalProjectNameString
originalDatasetString
descriptionString
tableTypeString
isEncryptedBoolean
createdTimeDateTime
lastModifiedDateTime
viewQueryString
viewIsMaterializedBoolean
pathString
priorityInt
trackedBoolean
dynamicTableBoolean
isDeletedBoolean
deletedAtDateTime
lastObservedDateTime
isExcludedBoolean
isMonitoredBoolean
dataProviderString
ingestTypeString
ingestInvocationIdString
mconString
importanceScoreFloat
isImportantBoolean
lastActivityDateTime
lastReadDateTime
lastWriteDateTime
lastVolumeChangeDateTime
importanceScoreIsCustomBoolean
isImportantIsCustomBoolean
freshnessAnomalyBoolean
sizeAnomalyBoolean
metricAnomalyBoolean
freshnessSizeAnomalyBoolean
orderByStringOrdering

Returns

WarehouseTableHealthConnection

Example

query GetTablesHealth {
  getTablesHealth {
    totalCount
  }
}

Types used only by getTablesHealth

WarehouseTableHealthConnection

Object type.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[WarehouseTableHealthEdge]!Contains the nodes in this connection.
totalCountIntTotal count of elements in the result set.
WarehouseTableHealthEdge

Object type. A Relay edge containing a WarehouseTableHealth and its cursor.

FieldTypeDescription
nodeWarehouseTableHealthThe item at the end of the edge
cursorString!A cursor for use in pagination

Related types

DateTime, IncidentCategory, PageInfo, TagKeyValuePairInput, UUID, WarehouseTableHealth

getTableStats (query)

getTableStats is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Arguments

ArgumentTypeDescription
dwIdUUIDFilter by warehouse. Required when using a fullTableId
fullTableIds[String]Deprecated - use mcon. Ignored if mcon is present
mcons[String]Get stats for specific tables by mcon
parentMconStringFilter stats for tables by parent mcon
offsetInt
beforeString
afterString
firstInt
lastInt

Returns

TableStatsConnection

Example

query GetTableStats {
  getTableStats {
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
  }
}

Types used only by getTableStats

TableStatsConnection

Object type.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[TableStatsEdge]!Contains the nodes in this connection.
TableStatsEdge

Object type. A Relay edge containing a TableStats and its cursor.

FieldTypeDescription
nodeTableStatsThe item at the end of the edge
cursorString!A cursor for use in pagination

Related types

PageInfo, TableStats, UUID

getTableStatsV2 (query)

getTableStatsV2 is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Arguments

ArgumentTypeDescription
firstIntWhen paging forward: the number of items to return (page size)
afterStringWhen paging forward: the cursor of the last item on the previous page of results
lastIntWhen paging backward: the number of items to return (page size)
beforeStringWhen paging backward: the cursor of the first item on the next page of results
parentMconStringFilter stats for tables by root mcon
domainIdUUIDFilter by domain UUID

Returns

TableStatsV2

Example

query GetTableStatsV2 {
  getTableStatsV2 {
    totalCount
  }
}

Types used only by getTableStatsV2

TableStat

Object type.

FieldTypeDescription
resourceUuidUUIDThe warehouse UUID
fullTableIdStringFull table identifier
isImportantBooleanIndicates whether the table is important
importanceScoreFloatThe importance score of the table
avgWritesPerActiveDayFloatThe average number of writes per active day
avgReadsPerActiveDayFloatThe average number of reads per active day
totalUsersIntTotal number of users
degreeOutIntThe degree out
TableStatsV2

Object type.

FieldTypeDescription
tableStats[TableStat]A list of table stats
totalCountIntTotal count of records
pageInfoPageInfoPagination info

Related types

PageInfo, UUID

getTablesUpstreamCounts (query)

getTablesUpstreamCounts is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Fetch data about tables upstream status

Arguments

ArgumentTypeDescription
mcons[String]!List of table MCONS to filter the result
domainIdUUIDFilter by domain UUID

Returns

[TableUpstreamData]

Example

query GetTablesUpstreamCounts($mcons: [String]!) {
  getTablesUpstreamCounts(mcons: $mcons) {
    upstreamCount
    upstreamMonitoredCount
    mcon
  }
}

Related types

TableUpstreamData, UUID

getTopSegmentedWhereConditionLabels (query)

getTopSegmentedWhereConditionLabels is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Get the top segmented where_conditions for a metric monitor

Arguments

ArgumentTypeDescription
monitorUuidUUID!The monitor for which to fetch the labels
startTimeDateTimeFilter for data newer than this
limitIntLimit results retrieved

Returns

[CategoryLabelRank]

Example

query GetTopSegmentedWhereConditionLabels($monitorUuid: UUID!) {
  getTopSegmentedWhereConditionLabels(monitorUuid: $monitorUuid) {
    timeSeriesUuid
    label
    rank
  }
}

Types used only by getTopSegmentedWhereConditionLabels

CategoryLabelRank

Object type.

FieldTypeDescription
timeSeriesUuidUUID
labelString
rankFloat

Related types

DateTime, UUID

getWildcardTemplates (query)

getWildcardTemplates is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

List of templates used for aggregating wildcard tables

Arguments

ArgumentTypeDescription
dwIdUUID!UUID of the warehouse to fetch templates for

Returns

WildcardTemplates

Example

query GetWildcardTemplates($dwId: UUID!) {
  getWildcardTemplates(dwId: $dwId) {
    templates {
      templateName
      templateRegex
    }
  }
}

Types used only by getWildcardTemplates

WildcardTemplates

Object type.

FieldTypeDescription
templates[WildcardTemplate]

Related types

UUID, WildcardTemplate

runSqlInvestigationQuery (query)

runSqlInvestigationQuery is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Arguments

ArgumentTypeDescription
dwIdUUIDwarehouse UUID
queryStringInvestigation query to run
variablesJSONStringvariables and values to use

Returns

SQLResponse

Example

query RunSqlInvestigationQuery {
  runSqlInvestigationQuery {
    columns
    rows
    hasCustomSqlFilter
    query
    hasError
    error
    samplingDisabled
    samplingRestricted
    contentWithheldReason
    rateLimitExceeded
    idempotentStatus
    downloadUrl
    queryExecutionId
  }
}

Related types

JSONString, SQLResponse, UUID

search (query)

search is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Search catalog for an entity

Arguments

ArgumentTypeDescription
objectTypes[String]Filter by object type (e.g. table, view, etc.)
ignoreObjectTypes[String]Filter out by object type
queryStringEntity to search for
offsetIntOffset when paging Default: 0.
limitIntMax results Default: 50.
fullResultsBooleanFull search mode, used to search all available fields, not just display_name Default: true.
operatorStringSearch operator to use, either OR or AND (DEPRECATED) Default: "OR".
mconStringFilter on mcon
mcons[String]Filter on multiple mcons
parentMconStringFilter on parent_mcon
domainIdUUIDFilter by domain UUID. Use domainIds to filter by several domains
domainIds[UUID!]Filter by several domain UUIDs; an asset in any one of them matches. Cannot be combined with domainId
tagsOnlyBooleanSearch only tags and descriptions (no display_name) Default: false.
includeFacetTypes[FacetType]Facet types to include (tags, tag_names, tag_values)
facetResultsLimitIntFacet results limit Default: 10.
tags[String]Filter by tags (DEPRECATED, use tagFilters)
tagNameQueryStringQuery tag names (DEPRECATED)
tagValueQueryStringQuery tag values (DEPRECATED)
resourceIds[String]Filter by resource ID
tagFilters[TagFilterInput]List of tag filters
monitorTypeStringExclude from results objects that do not support this monitor type
isMonitoredBooleanFilter by is_monitored status. Only applicable to tables
projectFilterProjectFilterInputProject filter
datasetFilterDatasetFilterInputDataset filter
dataProductIds[UUID!]Filter by data product IDs
warehouseTypes[String]Filter by warehouse types
etlTypes[String]Filter by ETL types
biTypes[String]Filter by BI types
orderByTableComponentBooleanOrder results by project, dataset, everything else.

Returns

SearchResponse

Example

query Search {
  search {
    totalHits
    offset
  }
}

Types used only by search

DatasetFilterInput

Input object type.

FieldTypeDescription
datasetMcons[String]MCONs of datasets to filter by.
ProjectFilterInput

Input object type.

FieldTypeDescription
projectMcons[String]MCONs of projects to filter by.
TagFilterInput

Input object type.

FieldTypeDescription
tagNameString!Tag name
tagValues[String]Tag values. If empty, match all with tag_name

Related types

FacetType, SearchResponse, UUID

testSqlQueryPart (query)

testSqlQueryPart is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Test part of query

Arguments

ArgumentTypeDescription
dwIdUUIDWarehouse the table is contained in. Required when using a fullTableId
fullTableIdStringDeprecated - use mcon. Ignored if mcon is present
mconStringMcon for table to get details for
queryPartStringPart of query (e.g. select options)
connectionIdUUIDConnection UUID to use for the query
dataSourceDataSourceUnionInputTarget data source

Returns

SQLResponse

Example

query TestSqlQueryPart {
  testSqlQueryPart {
    columns
    rows
    hasCustomSqlFilter
    query
    hasError
    error
    samplingDisabled
    samplingRestricted
    contentWithheldReason
    rateLimitExceeded
    idempotentStatus
    downloadUrl
    queryExecutionId
  }
}

Related types

DataSourceUnionInput, SQLResponse, UUID

testSqlQueryWhereExpression (query)

testSqlQueryWhereExpression is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Test WHERE expression

Arguments

ArgumentTypeDescription
dwIdUUIDWarehouse the table is contained in. Required when using a fullTableId
fullTableIdStringDeprecated - use mcon. Ignored if mcon is present
mconStringMcon for table to get details for
whereExpressionStringbody of the where expression (without WHERE prefix)
connectionIdUUIDConnection UUID to use for the query
dataSourceDataSourceUnionInputTarget data source

Returns

SQLResponse

Example

query TestSqlQueryWhereExpression {
  testSqlQueryWhereExpression {
    columns
    rows
    hasCustomSqlFilter
    query
    hasError
    error
    samplingDisabled
    samplingRestricted
    contentWithheldReason
    rateLimitExceeded
    idempotentStatus
    downloadUrl
    queryExecutionId
  }
}

Related types

DataSourceUnionInput, SQLResponse, UUID

Mutations

createOrUpdateResource (mutation)

createOrUpdateResource is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Create or update a resource

Arguments

ArgumentTypeDescription
isDefaultBooleanIf the account's default resource
nameStringThe resource name
typeStringThe resource type
uuidUUIDThe resource id

Returns

CreateOrUpdateResource

Example

mutation CreateOrUpdateResource {
  createOrUpdateResource {
    resource {
      uuid
      name
      type
      isUserProvided
      isDefault
      createdTime
      lastUpdateTime
      id
    }
  }
}

Types used only by createOrUpdateResource

CreateOrUpdateResource

Object type. Create or update a resource

FieldTypeDescription
resourceResource

Related types

Resource, UUID

deleteBiAssets (mutation)

deleteBiAssets is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Delete pushed BI assets by MCON (same account).

Arguments

ArgumentTypeDescription
mcons[String!]!List of BI-asset MCONs to delete (max 1000). Must all belong to the requestor's account; assets in other accounts cannot be deleted.

Returns

DeleteBiAssets

Example

mutation DeleteBiAssets($mcons: [String!]!) {
  deleteBiAssets(mcons: $mcons) {
    success
    deletedCount
  }
}

Types used only by deleteBiAssets

DeleteBiAssets

Object type. Delete pushed BI assets by MCON. Only assets in the requestor's account; max 1000 MCONs per request.

FieldTypeDescription
successBooleanTrue if the operation completed without error.
deletedCountIntNumber of BI assets deleted.

deletePushIngestedTables (mutation)

deletePushIngestedTables is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Soft-delete push-ingested tables by MCON (same account).

Arguments

ArgumentTypeDescription
mcons[String!]!List of table MCONs to delete (max 1000). Must all belong to the requestor's account; tables in other accounts cannot be deleted.

Returns

DeletePushIngestedTables

Example

mutation DeletePushIngestedTables($mcons: [String!]!) {
  deletePushIngestedTables(mcons: $mcons) {
    success
    deletedCount
  }
}

Types used only by deletePushIngestedTables

DeletePushIngestedTables

Object type. Soft-delete push-ingested tables by MCON. Only tables in the requestor's account; max 1000 MCONs per request.

FieldTypeDescription
successBooleanTrue if the operation completed without error.
deletedCountIntNumber of tables marked deleted.

saveTableImportanceStats (mutation)

saveTableImportanceStats is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Save custom table stats for a table

Arguments

ArgumentTypeDescription
importanceScoreFloatUser-provided importance score.
isImportantBooleanWhether the table is a key asset or not.
mconString!The MCON of the table whose stats are being updated.

Returns

SaveTableImportanceStats

Example

mutation SaveTableImportanceStats($mcon: String!) {
  saveTableImportanceStats(mcon: $mcon) {
    stats {
      isImportant
      importanceScore
    }
  }
}

Types used only by saveTableImportanceStats

SaveTableImportanceStats

Object type. Save custom table stats for a table

FieldTypeDescription
statsTableImportanceStatsResponse
TableImportanceStatsResponse

Object type.

FieldTypeDescription
isImportantBoolean
importanceScoreFloat

setDataLakeCatalogMappings (mutation)

setDataLakeCatalogMappings is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Sets the catalog mappings for a given connection.

Arguments

ArgumentTypeDescription
connectionUuidUUID!connection id
databaseMappings[CatalogMappingInput]!List of catalog object name mappings

Returns

SetDataLakeCatalogMappings

Example

mutation SetDataLakeCatalogMappings($connectionUuid: UUID!, $databaseMappings: [CatalogMappingInput]!) {
  setDataLakeCatalogMappings(connectionUuid: $connectionUuid, databaseMappings: $databaseMappings) {
    success
  }
}

Types used only by setDataLakeCatalogMappings

CatalogMappingInput

Input object type.

FieldTypeDescription
fromNameString!From catalog object name.
toNameString!To catalog object name.
SetDataLakeCatalogMappings

Object type. Set database lake catalog mappings for a connection.This is used to override the database name during table resolution.Note: Only supported for dbt connections

FieldTypeDescription
successBooleanWhether the mutation succeeded.

Related types

UUID

setWildcardTemplates (mutation)

setWildcardTemplates is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Sets the templates to use for wildcard aggregation (overrides existing templates)

Arguments

ArgumentTypeDescription
dwIdUUID!The warehouse's UUID
templates[WildcardTemplateInput]!List of templates to use to aggregate wildcard tables

Returns

SetWildcardTemplates

Example

mutation SetWildcardTemplates($dwId: UUID!, $templates: [WildcardTemplateInput]!) {
  setWildcardTemplates(dwId: $dwId, templates: $templates) {
    templates {
      templateName
      templateRegex
    }
  }
}

Types used only by setWildcardTemplates

SetWildcardTemplates

Object type. Sets the templates to use for wildcard aggregation (overrides existing templates)

FieldTypeDescription
templates[WildcardTemplate]
WildcardTemplateInput

Input object type.

FieldTypeDescription
templateNameString
templateRegexString

Related types

UUID, WildcardTemplate

toggleDisableValueIngestion (mutation)

toggleDisableValueIngestion is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Deprecated: Use disable sampling or disable value when sampling instead.

DEPRECATED. End of life: September 03, 2024. DEPRECATED

Arguments

ArgumentTypeDescription
disableBoolean!If true, disable the value ingestion feature
dwIdUUID!The warehouse's UUID

Returns

ToggleDisableValueIngestion

Example

mutation ToggleDisableValueIngestion($disable: Boolean!, $dwId: UUID!) {
  toggleDisableValueIngestion(disable: $disable, dwId: $dwId) {
    disabled
  }
}

Types used only by toggleDisableValueIngestion

ToggleDisableValueIngestion

Object type. Enable/disable the value ingestion feature

FieldTypeDescription
disabledBoolean

Related types

UUID

toggleMuteTable (mutation)

toggleMuteTable is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Deprecated

Start/Stop creating incidents for the given table

Arguments

ArgumentTypeDescription
inputToggleMuteTableInput!

Returns

ToggleMuteTablePayload

Example

mutation ToggleMuteTable($input: ToggleMuteTableInput!) {
  toggleMuteTable(input: $input) {
    clientMutationId
  }
}

Types used only by toggleMuteTable

ToggleMuteTableInput

Input object type.

FieldTypeDescription
mconStringMcon of table to toggle muting for
fullTableIdStringDeprecated - use mcon. Ignored if mcon is present
dwIdUUIDWarehouse the table is contained in. Required when using a fullTableId
muteBoolean!True for muting the table, False for un-muting
mutedEventTypes[MutedEventType]Restrict muting to the following event types (optional)
clientMutationIdString
ToggleMuteTablePayload

Object type. Start/Stop creating incidents for the given table

FieldTypeDescription
mutedWarehouseTable
clientMutationIdString

Related types

MutedEventType, UUID, WarehouseTable

toggleMuteTables (mutation)

toggleMuteTables is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Deprecated

Start/Stop creating incidents for the given tables

Arguments

ArgumentTypeDescription
inputToggleMuteTablesInput!

Returns

ToggleMuteTablesPayload

Example

mutation ToggleMuteTables($input: ToggleMuteTablesInput!) {
  toggleMuteTables(input: $input) {
    clientMutationId
  }
}

Types used only by toggleMuteTables

ToggleMuteTablesInput

Input object type.

FieldTypeDescription
tables[ToggleTableInputItem]The tables being muted
muteBoolean!True for muting the table, False for un-muting
mutedEventTypes[MutedEventType]Restrict muting to the following event types (optional)
clientMutationIdString
ToggleMuteTablesPayload

Object type. Start/Stop creating incidents for the given tables

FieldTypeDescription
muted[WarehouseTable]
clientMutationIdString
ToggleTableInputItem

Input object type.

FieldTypeDescription
mconStringMcon of the table to toggle muting for
fullTableIdStringDeprecated - use mcon. Ignored if mcon is present
dwIdUUIDWarehouse the table is contained in. Required when using a full table id

Related types

MutedEventType, UUID, WarehouseTable

toggleWildcardAggregation (mutation)

toggleWildcardAggregation is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Enables/disable aggregation of wildcard tables (defaults to yearly and monthly templates)

Arguments

ArgumentTypeDescription
dwIdUUID!The warehouse's UUID
enableBoolean!If true, enable full wildcard aggregation

Returns

ToggleWildcardAggregation

Example

mutation ToggleWildcardAggregation($dwId: UUID!, $enable: Boolean!) {
  toggleWildcardAggregation(dwId: $dwId, enable: $enable) {
    enabled
  }
}

Types used only by toggleWildcardAggregation

ToggleWildcardAggregation

Object type. Enables/disable aggregation of wildcard tables (defaults to yearly and monthly templates)

FieldTypeDescription
enabledBoolean

Related types

UUID

trackTable (mutation)

trackTable is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Add table to account's dashboard

Arguments

ArgumentTypeDescription
inputTrackTableInput!

Returns

TrackTablePayload

Example

mutation TrackTable($input: TrackTableInput!) {
  trackTable(input: $input) {
    clientMutationId
  }
}

Types used only by trackTable

TrackTableInput

Input object type.

FieldTypeDescription
mconStringMcon of table to toggle tracking for
fullTableIdStringDeprecated - use mcon. Ignored if mcon is present
dwIdUUIDWarehouse the table is contained in. Required when using a fullTableId
trackBoolean!Enable or disable table tracking
clientMutationIdString
TrackTablePayload

Object type. Add table to account's dashboard

FieldTypeDescription
tableWarehouseTable
clientMutationIdString

Related types

UUID, WarehouseTable

updateAccountDisplayAssetsSearchTags (mutation)

updateAccountDisplayAssetsSearchTags is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Updates account-level setting for displaying search tags on assets ui

Arguments

ArgumentTypeDescription
displayBoolean!

Returns

UpdateAccountDisplayCatalogSearchTags

Example

mutation UpdateAccountDisplayAssetsSearchTags($display: Boolean!) {
  updateAccountDisplayAssetsSearchTags(display: $display) {
    account {
      id
      uuid
      name
      createdOn
      config
      allowNonSsoLogin
      dataShare
      isDeleted
      pendingDeletion
      frozenAt
      entitlements
      enableExceptionManagement
      enablePlatformAgentDomainFiltering
      agentRawDataAccessMode
      piiInventoryAccessMode
      enablePrAgentPaidTier
      enablePrAgentMetering
      enableProactiveTuneCreatorNotifications
      enableCostAgentPaidTier
      agentMonitorDefaultCollectionLagHours
    }
  }
}

Types used only by updateAccountDisplayAssetsSearchTags

UpdateAccountDisplayCatalogSearchTags

Object type.

FieldTypeDescription
accountAccount

Related types

Account

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.