Related queries and mutations in Integrations and connections. Each has its own section.
Queries
getDatabricksWarehouseInfo (query)
getDatabricksWarehouseInfo is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Get the state of the databricks warehouse.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID | A Databricks connection UUID. |
connectionConfig | DatabricksSqlWarehouseConnectionInput | Connection config for new Databricks SQL Warehouse connection |
Returns
DatabricksWarehouseResponse
Example
query GetDatabricksWarehouseInfo {
getDatabricksWarehouseInfo {
warehouseId
state
}
}Types used only by getDatabricksWarehouseInfo
getDatabricksWarehouseInfoDatabricksWarehouseResponse
DatabricksWarehouseResponseObject type. Databricks warehouse details.
| Field | Type | Description |
|---|---|---|
warehouseId | String | ID of the warehouse. |
state | String | State of the warehouse. |
Related types
DatabricksSqlWarehouseConnectionInput, UUID
getEtlContainers (query)
getEtlContainers is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Retrieve the list of ETL containers in the current user's account
Returns
Example
query GetEtlContainers {
getEtlContainers {
id
createdTime
updatedTime
deletedAt
uuid
type
name
isSynthetic
lastWebhookReceived
jobCount
supportsEtlJobRuns
}
}Related types
getFieldBiLineage (query)
getFieldBiLineage is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Arguments
| Argument | Type | Description |
|---|---|---|
fullTableId | String | |
fieldName | String | |
lastSeenRangeStart | DateTime |
Returns
[FieldDownstreamBi]
Example
query GetFieldBiLineage {
getFieldBiLineage {
biAccountId
biIdentifier
biName
biType
biNodeId
lastSeen
}
}Types used only by getFieldBiLineage
getFieldBiLineageFieldDownstreamBi
FieldDownstreamBiObject type.
| Field | Type | Description |
|---|---|---|
biAccountId | String | |
biIdentifier | String | |
biName | String | |
biType | String | |
biNodeId | String | |
lastSeen | DateTime |
Related types
getIntegrationKeys (query)
getIntegrationKeys is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Retrieve integration keys in the current user's account
Arguments
| Argument | Type | Description |
|---|---|---|
scope | String | Optional scope to filter keys by |
resourceUuid | UUID | Optional, return only keys including this resource id |
Returns
Example
query GetIntegrationKeys {
getIntegrationKeys {
id
description
scope
createdTime
}
}Related types
getPowerBiEtlObjectTypes (query)
getPowerBiEtlObjectTypes is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Power BI ETL object types a Power BI connection collects as jobs. Returns only dataflows when no selection is stored, and can return an empty list. Fails with VALIDATION_ERROR when the stored selection holds an unknown type, because collection fails until the object types are set again.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | ID of the Power BI connection with ETL enabled. |
Returns
Example
query GetPowerBiEtlObjectTypes($connectionId: UUID!) {
getPowerBiEtlObjectTypes(connectionId: $connectionId)
}Related types
getQueryLogHashesThatAffectTheseTables (query)
getQueryLogHashesThatAffectTheseTables is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Get query log aggregates (AKA updates to these tables)
Arguments
| Argument | Type | Description |
|---|---|---|
dwId | UUID | Warehouse the tables are contained in. Required when using fullTableIds |
fullTableIds | [String] | Deprecated - use mcons. Ignored if mcons are present |
mcons | [String] | List of mcons to get details for |
limit | Int | Limit results returned |
offset | Int | Offset when paging |
startTime | DateTime | Filter for queries newer than this |
endTime | DateTime | Filter for queries older than this |
users | [String] | List of users to get details for |
queryCharacters | Int | The number of characters in the query to return |
Returns
[QueryLogHashes]
Example
query GetQueryLogHashesThatAffectTheseTables {
getQueryLogHashesThatAffectTheseTables {
fullTableId
offset
}
}Types used only by getQueryLogHashesThatAffectTheseTables
getQueryLogHashesThatAffectTheseTablesQueryLogHash
QueryLogHashObject type.
| Field | Type | Description |
|---|---|---|
query | String | A substring of the query containing the first n characters defined by the query_characters parameter in the query |
queryHash | String | Hash of the query |
userEmail | String | User email |
day | DateTime | Day of the query log hash |
count | Int | Count of the number of queries with the same hash in the day |
category | String | Category of the query log hash |
averageElapsedTime | Int | Average elapsed time of the query log hash in milliseconds |
QueryLogHashes
QueryLogHashesObject type.
| Field | Type | Description |
|---|---|---|
fullTableId | String | |
offset | Int | |
queryHashes | [QueryLogHash] |
Related types
getWarehouse (query)
getWarehouse is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Arguments
| Argument | Type | Description |
|---|---|---|
uuid | UUID |
Returns
Example
query GetWarehouse {
getWarehouse {
id
createdTime
updatedTime
uuid
name
connectionType
credentialsS3Key
bqProjectId
createdOn
isDeleted
deletedAt
config
userHasAccessToSampleData
dataSamplingEnabled
dataSamplingRestricted
valueIngestionEnabled
valueBasedThresholdEnabled
labeledValueBasedThresholdEnabled
customSqlSamplingSupported
customSqlSamplingEnabled
}
}Related types
getWarehouseConnections (query)
getWarehouseConnections is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Get connections of a warehouse.
Arguments
Returns
Example
query GetWarehouseConnections($warehouseUuid: UUID!) {
getWarehouseConnections(warehouseUuid: $warehouseUuid) {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}Related types
getWarehouses (query)
getWarehouses is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get warehouses accessible to the current user
Arguments
Returns
[Warehouse!]!
Example
query GetWarehouses {
getWarehouses {
id
createdTime
updatedTime
uuid
name
connectionType
credentialsS3Key
bqProjectId
createdOn
isDeleted
deletedAt
config
userHasAccessToSampleData
dataSamplingEnabled
dataSamplingRestricted
valueIngestionEnabled
valueBasedThresholdEnabled
labeledValueBasedThresholdEnabled
customSqlSamplingSupported
customSqlSamplingEnabled
}
}Related types
getWarehouseTagsCollectionSetting (query)
getWarehouseTagsCollectionSetting is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Returns if tags collection setting is enabled for a warehouse
Arguments
| Argument | Type | Description |
|---|---|---|
warehouseUuid | UUID! | Warehouse UUID |
Returns
WarehouseTagsCollectionSetting
Example
query GetWarehouseTagsCollectionSetting($warehouseUuid: UUID!) {
getWarehouseTagsCollectionSetting(warehouseUuid: $warehouseUuid) {
isEnabled
}
}Types used only by getWarehouseTagsCollectionSetting
getWarehouseTagsCollectionSettingWarehouseTagsCollectionSetting
WarehouseTagsCollectionSettingObject type.
| Field | Type | Description |
|---|---|---|
isEnabled | Boolean |
Related types
testExistingConnection (query)
testExistingConnection is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Test an existing connection's credentials against the account's data collector
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID | An existing connection's UUID |
Returns
Example
query TestExistingConnection {
testExistingConnection {
success
}
}Related types
testHttpConnection (query)
testHttpConnection is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Executes a GET request to test access to the specified URL from the platform service
Arguments
| Argument | Type | Description |
|---|---|---|
url | String | URL to test |
includeResponse | Boolean | Include the response from the URL, defaults to false |
ignoreAgent | Boolean | Executes the request in the platform service, even if a remote agent is configured |
timeout | Int | Optional timeout to use (in seconds), defaults to 10 |
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
Returns
Example
query TestHttpConnection {
testHttpConnection {
success
}
}Related types
testNotificationIntegration (query)
testNotificationIntegration is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Tests an integration is reachable by sending a sample alert. Note - rules are not evaluated.
Arguments
| Argument | Type | Description |
|---|---|---|
settingId | UUID | UUID for the notification setting. |
Returns
Boolean
Example
query TestNotificationIntegration {
testNotificationIntegration
}Related types
testTcpOpenConnection (query)
testTcpOpenConnection is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Tests if a destination exists and accepts requests. Opens a TCP Socket to a specific port.
Arguments
| Argument | Type | Description |
|---|---|---|
host | String | Host to check |
port | Int | Port to check |
timeout | Int | Timeout in seconds |
dcId | UUID | [Deprecated] Use serviceUuid instead |
ignoreAgent | Boolean | Perform the DNS Lookup in the platform service, even if a remote agent is configured |
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
Returns
Example
query TestTcpOpenConnection {
testTcpOpenConnection {
success
}
}Related types
testTelnetConnection (query)
testTelnetConnection is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Checks if telnet connection is usable.
Arguments
| Argument | Type | Description |
|---|---|---|
host | String | Host to check |
port | Int | Port to check |
timeout | Int | Timeout in seconds |
dcId | UUID | [Deprecated] Use serviceUuid instead |
ignoreAgent | Boolean | Perform the DNS Lookup in the platform service, even if a remote agent is configured |
serviceUuid | UUID | Platform Service UUID. To disambiguate accounts with multiple services |
Returns
Example
query TestTelnetConnection {
testTelnetConnection {
success
}
}Related types
validateConnectionType (query)
validateConnectionType is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Validate that the connection type can be added to the warehouse type
Arguments
| Argument | Type | Description |
|---|---|---|
warehouseType | String! | The type of the warehouse to add the connection to |
connectionType | String! | The type of the connection to add |
Returns
Boolean
Example
query ValidateConnectionType($warehouseType: String!, $connectionType: String!) {
validateConnectionType(warehouseType: $warehouseType, connectionType: $connectionType)
}Mutations
addBiConnection (mutation)
addBiConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Add a bi connection and setup any associated jobs
Arguments
| Argument | Type | Description |
|---|---|---|
connectionName | String | Provide a friendly name for the BI connection. |
connectionType | String! | The type of connection to add |
dcId | UUID | DC UUID. To disambiguate accounts with multiple collectors |
jobTypes | [String] | Specify job types for the connection. Uses connection default otherwise |
key | String | Temp key for testing connections that require credentials. |
name | String | Provide a friendly name for the BI integration. |
resourceId | UUID | BI Container UUID. Add the connection under the same resource UUID. |
Returns
AddBiConnectionMutation
Example
mutation AddBiConnection($connectionType: String!) {
addBiConnection(connectionType: $connectionType) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addBiConnection
addBiConnectionAddBiConnectionMutation
AddBiConnectionMutationObject type. Add a bi connection and setup any associated jobs
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
addConnection (mutation)
addConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Add a connection and setup any associated jobs. Creates a warehouse if not specified
Arguments
| Argument | Type | Description |
|---|---|---|
agentObservabilityTraceStore | Boolean | ClickHouse only. For connections using customer-managed credentials: true marks the connection as an Agent Observability trace store, false records that it is not one, and null / omitted records nothing. When Monte Carlo manages the credentials, the classification derives from the connection's database name instead: it is recorded whenever the database is otel_traces, and passing this argument is rejected. |
allowedDbtCloudConnections | [String!] | Deprecated. Use dbtCloudConnectionAllowList. dbt Cloud webhook only: explicit allow-list of dbt connection ids/names. A run is kept only if its environment connection id or name is listed. Only valid when filterDbtCloudEvents is true. Cannot be combined with dbtCloudConnectionAllowList. |
allowedDbtCloudEnvironments | [String!] | dbt Cloud webhook only: dbt environment names to keep. When non-empty, events from other environments, or without an environment name, are dropped. |
connectionName | String | Provide a friendly name for the connection when creating |
connectionType | String! | The type of connection to add |
createWarehouseType | String | Create a new warehouse for the connection |
ctpConfig | JSONString | CTP pipeline config to associate with the connection after creation. |
dbtCloudConnectionAllowList | DbtCloudConnectionAllowListInput | dbt Cloud webhook only: explicit allow-list of dbt connections. Only valid when filterDbtCloudEvents is true. |
dcId | UUID | DC UUID. To disambiguate accounts with multiple collectors |
dwId | UUID | Add connection to an existing warehouse |
filterDbtCloudEvents | Boolean | dbt Cloud webhook only. true: drop runs that don't belong to this connection's warehouse. false: explicitly disable filtering — runs are never dropped, though would-be drops are still logged. null / omitted: same runtime behavior as false (filtering left off), but no filtering preference is recorded on the connection. |
isActive | Boolean | Set the connection to active or inactive (default: true) Default: true. |
jobLimits | JSONString | Customize job operations for all job types |
jobTypes | [String] | Specify job types for the connection. Uses connection default otherwise |
key | String! | Temp key from testing connections |
name | String | Provide a friendly name for the warehouse when creating |
Returns
AddConnectionMutation
Example
mutation AddConnection($connectionType: String!, $key: String!) {
addConnection(connectionType: $connectionType, key: $key) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addConnection
addConnectionAddConnectionMutation
AddConnectionMutationObject type. Add a connection and setup any associated jobs. Creates a warehouse if not specified
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
Connection, DbtCloudConnectionAllowListInput, JSONString, UUID
addDatabricksConnection (mutation)
addDatabricksConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Add a databricks connection and setup any associated jobs. Creates a warehouse if not specified
Arguments
| Argument | Type | Description |
|---|---|---|
connectionName | String | Provide a friendly name for the connection being added to the integration |
connectionType | String! | The type of connection to add |
createWarehouseType | String | Create a new warehouse for the connection |
dcId | UUID | DC UUID. To disambiguate accounts with multiple collectors |
dwId | UUID | Add connection to an existing warehouse |
jobLimits | JSONString! | Customize job operations for all job types |
jobTypes | [String] | Specify job types for the connection. Uses connection default otherwise |
key | String! | Temp key from testing connections |
name | String | Provide a friendly name for the integration when creating |
Returns
AddDatabricksConnectionMutation
Example
mutation AddDatabricksConnection($connectionType: String!, $jobLimits: JSONString!, $key: String!) {
addDatabricksConnection(connectionType: $connectionType, jobLimits: $jobLimits, key: $key) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addDatabricksConnection
addDatabricksConnectionAddDatabricksConnectionMutation
AddDatabricksConnectionMutationObject type. Add a databricks connection and setup any associated jobs. Creates a warehouse if not specified
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
addEtlConnection (mutation)
addEtlConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Add an etl connection and setup any associated jobs
Arguments
| Argument | Type | Description |
|---|---|---|
connectionName | String | Provide a friendly name for the ETL connection |
connectionType | String! | The type of connection to add |
dcId | UUID | DC UUID. To disambiguate accounts with multiple collectors |
key | String | Temp key for testing connections that require credentials. |
name | String! | Provide a friendly name for the ETL integration. |
Returns
AddEtlConnectionMutation
Example
mutation AddEtlConnection($connectionType: String!, $name: String!) {
addEtlConnection(connectionType: $connectionType, name: $name) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addEtlConnection
addEtlConnectionAddEtlConnectionMutation
AddEtlConnectionMutationObject type. Add an etl connection and setup any associated jobs
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
addPowerBiDataflowsConnection (mutation)
addPowerBiDataflowsConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Enable ETL monitoring on a Power BI connection
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | Enable ETL monitoring on this existing Power BI connection, reusing its credentials and data collector. |
name | String | Friendly name for the Power BI ETL integration (the ETL container). |
Returns
AddPowerBiDataflowsConnection
Example
mutation AddPowerBiDataflowsConnection($connectionId: UUID!) {
addPowerBiDataflowsConnection(connectionId: $connectionId) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addPowerBiDataflowsConnection
addPowerBiDataflowsConnectionAddPowerBiDataflowsConnection
AddPowerBiDataflowsConnectionObject type. Enable ETL monitoring on an existing Power BI connection. Power BI ETL objects such as dataflows are collected as jobs, with their refresh runs, alongside the connection's BI reports.
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
addRedshiftConsumerConnection (mutation)
addRedshiftConsumerConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Add a Redshift Consumer connection for datashare lineage.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionName | String | Provide a friendly name for the consumer connection when creating |
dcId | UUID | DC UUID. To disambiguate accounts with multiple collectors |
isActive | Boolean | Set the connection to active or inactive (default: true) Default: true. |
jobLimits | JSONString | Customize job operations for all job types |
jobTypes | [String] | Specify job types for the connection. Uses connection default otherwise |
key | String! | Temp key from testing connections |
producerResourceId | UUID! | The warehouse UUID of the parent Redshift warehouse. |
Returns
AddRedshiftConsumerConnectionMutation
Example
mutation AddRedshiftConsumerConnection($key: String!, $producerResourceId: UUID!) {
addRedshiftConsumerConnection(key: $key, producerResourceId: $producerResourceId) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addRedshiftConsumerConnection
addRedshiftConsumerConnectionAddRedshiftConsumerConnectionMutation
AddRedshiftConsumerConnectionMutationObject type. Add a Redshift consumer connection. Used for DataShare lineage.
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
addSalesforceDataCloudEtlConnection (mutation)
addSalesforceDataCloudEtlConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Enable ETL monitoring on a Salesforce Data Cloud connection
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | Enable ETL on this existing Salesforce Data Cloud connection, reusing its credentials and data collector. |
name | String | Friendly name for the Salesforce Data Cloud ETL integration (the ETL container). Defaults to a name derived from the connection, which keeps multiple Data Cloud connections in one account from colliding. |
Returns
AddSalesforceDataCloudEtlConnection
Example
mutation AddSalesforceDataCloudEtlConnection($connectionId: UUID!) {
addSalesforceDataCloudEtlConnection(connectionId: $connectionId) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addSalesforceDataCloudEtlConnection
addSalesforceDataCloudEtlConnectionAddSalesforceDataCloudEtlConnection
AddSalesforceDataCloudEtlConnectionObject type. Enable ETL monitoring on an existing Salesforce Data Cloud connection. Data Cloud ETL objects such as data streams are collected as jobs alongside the connection's existing metadata and query monitoring.
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
addSnowflakeTasksConnection (mutation)
addSnowflakeTasksConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Enable Snowflake Tasks (ETL) monitoring on a Snowflake connection
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID | Enable Tasks on this existing Snowflake connection, reusing its credentials and warehouse. Provide exactly one of connectionId or dwId. |
connectionName | String | Friendly name for the new connection. Used with dwId only; ignored when connectionId is provided. |
dwId | UUID | Create a new Snowflake connection (e.g. with a task-scoped role / different credentials) on this existing Snowflake warehouse, then enable Tasks on it. Requires key. Provide exactly one of connectionId or dwId. |
key | String | Temp credentials key. Required with dwId (creating a new connection); ignored when connectionId is provided. |
name | String | Friendly name for the Snowflake Tasks integration (the ETL container). Applies to both paths. |
Returns
AddSnowflakeTasksConnection
Example
mutation AddSnowflakeTasksConnection {
addSnowflakeTasksConnection {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addSnowflakeTasksConnection
addSnowflakeTasksConnectionAddSnowflakeTasksConnection
AddSnowflakeTasksConnectionObject type. Enable Snowflake Tasks (ETL) monitoring on an existing Snowflake warehouse. Provide exactly one of connectionId (enable Tasks on an existing Snowflake connection) or dwId (create a new Snowflake connection on an existing warehouse, with key).
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
createIntegrationKey (mutation)
createIntegrationKey is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Create an integration key
Arguments
| Argument | Type | Description |
|---|---|---|
description | String! | Key description |
scope | IntegrationKeyScope! | Key scope (integration it can be used for) |
warehouseIds | [UUID] | UUID(s) of warehouse(s) associated with key |
Returns
CreateIntegrationKey
Example
mutation CreateIntegrationKey($description: String!, $scope: IntegrationKeyScope!) {
createIntegrationKey(description: $description, scope: $scope) {
key {
id
secret
}
}
}Types used only by createIntegrationKey
createIntegrationKeyCreateIntegrationKey
CreateIntegrationKeyObject type. Create an integration key
| Field | Type | Description |
|---|---|---|
key | IntegrationKey | Integration key id and secret (only available once). |
IntegrationKeyScope
IntegrationKeyScopeEnum type.
| Value | Description |
|---|---|
CircuitBreaker | |
DatabricksWebhook | |
DbtCloudWebhook | |
S3PresignedUrl | |
Spark | |
AirflowCallbacks | |
Agent | |
SCIM_v2 | |
AzureDevopsWebhook | |
MCP | |
OpenTelemetry | |
Ingestion |
Related types
deleteIntegration (mutation)
deleteIntegration is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Deletes an integration and it's connections
Arguments
| Argument | Type | Description |
|---|---|---|
integrationId | UUID! | ID of the integration to delete |
Returns
DeleteIntegrationMutation
Example
mutation DeleteIntegration($integrationId: UUID!) {
deleteIntegration(integrationId: $integrationId) {
success
}
}Types used only by deleteIntegration
deleteIntegrationDeleteIntegrationMutation
DeleteIntegrationMutationObject type. Delete an integration and all its contained connections
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
deleteIntegrationKey (mutation)
deleteIntegrationKey is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Delete an integration key
Arguments
| Argument | Type | Description |
|---|---|---|
keyId | String! | Integration key id |
Returns
DeleteIntegrationKey
Example
mutation DeleteIntegrationKey($keyId: String!) {
deleteIntegrationKey(keyId: $keyId) {
deleted
}
}Types used only by deleteIntegrationKey
deleteIntegrationKeyDeleteIntegrationKey
DeleteIntegrationKeyObject type. Delete an integration key
| Field | Type | Description |
|---|---|---|
deleted | Boolean | True if the key was deleted, false otherwise |
matchAndCreateBiWarehouseSources (mutation)
matchAndCreateBiWarehouseSources is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Create or update a BI warehouse source. If BI warehouse source details are provided in the bi_warehouse_sources parameter then those are saved. Else, details are pulled from the BI APIs, matched with warehouses in Monte Carlo and details saved only if there is a full match.
Arguments
| Argument | Type | Description |
|---|---|---|
biContainerId | UUID! | Monte Carlo UUID of the BI container |
biWarehouseSources | [BiWarehouseSourcesInput] | BI warehouse source details that should be saved in Monte Carlo. |
Returns
MatchAndCreateBiWarehouseSources
Example
mutation MatchAndCreateBiWarehouseSources($biContainerId: UUID!) {
matchAndCreateBiWarehouseSources(biContainerId: $biContainerId) {
matchingBiWarehouseSources {
matchSuccessful
rawBiWarehouseConnections
rawWarehouseConnections
}
}
}Types used only by matchAndCreateBiWarehouseSources
matchAndCreateBiWarehouseSourcesBiWarehouseSources
BiWarehouseSourcesObject type.
| Field | Type | Description |
|---|---|---|
warehouseResourceId | String! | Warehouse resource ID. This is a Monte Carlo ID |
warehouseResourceType | String! | Warehouse type. Examples: snowflake, redshift, etc. |
biWarehouseId | String! | The warehouse ID in the BI instance of the customer. This is an ID in the customer ID space and is not a Monte Carlo ID. |
BiWarehouseSourcesInput
BiWarehouseSourcesInputInput object type.
| Field | Type | Description |
|---|---|---|
warehouseResourceId | String! | Warehouse resource ID. This is a Monte Carlo ID |
warehouseResourceType | String! | Warehouse type. Examples: snowflake, redshift, etc. |
biWarehouseId | String! | The warehouse ID in the BI instance of the customer. This is an ID in the customer ID space and is not a Monte Carlo ID. |
MatchAndCreateBiWarehouseSources
MatchAndCreateBiWarehouseSourcesObject type. Create or update a BI warehouse source. If BI warehouse source details are provided in the bi_warehouse_sources parameter then those are saved. Else, details are pulled from the BI APIs, matched with warehouses in Monte Carlo and details saved only if there is a full match.
| Field | Type | Description |
|---|---|---|
matchingBiWarehouseSources | MatchingBiWarehouseSources |
MatchingBiWarehouseSources
MatchingBiWarehouseSourcesObject type.
| Field | Type | Description |
|---|---|---|
matchSuccessful | Boolean | Indicates whether all BI source warehouses could be matched with a warehouse stored in MC. Only true if all BI source warehouses could be matched. |
biWarehouseSources | [BiWarehouseSources] | Details of matched warehouses. |
rawBiWarehouseConnections | [String] | Raw response from customer's BI system listing the warehouses it is connected to. Only set if match_successful is False. |
rawWarehouseConnections | [String] | Details of warehouses that are in MC. Only set if match_successful is False. |
Related types
removeConnection (mutation)
removeConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Remove an integration connection and deschedule any associated jobs
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | ID of the connection to remove |
Returns
RemoveConnectionMutation
Example
mutation RemoveConnection($connectionId: UUID!) {
removeConnection(connectionId: $connectionId) {
success
}
}Types used only by removeConnection
removeConnectionRemoveConnectionMutation
RemoveConnectionMutationObject type. Remove an integration connection and deschedule any associated jobs
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
removeConnectionCtpConfig (mutation)
removeConnectionCtpConfig is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Remove the custom CTP config from a connection.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | UUID of the connection to update. |
Returns
RemoveConnectionCtpConfig
Example
mutation RemoveConnectionCtpConfig($connectionId: UUID!) {
removeConnectionCtpConfig(connectionId: $connectionId) {
success
}
}Types used only by removeConnectionCtpConfig
removeConnectionCtpConfigRemoveConnectionCtpConfig
RemoveConnectionCtpConfigObject type. Remove the custom CTP config from a connection.
| Field | Type | Description |
|---|---|---|
success | Boolean! |
Related types
removePowerBiDataflowsFromConnection (mutation)
removePowerBiDataflowsFromConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Stop ETL monitoring on a Power BI connection
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | ID of the Power BI connection to stop ETL monitoring on. |
Returns
RemovePowerBiDataflowsFromConnection
Example
mutation RemovePowerBiDataflowsFromConnection($connectionId: UUID!) {
removePowerBiDataflowsFromConnection(connectionId: $connectionId) {
success
}
}Types used only by removePowerBiDataflowsFromConnection
removePowerBiDataflowsFromConnectionRemovePowerBiDataflowsFromConnection
RemovePowerBiDataflowsFromConnectionObject type. Stop ETL monitoring on a Power BI connection. ETL job monitoring is turned off and the connection's BI reports monitoring is kept.
| Field | Type | Description |
|---|---|---|
success | Boolean! |
Related types
removeSalesforceDataCloudEtlFromConnection (mutation)
removeSalesforceDataCloudEtlFromConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Stop ETL monitoring on a Salesforce Data Cloud connection
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | ID of the Salesforce Data Cloud connection to stop ETL monitoring on. |
Returns
RemoveSalesforceDataCloudEtlFromConnection
Example
mutation RemoveSalesforceDataCloudEtlFromConnection($connectionId: UUID!) {
removeSalesforceDataCloudEtlFromConnection(connectionId: $connectionId) {
success
}
}Types used only by removeSalesforceDataCloudEtlFromConnection
removeSalesforceDataCloudEtlFromConnectionRemoveSalesforceDataCloudEtlFromConnection
RemoveSalesforceDataCloudEtlFromConnectionObject type. Stop ETL monitoring on a Salesforce Data Cloud connection. ETL job monitoring is turned off and the connection's existing metadata and query monitoring is kept.
| Field | Type | Description |
|---|---|---|
success | Boolean! |
Related types
removeSnowflakeTasksFromConnection (mutation)
removeSnowflakeTasksFromConnection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Stop monitoring Snowflake Tasks on a Snowflake connection
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | ID of the Snowflake connection to stop monitoring Tasks on. |
Returns
RemoveSnowflakeTasksFromConnection
Example
mutation RemoveSnowflakeTasksFromConnection($connectionId: UUID!) {
removeSnowflakeTasksFromConnection(connectionId: $connectionId) {
success
}
}Types used only by removeSnowflakeTasksFromConnection
removeSnowflakeTasksFromConnectionRemoveSnowflakeTasksFromConnection
RemoveSnowflakeTasksFromConnectionObject type. Stop monitoring Snowflake Tasks on a connection. If the connection is used only for Snowflake Tasks it is removed; otherwise Snowflake Tasks monitoring is turned off and the connection's other monitoring is kept.
| Field | Type | Description |
|---|---|---|
success | Boolean! |
Related types
saveSlackCredentials (mutation)
saveSlackCredentials is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Arguments
| Argument | Type | Description |
|---|---|---|
key | String | Slack installation UUID (deprecated, use slackInstallationUuid |
slackAppType | SlackAppType | Slack App Type |
slackInstallationUuid | String | Slack installation UUID |
Returns
SaveSlackCredentialsMutation
Example
mutation SaveSlackCredentials {
saveSlackCredentials {
slackCredentials {
id
slackAppType
replyWarning
config
teamId
teamName
agentDispatchEnabled
agentDataSamplingEnabled
isNotificationDispatcher
bindingHealth
notificationSettingsCount
}
}
}Types used only by saveSlackCredentials
saveSlackCredentialsSaveSlackCredentialsMutation
SaveSlackCredentialsMutationObject type.
| Field | Type | Description |
|---|---|---|
slackCredentials | SlackCredentialsV2 |
Related types
SlackAppType, SlackCredentialsV2
setAccountBillingPlan (mutation)
setAccountBillingPlan is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Sets the billing plan for an account and create the customer in the billing vendor
Arguments
| Argument | Type | Description |
|---|---|---|
asyncInvoke | Boolean | Whether to set account's contract change asynchronously Default: true. |
billingPlanType | BillingPlanType! | The Rate Card type that will be used to create an initial customer contract |
Returns
SetAccountBillingPlan
Example
mutation SetAccountBillingPlan($billingPlanType: BillingPlanType!) {
setAccountBillingPlan(billingPlanType: $billingPlanType) {
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 setAccountBillingPlan
setAccountBillingPlanBillingPlanType
BillingPlanTypeEnum type.
| Value | Description |
|---|---|
START | |
SCALE | |
SCALE_WITH_ADVANCED_NETWORKING | |
ENTERPRISE | |
ENTERPRISE_WITH_ADVANCED_NETWORKING |
SetAccountBillingPlan
SetAccountBillingPlanObject type. Sets the billing plan for an account and create the customer in the billing vendor
| Field | Type | Description |
|---|---|---|
account | Account |
Related types
setConnectionAgentObservabilityTraceStore (mutation)
setConnectionAgentObservabilityTraceStore is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Mark or unmark a ClickHouse connection as an Agent Observability trace store.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | ID of the connection to update |
enable | Boolean! | true marks the connection as a trace store, false unmarks it. |
Returns
SetConnectionAgentObservabilityTraceStore
Example
mutation SetConnectionAgentObservabilityTraceStore($connectionId: UUID!, $enable: Boolean!) {
setConnectionAgentObservabilityTraceStore(connectionId: $connectionId, enable: $enable) {
success
}
}Types used only by setConnectionAgentObservabilityTraceStore
setConnectionAgentObservabilityTraceStoreSetConnectionAgentObservabilityTraceStore
SetConnectionAgentObservabilityTraceStoreObject type. Mark or unmark a ClickHouse connection as an Agent Observability trace store. Only for connections using customer-managed credentials; when Monte Carlo manages the credentials, the classification follows the connection's database name and this mutation is rejected.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
setConnectionCtpConfig (mutation)
setConnectionCtpConfig is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Set the custom CTP config for a connection.
Arguments
| Argument | Type | Description |
|---|---|---|
config | JSONString! | CTP pipeline config (steps and mapper) to use for this connection. |
connectionId | UUID! | UUID of the connection to configure. |
Returns
SetConnectionCtpConfig
Example
mutation SetConnectionCtpConfig($config: JSONString!, $connectionId: UUID!) {
setConnectionCtpConfig(config: $config, connectionId: $connectionId) {
uuid
}
}Types used only by setConnectionCtpConfig
setConnectionCtpConfigSetConnectionCtpConfig
SetConnectionCtpConfigObject type. Set (create or replace) the custom CTP config for a connection.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | UUID of the created or updated CTP config record. |
Related types
setConnectionDeletionProtection (mutation)
setConnectionDeletionProtection is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Enable/disable deletion protection for a connection. Protected connections cannot be deleted.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | ID of the connection to set deletion protection |
enableDeletionProtection | Boolean! | Enable or disable deletion protection |
Returns
SetConnectionDeletionProtectionMutation
Example
mutation SetConnectionDeletionProtection($connectionId: UUID!, $enableDeletionProtection: Boolean!) {
setConnectionDeletionProtection(connectionId: $connectionId, enableDeletionProtection: $enableDeletionProtection) {
success
}
}Types used only by setConnectionDeletionProtection
setConnectionDeletionProtectionSetConnectionDeletionProtectionMutation
SetConnectionDeletionProtectionMutationObject type. Set deletion protection for an integration connection
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
setConnectionName (mutation)
setConnectionName is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Set the name of a connection model.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | UUID of the connection to update. |
name | String! | Desired name. |
Returns
SetConnectionName
Example
mutation SetConnectionName($connectionId: UUID!, $name: String!) {
setConnectionName(connectionId: $connectionId, name: $name) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by setConnectionName
setConnectionNameSetConnectionName
SetConnectionNameObject type. Set friendly name for a connection.
| Field | Type | Description |
|---|---|---|
connection | Connection! | Connection where name was set. |
Related types
setEtlContainerName (mutation)
setEtlContainerName is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Set friendly name for a ETL container.
Arguments
| Argument | Type | Description |
|---|---|---|
etlContainerId | UUID! | UUID of the ETL container to update. |
name | String! | Desired name. |
Returns
SetEtlContainerName
Example
mutation SetEtlContainerName($etlContainerId: UUID!, $name: String!) {
setEtlContainerName(etlContainerId: $etlContainerId, name: $name) {
etlContainer {
id
createdTime
updatedTime
deletedAt
uuid
type
name
isSynthetic
lastWebhookReceived
jobCount
supportsEtlJobRuns
}
}
}Types used only by setEtlContainerName
setEtlContainerNameSetEtlContainerName
SetEtlContainerNameObject type. Set friendly name for a ETL container.
| Field | Type | Description |
|---|---|---|
etlContainer | EtlContainer | ETL container where name was set. |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
