Connections and integrations, part 2 of 2 (GraphQL)

Related queries and mutations in Integrations and connections. Each has its own section.

Mutations

setIntegrationName (mutation)

setIntegrationName 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 an integration.

Arguments

ArgumentTypeDescription
integrationIdUUID!UUID of the integration to update.
integrationTypeString!Integration type for direct routing.
nameString!Desired name.

Returns

SetIntegrationName

Example

mutation SetIntegrationName($integrationId: UUID!, $integrationType: String!, $name: String!) {
  setIntegrationName(integrationId: $integrationId, integrationType: $integrationType, name: $name) {
    integration {
      uuid
      type
      name
    }
  }
}

Types used only by setIntegrationName

IntegrationUpdateResult

Object type.

FieldTypeDescription
uuidUUID!
typeString!
nameString!
SetIntegrationName

Object type. Set friendly name for an integration.

FieldTypeDescription
integrationIntegrationUpdateResult!Integration where name was set.

Related types

UUID

setPowerBiEtlObjectTypes (mutation)

setPowerBiEtlObjectTypes 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

Choose which Power BI ETL object types a Power BI connection collects

Arguments

ArgumentTypeDescription
connectionIdUUID!ID of the Power BI connection with ETL enabled.
objectTypes[PowerBiEtlObjectType!]!Object types to collect. Must not be empty.

Returns

SetPowerBiEtlObjectTypes

Example

mutation SetPowerBiEtlObjectTypes($connectionId: UUID!, $objectTypes: [PowerBiEtlObjectType!]!) {
  setPowerBiEtlObjectTypes(connectionId: $connectionId, objectTypes: $objectTypes) {
    objectTypes
  }
}

Types used only by setPowerBiEtlObjectTypes

SetPowerBiEtlObjectTypes

Object type. Choose which Power BI ETL object types are collected as jobs on a Power BI connection with ETL enabled. Without this, only dataflows are collected. Semantic models require the feature to be enabled for your account and a data collector build that supports them.

FieldTypeDescription
objectTypes[PowerBiEtlObjectType!]!Object types the connection now collects.

Related types

PowerBiEtlObjectType, UUID

setWarehouseName (mutation)

setWarehouseName 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 warehouse.

Arguments

ArgumentTypeDescription
dwIdUUID!UUID of the warehouse to update.
nameString!Desired name.

Returns

SetWarehouseName

Example

mutation SetWarehouseName($dwId: UUID!, $name: String!) {
  setWarehouseName(dwId: $dwId, name: $name) {
    warehouse {
      id
      createdTime
      updatedTime
      uuid
      name
      connectionType
      credentialsS3Key
      bqProjectId
      createdOn
      isDeleted
      deletedAt
      config
      userHasAccessToSampleData
      dataSamplingEnabled
      dataSamplingRestricted
      valueIngestionEnabled
      valueBasedThresholdEnabled
      labeledValueBasedThresholdEnabled
      customSqlSamplingSupported
      customSqlSamplingEnabled
    }
  }
}

Types used only by setWarehouseName

SetWarehouseName

Object type. Set friendly name for a warehouse.

FieldTypeDescription
warehouseWarehouseWarehouse where name was set.

Related types

UUID, Warehouse

startDatabricksWarehouse (mutation)

startDatabricksWarehouse 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.

Start Databricks Warehouse.

Arguments

ArgumentTypeDescription
connectionConfigDatabricksSqlWarehouseConnectionInputConnection config for new Databricks SQL warehouse connection
connectionIdUUIDA Databricks connection UUID

Returns

StartDatabricksWarehouse

Example

mutation StartDatabricksWarehouse {
  startDatabricksWarehouse {
    success
  }
}

Types used only by startDatabricksWarehouse

StartDatabricksWarehouse

Object type. Start Databricks Warehouse.

FieldTypeDescription
successBooleanIndicates whether the operation was completed successfully.

Related types

DatabricksSqlWarehouseConnectionInput, UUID

testAthenaCredentials (mutation)

testAthenaCredentials 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.

Test an Athena connection

Arguments

ArgumentTypeDescription
assumableRoleStringAssumable role ARN to use for accessing AWS resources
awsRegionStringAthena cluster region
catalogStringGlue data catalog
connectionOptionsConnectionTestOptionsCommon options for integration tests.
externalIdStringAn external id, per assumable role conditions
workgroupStringWorkbook for running queries and retrieving logs. If not specified the primary is used

Returns

TestAthenaCredentials

Example

mutation TestAthenaCredentials {
  testAthenaCredentials {
    key
    success
  }
}

Types used only by testAthenaCredentials

TestAthenaCredentials

Object type. Test an Athena connection

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully
validations[ConnectionValidation]List of validations that passed
warnings[ConnectionValidation]List of warnings of failed validations

Related types

ConnectionTestOptions, ConnectionValidation

testBqCredentials (mutation)

testBqCredentials 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.

Test a BQ connection

Arguments

ArgumentTypeDescription
connectionOptionsConnectionTestOptionsCommon options for integration tests
serviceJsonStringService account key file as a base64 string

Returns

TestBqCredentials

Example

mutation TestBqCredentials {
  testBqCredentials {
    key
    success
  }
}

Types used only by testBqCredentials

TestBqCredentials

Object type. Test a BQ connection

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully
validations[ConnectionValidation]List of validations that passed
warnings[ConnectionValidation]List of warnings of failed validations

Related types

ConnectionTestOptions, ConnectionValidation

testCredentials (mutation)

testCredentials 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.

Test credentials where the temp key already exists (e.g. BQ)

Arguments

ArgumentTypeDescription
connectionOptionsConnectionTestOptionsCommon options for integration tests
connectionTypeStringThe type of connection to add Default: "bigquery".
keyString!Temp key from testing connections
projectIdStringBQ project ID if adding for a specific project only (lists otherwise)

Returns

TestCredentialsMutation

Example

mutation TestCredentials($key: String!) {
  testCredentials(key: $key) {
    success
  }
}

Types used only by testCredentials

TestCredentialsMutation

Object type. Test credentials where the temp key already exists (e.g. BQ)

FieldTypeDescription
successBooleanIndicates whether the operation was completed successfully
validations[ConnectionValidation]List of validations that passed
warnings[ConnectionValidation]List of warnings of failed validations

Related types

ConnectionTestOptions, ConnectionValidation

testDatabaseCredentials (mutation)

testDatabaseCredentials 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.

Test a generic warehouse or database connection

Arguments

ArgumentTypeDescription
assumableRoleStringAWS role that can be assumed by the DC
connectionOptionsConnectionTestOptionsCommon options for integration tests
connectionTypeStringType of connection (e.g. snowflake, redshift)
dbNameStringName of database to add connection for
dbTypeStringType of database to add connection for
externalIdStringAn external id, per assumable role conditions
hostStringHostname of the warehouse
passwordStringUser's password
portIntHTTP Port to use
sslOptionsSslInputOptionsSpecify any SSL options (e.g. certs)
userStringUser with access to the database

Returns

TestDatabaseCredentials

Example

mutation TestDatabaseCredentials {
  testDatabaseCredentials {
    key
    success
  }
}

Types used only by testDatabaseCredentials

TestDatabaseCredentials

Object type. Test a generic warehouse or database connection

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully
validations[ConnectionValidation]List of validations that passed
warnings[ConnectionValidation]List of warnings of failed validations

Related types

ConnectionTestOptions, ConnectionValidation, SslInputOptions

testDatabricksSqlWarehouseCredentials (mutation)

testDatabricksSqlWarehouseCredentials 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.

Test Databricks Sql Warehouse credentials

Arguments

ArgumentTypeDescription
connectionOptionsConnectionTestOptionsCommon options for integration tests
databricksConfigDatabricksSqlWarehouseInput!Configuration for the Databricks sql warehouse.

Returns

TestDatabricksSqlWarehouseCredentials

Example

mutation TestDatabricksSqlWarehouseCredentials($databricksConfig: DatabricksSqlWarehouseInput!) {
  testDatabricksSqlWarehouseCredentials(databricksConfig: $databricksConfig) {
    key
    success
  }
}

Types used only by testDatabricksSqlWarehouseCredentials

TestDatabricksSqlWarehouseCredentials

Object type. Test the connection to a Databricks sql warehouse.

FieldTypeDescription
keyStringPath to key for adding a connection.
successBooleanIndicates whether the operation was completed successfully.

Related types

ConnectionTestOptions, DatabricksSqlWarehouseInput

testDbtCloudCredentials (mutation)

testDbtCloudCredentials 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.

Test a dbt Cloud connection

Arguments

ArgumentTypeDescription
connectionOptionsConnectionTestOptionsCommon options for integration tests
connectionTypeStringdbt Cloud connection type Default: "dbt-cloud-webhook".
dbtCloudAccountIdStringdbt Cloud account ID
dbtCloudApiTokenStringdbt Cloud API token
dbtCloudBaseUrlStringdbt Cloud base URL
dbtCloudWebhookHmacSecretStringProvide the hmac_secret of a dbt outbound webhook to setup a webhook-based dbt integration
dbtCloudWebhookIdStringProvide the webhook ID of a dbt outbound webhook to setup a webhook-based dbt integration

Returns

TestDbtCloudCredentials

Example

mutation TestDbtCloudCredentials {
  testDbtCloudCredentials {
    key
    success
  }
}

Types used only by testDbtCloudCredentials

TestDbtCloudCredentials

Object type. Test a dbt Cloud connection

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully

Related types

ConnectionTestOptions

testFivetranCredentials (mutation)

testFivetranCredentials 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: Deprecated: Use testCredentialsV2 with connectionType=fivetran instead.

DEPRECATED. Test Fivetran credentials

Arguments

ArgumentTypeDescription
connectionOptionsConnectionTestOptionsCommon options for integration tests
fivetranApiKeyString!Fivetran API Key
fivetranApiPasswordString!Fivetran API Password
fivetranBaseUrlStringFivetran base URL

Returns

TestFivetranCredentials

Example

mutation TestFivetranCredentials($fivetranApiKey: String!, $fivetranApiPassword: String!) {
  testFivetranCredentials(fivetranApiKey: $fivetranApiKey, fivetranApiPassword: $fivetranApiPassword) {
    key
    success
  }
}

Types used only by testFivetranCredentials

TestFivetranCredentials

Object type. Test a Fivetran connection

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully

Related types

ConnectionTestOptions

testGlueCredentials (mutation)

testGlueCredentials 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.

Test a Glue connection

Arguments

ArgumentTypeDescription
assumableRoleStringAssumable role ARN to use for accessing AWS resources
awsRegionStringGlue region
connectionOptionsConnectionTestOptionsCommon options for integration tests
externalIdStringAn external id, per assumable role conditions
sslOptionsSslInputOptionsSpecify any SSL options (e.g. certs)

Returns

TestGlueCredentials

Example

mutation TestGlueCredentials {
  testGlueCredentials {
    key
    success
  }
}

Types used only by testGlueCredentials

TestGlueCredentials

Object type. Test a Glue connection

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully
validations[ConnectionValidation]List of validations that passed
warnings[ConnectionValidation]List of warnings of failed validations

Related types

ConnectionTestOptions, ConnectionValidation, SslInputOptions

testHiveCredentials (mutation)

testHiveCredentials 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.

Test a hive sql based connection

Arguments

ArgumentTypeDescription
authModeStringAuthentication mode to hive. If not set "SASL" is used.
connectionOptionsConnectionTestOptionsCommon options for integration tests
databaseStringName of database
hostStringHostname
portIntPort
usernameStringUsername with access to hive

Returns

TestHiveCredentials

Example

mutation TestHiveCredentials {
  testHiveCredentials {
    key
    success
  }
}

Types used only by testHiveCredentials

TestHiveCredentials

Object type. Test a hive sql based connection

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully

Related types

ConnectionTestOptions

testLookerGitCloneCredentials (mutation)

testLookerGitCloneCredentials 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.

Test the connection to a Git repository using the SSH or HTTPS protocol

Arguments

ArgumentTypeDescription
connectionOptionsConnectionTestOptionsCommon options for integration tests.
repoUrlStringRepository URL as ssh://[user@]server/project.git or the shorter form [user@]server:project.git SSH integrations and htts://server/project.git for HTTPS integrations
sshKeyStringSSH key, base64-encoded
sslOptionsSslInputOptionsOptional SSL options for HTTPS git clones against self-managed Git providers. Only ca_data (inline PEM CA bundle) and skip_verification are honored by the git subprocess; mechanism=dc-s3 and mechanism=url are rejected. No-op for SSH integrations.
tokenStringThe access token for git HTTPS integrations
usernameStringThe git username for BitBucket integrations

Returns

TestLookerGitCloneCredentials

Example

mutation TestLookerGitCloneCredentials {
  testLookerGitCloneCredentials {
    key
    success
  }
}

Types used only by testLookerGitCloneCredentials

TestLookerGitCloneCredentials

Object type. Test the connection to a Git repository using the SSH or HTTPS protocol

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully

Related types

ConnectionTestOptions, SslInputOptions

testLookerGitCredentials (mutation)

testLookerGitCredentials 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.

Deprecated. Do not use.

Arguments

ArgumentTypeDescription
connectionOptionsConnectionTestOptionsCommon options for integration tests
installationIdIntID response from Github

Returns

TestLookerGitCredentials

Example

mutation TestLookerGitCredentials {
  testLookerGitCredentials {
    key
    success
  }
}

Types used only by testLookerGitCredentials

TestLookerGitCredentials

Object type. Deprecated. Do not use.

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully

Related types

ConnectionTestOptions

testPowerBiCredentials (mutation)

testPowerBiCredentials 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.

Test Power BI credentials

Arguments

ArgumentTypeDescription
authModePowerBIAuthModeEnum!Authentication mode. We support two values here [service_principal, primary_user]
clientIdString!App Client uuid
clientSecretStringSecret key for the client ID. Required if auth_mode is service_principal.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
passwordStringPassword when auth as a primary user. Required if auth_mode is primary_user.
tenantIdString!Azure power bi tenant uuid
usernameStringUsername when auth as a primary user. Required if auth_mode is primary_user.

Returns

TestPowerBICredentials

Example

mutation TestPowerBiCredentials($authMode: PowerBIAuthModeEnum!, $clientId: String!, $tenantId: String!) {
  testPowerBiCredentials(authMode: $authMode, clientId: $clientId, tenantId: $tenantId) {
    key
    success
  }
}

Types used only by testPowerBiCredentials

PowerBIAuthModeEnum

Enum type.

ValueDescription
SERVICE_PRINCIPAL
PRIMARY_USER
TestPowerBICredentials

Object type. Test the Power BI connection

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully

Related types

ConnectionTestOptions

testPrestoCredentials (mutation)

testPrestoCredentials 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.

Test connection to Presto

Arguments

ArgumentTypeDescription
catalogStringMount point to access data source. Only lowercase letters, digits, underscores and dashes are allowed when metadataCatalogId is set.
connectionOptionsConnectionTestOptionsCommon options for integration tests
hostStringHostname
httpSchemeStringScheme for authentication
metadataCatalogIdStringName of the catalog in the metadata store (e.g. the AWS Glue federated catalog name) when it differs from the Trino mount name given in catalog. Requires catalog.
passwordStringUser's password
portIntHTTP port
schemaStringSchema to access
sslOptionsSslInputOptionsSpecify any ssl options
userStringUsername with access to catalog/schema

Returns

TestPrestoCredentials

Example

mutation TestPrestoCredentials {
  testPrestoCredentials {
    key
    success
  }
}

Types used only by testPrestoCredentials

TestPrestoCredentials

Object type. Test connection to Presto

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully

Related types

ConnectionTestOptions, SslInputOptions

testS3Credentials (mutation)

testS3Credentials 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.

Test a s3 based connection (e.g. presto query logs on s3)

Arguments

ArgumentTypeDescription
assumableRoleStringAWS role that can be assumed by the DC
bucketStringS3 Bucket where relevant objects are contained
connectionOptionsConnectionTestOptionsCommon options for integration tests
connectionTypeStringType of connection Default: "s3".
externalIdStringAn external id, per assumable role conditions
prefixStringPath to objects

Returns

TestS3Credentials

Example

mutation TestS3Credentials {
  testS3Credentials {
    key
    success
  }
}

Types used only by testS3Credentials

TestS3Credentials

Object type. Test a s3 based connection (e.g. presto query logs on s3)

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully

Related types

ConnectionTestOptions

testSelfHostedCredentials (mutation)

testSelfHostedCredentials 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.

Test a connection of any type with self-hosted credentials.

Arguments

ArgumentTypeDescription
assumableRoleStringRole that can be assumed by the DC to access the self-hosting mechanism
connectionOptionsConnectionTestOptionsCommon options for integration tests
connectionTypeStringType of connection
externalIdStringAn external id, per assumable role conditions
regionStringRegion where the credentials are hosted
selfHostingKeyStringIdentifier for the credentials within the self-hosting mechanism (e.g. SecretManager secret ARN)
selfHostingMechanismStringType of credential self-hosting mechanism

Returns

TestSelfHostedCredentials

Example

mutation TestSelfHostedCredentials {
  testSelfHostedCredentials {
    key
    success
  }
}

Types used only by testSelfHostedCredentials

TestSelfHostedCredentials

Object type. Test a connection of any type with self-hosted credentials.

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully
validations[ConnectionValidation]List of validations that passed
warnings[ConnectionValidation]List of warnings of failed validations

Related types

ConnectionTestOptions, ConnectionValidation

testSnowflakeCredentials (mutation)

testSnowflakeCredentials 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.

Test a Snowflake connection

Arguments

ArgumentTypeDescription
accountStringSnowflake account name
connectionOptionsConnectionTestOptionsCommon options for integration tests
oauthOAuthConfigurationConfiguration for OAuth for Snowflake.
passwordStringUser's password if using user/password basic auth
privateKeyStringUser's private key (base64 encoded) if using key pair auth.
privateKeyPassphraseStringUser's private key passphrase if using key pair auth. This argument is only needed when the private key is encrypted.
userStringUser with access to snowflake.
warehouseStringName of the warehouse for the user

Returns

TestSnowflakeCredentials

Example

mutation TestSnowflakeCredentials {
  testSnowflakeCredentials {
    key
    success
  }
}

Types used only by testSnowflakeCredentials

TestSnowflakeCredentials

Object type. Test a Snowflake connection

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully
validations[ConnectionValidation]List of validations that passed
warnings[ConnectionValidation]List of warnings of failed validations

Related types

ConnectionTestOptions, ConnectionValidation, OAuthConfiguration

testSparkCredentials (mutation)

testSparkCredentials 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.

Test Spark credentials

Arguments

ArgumentTypeDescription
binaryModeSparkBinaryInputConfiguration for Thrift in binary mode
connectionOptionsConnectionTestOptionsCommon options for integration tests
httpModeSparkHttpInputConfiguration for Thrift in HTTP mode

Returns

TestSparkCredentials

Example

mutation TestSparkCredentials {
  testSparkCredentials {
    key
    success
  }
}

Types used only by testSparkCredentials

SparkBinaryInput

Input object type. Credentials to the Spark Thrift server in binary mode

FieldTypeDescription
databaseString!Database name
hostString!Host name
portInt!Port
usernameString!User name
passwordString!Password
SparkHttpInput

Input object type. Credentials to the Spark Thrift server in HTTP mode

FieldTypeDescription
urlString!Connection URL to the Thrift server
usernameString!User name
passwordString!Password
TestSparkCredentials

Object type. Test the connection to a Spark Thrift server.

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully

Related types

ConnectionTestOptions

testTableauCredentials (mutation)

testTableauCredentials 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.

Test Tableau credentials

Arguments

ArgumentTypeDescription
clientIdStringThe Tableau Connected Apps Client ID
connectionOptionsConnectionTestOptionsCommon options for integration tests
passwordStringPassword for the Tableau user if using username/password
secretIdStringThe Tableau Connected Apps Secret ID
secretValueStringThe Tableau Connected Apps Secret value
serverNameString!The Tableau server name
siteNameStringThe Tableau site name
tokenNameStringThe personal access token name for PAT authentication
tokenValueStringThe personal access token value for PAT authentication
usernameStringUsername for the Tableau user if using username/password or Connected Apps
verifySslBooleanWhether to verify the SSL connection to Tableau server Default: true.

Returns

TestTableauCredentialsMutation

Example

mutation TestTableauCredentials($serverName: String!) {
  testTableauCredentials(serverName: $serverName) {
    key
    success
  }
}

Types used only by testTableauCredentials

TestTableauCredentialsMutation

Object type. Test a tableau account before adding

FieldTypeDescription
keyStringPath to key for adding a connection
successBooleanIndicates whether the operation was completed successfully
validations[ConnectionValidation]List of validations that passed
warnings[ConnectionValidation]List of warnings of failed validations

Related types

ConnectionTestOptions, ConnectionValidation

toggleConnectionEnable (mutation)

toggleConnectionEnable 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.

Enable or Disable a connection. This will also skip/un-skip all related data collector schedules.

Arguments

ArgumentTypeDescription
connectionIdUUID!Connection to perform the action on
enableBoolean!Indicates whether the connection should be enabled (true) or disabled (false)

Returns

ToggleConnectionEnable

Example

mutation ToggleConnectionEnable($connectionId: UUID!, $enable: Boolean!) {
  toggleConnectionEnable(connectionId: $connectionId, enable: $enable) {
    success
  }
}

Types used only by toggleConnectionEnable

ToggleConnectionEnable

Object type. Enable or Disable a connection. This will also skip/un-skip all related data collector schedules.

FieldTypeDescription
successBooleanIndicates whether the connection was enabled or disabled successfully

Related types

UUID

toggleWarehouseTagsCollectionSetting (mutation)

toggleWarehouseTagsCollectionSetting 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 tags collection for a warehouse.

Arguments

ArgumentTypeDescription
isEnabledBoolean!If true, enable tags collection
warehouseUuidUUID!The warehouse's UUID

Returns

ToggleWarehouseTagsCollectionSetting

Example

mutation ToggleWarehouseTagsCollectionSetting($isEnabled: Boolean!, $warehouseUuid: UUID!) {
  toggleWarehouseTagsCollectionSetting(isEnabled: $isEnabled, warehouseUuid: $warehouseUuid) {
    success
  }
}

Types used only by toggleWarehouseTagsCollectionSetting

ToggleWarehouseTagsCollectionSetting

Object type. Enable or disable the tags collection for the warehouse

FieldTypeDescription
successBooleanIndicates whether the operation was completed successfully

Related types

UUID

updateBiConnectionName (mutation)

updateBiConnectionName 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.

Update the name of an existing BI integration.

Arguments

ArgumentTypeDescription
nameString!Provide a friendly name for the BI integration.
resourceIdUUID!Existing BI Container UUID.

Returns

UpdateBiConnectionNameMutation

Example

mutation UpdateBiConnectionName($name: String!, $resourceId: UUID!) {
  updateBiConnectionName(name: $name, resourceId: $resourceId) {
    biContainer {
      id
      createdTime
      updatedTime
      deletedAt
      uuid
      type
      name
      assetCount
    }
  }
}

Types used only by updateBiConnectionName

UpdateBiConnectionNameMutation

Object type. Update the name of an existing BI integration.

FieldTypeDescription
biContainerBiContainer

Related types

BiContainer, UUID

updateCredentials (mutation)

updateCredentials 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.

Update credentials for a connection

Arguments

ArgumentTypeDescription
changesJSONString!JSON Key/values with fields to update
connectionIdUUID!ID for connection to update
ctpConfigJSONStringCTP pipeline config to associate with the connection.
shouldReplaceBooleanSet true to replace all credentials with changes. Otherwise inserts/replaces Default: false.
shouldValidateBooleanSet to true to test changes before saving Default: true.

Returns

UpdateCredentials

Example

mutation UpdateCredentials($changes: JSONString!, $connectionId: UUID!) {
  updateCredentials(changes: $changes, connectionId: $connectionId) {
    success
    updatedAt
  }
}

Types used only by updateCredentials

UpdateCredentials

Object type. Update credentials for a connection

FieldTypeDescription
successBooleanIf the credentials were successfully updated
updatedAtDateTimeThe timestamp when the credentials were last updated

Related types

DateTime, JSONString, UUID

uploadCredentials (mutation)

uploadCredentials 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

ArgumentTypeDescription
fileUpload!

Returns

UploadWarehouseCredentialsMutation

Example

mutation UploadCredentials($file: Upload!) {
  uploadCredentials(file: $file) {
    key
  }
}

Types used only by uploadCredentials

UploadWarehouseCredentialsMutation

Object type.

FieldTypeDescription
keyString

validateConnectionCtpConfig (mutation)

validateConnectionCtpConfig 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

Validate a CTP config for a connection without saving it.

Arguments

ArgumentTypeDescription
configJSONString!CTP pipeline config (steps and mapper) to validate.
connectionTypeString!The connection type to validate the config for.
dcIdUUID!UUID of the data collector to validate against.

Returns

ValidateConnectionCtpConfig

Example

mutation ValidateConnectionCtpConfig($config: JSONString!, $connectionType: String!, $dcId: UUID!) {
  validateConnectionCtpConfig(config: $config, connectionType: $connectionType, dcId: $dcId) {
    valid
    errors
  }
}

Types used only by validateConnectionCtpConfig

ValidateConnectionCtpConfig

Object type. Validate a CTP config without saving it. Returns validation errors from the agent.

FieldTypeDescription
validBoolean!Whether the config is valid.
errors[String!]!Validation errors, if any.

Related types

JSONString, UUID

Source: The GraphQL API reference

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