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
| Argument | Type | Description |
|---|---|---|
integrationId | UUID! | UUID of the integration to update. |
integrationType | String! | Integration type for direct routing. |
name | String! | 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
setIntegrationNameIntegrationUpdateResult
IntegrationUpdateResultObject type.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | |
type | String! | |
name | String! |
SetIntegrationName
SetIntegrationNameObject type. Set friendly name for an integration.
| Field | Type | Description |
|---|---|---|
integration | IntegrationUpdateResult! | Integration where name was set. |
Related types
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
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | 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
setPowerBiEtlObjectTypesSetPowerBiEtlObjectTypes
SetPowerBiEtlObjectTypesObject 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.
| Field | Type | Description |
|---|---|---|
objectTypes | [PowerBiEtlObjectType!]! | Object types the connection now collects. |
Related types
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
| Argument | Type | Description |
|---|---|---|
dwId | UUID! | UUID of the warehouse to update. |
name | String! | 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
setWarehouseNameSetWarehouseName
SetWarehouseNameObject type. Set friendly name for a warehouse.
| Field | Type | Description |
|---|---|---|
warehouse | Warehouse | Warehouse where name was set. |
Related types
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
| Argument | Type | Description |
|---|---|---|
connectionConfig | DatabricksSqlWarehouseConnectionInput | Connection config for new Databricks SQL warehouse connection |
connectionId | UUID | A Databricks connection UUID |
Returns
StartDatabricksWarehouse
Example
mutation StartDatabricksWarehouse {
startDatabricksWarehouse {
success
}
}Types used only by startDatabricksWarehouse
startDatabricksWarehouseStartDatabricksWarehouse
StartDatabricksWarehouseObject type. Start Databricks Warehouse.
| Field | Type | Description |
|---|---|---|
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
assumableRole | String | Assumable role ARN to use for accessing AWS resources |
awsRegion | String | Athena cluster region |
catalog | String | Glue data catalog |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
externalId | String | An external id, per assumable role conditions |
workgroup | String | Workbook 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
testAthenaCredentialsTestAthenaCredentials
TestAthenaCredentialsObject type. Test an Athena connection
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
connectionOptions | ConnectionTestOptions | Common options for integration tests |
serviceJson | String | Service account key file as a base64 string |
Returns
TestBqCredentials
Example
mutation TestBqCredentials {
testBqCredentials {
key
success
}
}Types used only by testBqCredentials
testBqCredentialsTestBqCredentials
TestBqCredentialsObject type. Test a BQ connection
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
connectionOptions | ConnectionTestOptions | Common options for integration tests |
connectionType | String | The type of connection to add Default: "bigquery". |
key | String! | Temp key from testing connections |
projectId | String | BQ 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
testCredentialsTestCredentialsMutation
TestCredentialsMutationObject type. Test credentials where the temp key already exists (e.g. BQ)
| Field | Type | Description |
|---|---|---|
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
assumableRole | String | AWS role that can be assumed by the DC |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
connectionType | String | Type of connection (e.g. snowflake, redshift) |
dbName | String | Name of database to add connection for |
dbType | String | Type of database to add connection for |
externalId | String | An external id, per assumable role conditions |
host | String | Hostname of the warehouse |
password | String | User's password |
port | Int | HTTP Port to use |
sslOptions | SslInputOptions | Specify any SSL options (e.g. certs) |
user | String | User with access to the database |
Returns
TestDatabaseCredentials
Example
mutation TestDatabaseCredentials {
testDatabaseCredentials {
key
success
}
}Types used only by testDatabaseCredentials
testDatabaseCredentialsTestDatabaseCredentials
TestDatabaseCredentialsObject type. Test a generic warehouse or database connection
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
connectionOptions | ConnectionTestOptions | Common options for integration tests |
databricksConfig | DatabricksSqlWarehouseInput! | Configuration for the Databricks sql warehouse. |
Returns
TestDatabricksSqlWarehouseCredentials
Example
mutation TestDatabricksSqlWarehouseCredentials($databricksConfig: DatabricksSqlWarehouseInput!) {
testDatabricksSqlWarehouseCredentials(databricksConfig: $databricksConfig) {
key
success
}
}Types used only by testDatabricksSqlWarehouseCredentials
testDatabricksSqlWarehouseCredentialsTestDatabricksSqlWarehouseCredentials
TestDatabricksSqlWarehouseCredentialsObject type. Test the connection to a Databricks sql warehouse.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. |
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
connectionOptions | ConnectionTestOptions | Common options for integration tests |
connectionType | String | dbt Cloud connection type Default: "dbt-cloud-webhook". |
dbtCloudAccountId | String | dbt Cloud account ID |
dbtCloudApiToken | String | dbt Cloud API token |
dbtCloudBaseUrl | String | dbt Cloud base URL |
dbtCloudWebhookHmacSecret | String | Provide the hmac_secret of a dbt outbound webhook to setup a webhook-based dbt integration |
dbtCloudWebhookId | String | Provide 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
testDbtCloudCredentialsTestDbtCloudCredentials
TestDbtCloudCredentialsObject type. Test a dbt Cloud connection
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates whether the operation was completed successfully |
Related types
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
| Argument | Type | Description |
|---|---|---|
connectionOptions | ConnectionTestOptions | Common options for integration tests |
fivetranApiKey | String! | Fivetran API Key |
fivetranApiPassword | String! | Fivetran API Password |
fivetranBaseUrl | String | Fivetran base URL |
Returns
TestFivetranCredentials
Example
mutation TestFivetranCredentials($fivetranApiKey: String!, $fivetranApiPassword: String!) {
testFivetranCredentials(fivetranApiKey: $fivetranApiKey, fivetranApiPassword: $fivetranApiPassword) {
key
success
}
}Types used only by testFivetranCredentials
testFivetranCredentialsTestFivetranCredentials
TestFivetranCredentialsObject type. Test a Fivetran connection
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates whether the operation was completed successfully |
Related types
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
| Argument | Type | Description |
|---|---|---|
assumableRole | String | Assumable role ARN to use for accessing AWS resources |
awsRegion | String | Glue region |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
externalId | String | An external id, per assumable role conditions |
sslOptions | SslInputOptions | Specify any SSL options (e.g. certs) |
Returns
TestGlueCredentials
Example
mutation TestGlueCredentials {
testGlueCredentials {
key
success
}
}Types used only by testGlueCredentials
testGlueCredentialsTestGlueCredentials
TestGlueCredentialsObject type. Test a Glue connection
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
authMode | String | Authentication mode to hive. If not set "SASL" is used. |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
database | String | Name of database |
host | String | Hostname |
port | Int | Port |
username | String | Username with access to hive |
Returns
TestHiveCredentials
Example
mutation TestHiveCredentials {
testHiveCredentials {
key
success
}
}Types used only by testHiveCredentials
testHiveCredentialsTestHiveCredentials
TestHiveCredentialsObject type. Test a hive sql based connection
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates whether the operation was completed successfully |
Related types
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
| Argument | Type | Description |
|---|---|---|
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
repoUrl | String | Repository 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 |
sshKey | String | SSH key, base64-encoded |
sslOptions | SslInputOptions | Optional 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. |
token | String | The access token for git HTTPS integrations |
username | String | The git username for BitBucket integrations |
Returns
TestLookerGitCloneCredentials
Example
mutation TestLookerGitCloneCredentials {
testLookerGitCloneCredentials {
key
success
}
}Types used only by testLookerGitCloneCredentials
testLookerGitCloneCredentialsTestLookerGitCloneCredentials
TestLookerGitCloneCredentialsObject type. Test the connection to a Git repository using the SSH or HTTPS protocol
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
connectionOptions | ConnectionTestOptions | Common options for integration tests |
installationId | Int | ID response from Github |
Returns
TestLookerGitCredentials
Example
mutation TestLookerGitCredentials {
testLookerGitCredentials {
key
success
}
}Types used only by testLookerGitCredentials
testLookerGitCredentialsTestLookerGitCredentials
TestLookerGitCredentialsObject type. Deprecated. Do not use.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates whether the operation was completed successfully |
Related types
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
| Argument | Type | Description |
|---|---|---|
authMode | PowerBIAuthModeEnum! | Authentication mode. We support two values here [service_principal, primary_user] |
clientId | String! | App Client uuid |
clientSecret | String | Secret key for the client ID. Required if auth_mode is service_principal. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
password | String | Password when auth as a primary user. Required if auth_mode is primary_user. |
tenantId | String! | Azure power bi tenant uuid |
username | String | Username 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
testPowerBiCredentialsPowerBIAuthModeEnum
PowerBIAuthModeEnumEnum type.
| Value | Description |
|---|---|
SERVICE_PRINCIPAL | |
PRIMARY_USER |
TestPowerBICredentials
TestPowerBICredentialsObject type. Test the Power BI connection
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates whether the operation was completed successfully |
Related types
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
| Argument | Type | Description |
|---|---|---|
catalog | String | Mount point to access data source. Only lowercase letters, digits, underscores and dashes are allowed when metadataCatalogId is set. |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
host | String | Hostname |
httpScheme | String | Scheme for authentication |
metadataCatalogId | String | Name 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. |
password | String | User's password |
port | Int | HTTP port |
schema | String | Schema to access |
sslOptions | SslInputOptions | Specify any ssl options |
user | String | Username with access to catalog/schema |
Returns
TestPrestoCredentials
Example
mutation TestPrestoCredentials {
testPrestoCredentials {
key
success
}
}Types used only by testPrestoCredentials
testPrestoCredentialsTestPrestoCredentials
TestPrestoCredentialsObject type. Test connection to Presto
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
assumableRole | String | AWS role that can be assumed by the DC |
bucket | String | S3 Bucket where relevant objects are contained |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
connectionType | String | Type of connection Default: "s3". |
externalId | String | An external id, per assumable role conditions |
prefix | String | Path to objects |
Returns
TestS3Credentials
Example
mutation TestS3Credentials {
testS3Credentials {
key
success
}
}Types used only by testS3Credentials
testS3CredentialsTestS3Credentials
TestS3CredentialsObject type. Test a s3 based connection (e.g. presto query logs on s3)
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates whether the operation was completed successfully |
Related types
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
| Argument | Type | Description |
|---|---|---|
assumableRole | String | Role that can be assumed by the DC to access the self-hosting mechanism |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
connectionType | String | Type of connection |
externalId | String | An external id, per assumable role conditions |
region | String | Region where the credentials are hosted |
selfHostingKey | String | Identifier for the credentials within the self-hosting mechanism (e.g. SecretManager secret ARN) |
selfHostingMechanism | String | Type of credential self-hosting mechanism |
Returns
TestSelfHostedCredentials
Example
mutation TestSelfHostedCredentials {
testSelfHostedCredentials {
key
success
}
}Types used only by testSelfHostedCredentials
testSelfHostedCredentialsTestSelfHostedCredentials
TestSelfHostedCredentialsObject type. Test a connection of any type with self-hosted credentials.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
account | String | Snowflake account name |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
oauth | OAuthConfiguration | Configuration for OAuth for Snowflake. |
password | String | User's password if using user/password basic auth |
privateKey | String | User's private key (base64 encoded) if using key pair auth. |
privateKeyPassphrase | String | User's private key passphrase if using key pair auth. This argument is only needed when the private key is encrypted. |
user | String | User with access to snowflake. |
warehouse | String | Name of the warehouse for the user |
Returns
TestSnowflakeCredentials
Example
mutation TestSnowflakeCredentials {
testSnowflakeCredentials {
key
success
}
}Types used only by testSnowflakeCredentials
testSnowflakeCredentialsTestSnowflakeCredentials
TestSnowflakeCredentialsObject type. Test a Snowflake connection
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
binaryMode | SparkBinaryInput | Configuration for Thrift in binary mode |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
httpMode | SparkHttpInput | Configuration for Thrift in HTTP mode |
Returns
TestSparkCredentials
Example
mutation TestSparkCredentials {
testSparkCredentials {
key
success
}
}Types used only by testSparkCredentials
testSparkCredentialsSparkBinaryInput
SparkBinaryInputInput object type. Credentials to the Spark Thrift server in binary mode
| Field | Type | Description |
|---|---|---|
database | String! | Database name |
host | String! | Host name |
port | Int! | Port |
username | String! | User name |
password | String! | Password |
SparkHttpInput
SparkHttpInputInput object type. Credentials to the Spark Thrift server in HTTP mode
| Field | Type | Description |
|---|---|---|
url | String! | Connection URL to the Thrift server |
username | String! | User name |
password | String! | Password |
TestSparkCredentials
TestSparkCredentialsObject type. Test the connection to a Spark Thrift server.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates whether the operation was completed successfully |
Related types
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
| Argument | Type | Description |
|---|---|---|
clientId | String | The Tableau Connected Apps Client ID |
connectionOptions | ConnectionTestOptions | Common options for integration tests |
password | String | Password for the Tableau user if using username/password |
secretId | String | The Tableau Connected Apps Secret ID |
secretValue | String | The Tableau Connected Apps Secret value |
serverName | String! | The Tableau server name |
siteName | String | The Tableau site name |
tokenName | String | The personal access token name for PAT authentication |
tokenValue | String | The personal access token value for PAT authentication |
username | String | Username for the Tableau user if using username/password or Connected Apps |
verifySsl | Boolean | Whether 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
testTableauCredentialsTestTableauCredentialsMutation
TestTableauCredentialsMutationObject type. Test a tableau account before adding
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection |
success | Boolean | Indicates 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
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | Connection to perform the action on |
enable | Boolean! | 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
toggleConnectionEnableToggleConnectionEnable
ToggleConnectionEnableObject type. Enable or Disable a connection. This will also skip/un-skip all related data collector schedules.
| Field | Type | Description |
|---|---|---|
success | Boolean | Indicates whether the connection was enabled or disabled successfully |
Related types
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
| Argument | Type | Description |
|---|---|---|
isEnabled | Boolean! | If true, enable tags collection |
warehouseUuid | UUID! | The warehouse's UUID |
Returns
ToggleWarehouseTagsCollectionSetting
Example
mutation ToggleWarehouseTagsCollectionSetting($isEnabled: Boolean!, $warehouseUuid: UUID!) {
toggleWarehouseTagsCollectionSetting(isEnabled: $isEnabled, warehouseUuid: $warehouseUuid) {
success
}
}Types used only by toggleWarehouseTagsCollectionSetting
toggleWarehouseTagsCollectionSettingToggleWarehouseTagsCollectionSetting
ToggleWarehouseTagsCollectionSettingObject type. Enable or disable the tags collection for the warehouse
| Field | Type | Description |
|---|---|---|
success | Boolean | Indicates whether the operation was completed successfully |
Related types
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
| Argument | Type | Description |
|---|---|---|
name | String! | Provide a friendly name for the BI integration. |
resourceId | UUID! | 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
updateBiConnectionNameUpdateBiConnectionNameMutation
UpdateBiConnectionNameMutationObject type. Update the name of an existing BI integration.
| Field | Type | Description |
|---|---|---|
biContainer | BiContainer |
Related types
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
| Argument | Type | Description |
|---|---|---|
changes | JSONString! | JSON Key/values with fields to update |
connectionId | UUID! | ID for connection to update |
ctpConfig | JSONString | CTP pipeline config to associate with the connection. |
shouldReplace | Boolean | Set true to replace all credentials with changes. Otherwise inserts/replaces Default: false. |
shouldValidate | Boolean | Set 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
updateCredentialsUpdateCredentials
UpdateCredentialsObject type. Update credentials for a connection
| Field | Type | Description |
|---|---|---|
success | Boolean | If the credentials were successfully updated |
updatedAt | DateTime | The timestamp when the credentials were last updated |
Related types
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
| Argument | Type | Description |
|---|---|---|
file | Upload! |
Returns
UploadWarehouseCredentialsMutation
Example
mutation UploadCredentials($file: Upload!) {
uploadCredentials(file: $file) {
key
}
}Types used only by uploadCredentials
uploadCredentialsUploadWarehouseCredentialsMutation
UploadWarehouseCredentialsMutationObject type.
| Field | Type | Description |
|---|---|---|
key | String |
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
| Argument | Type | Description |
|---|---|---|
config | JSONString! | CTP pipeline config (steps and mapper) to validate. |
connectionType | String! | The connection type to validate the config for. |
dcId | UUID! | 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
validateConnectionCtpConfigValidateConnectionCtpConfig
ValidateConnectionCtpConfigObject type. Validate a CTP config without saving it. Returns validation errors from the agent.
| Field | Type | Description |
|---|---|---|
valid | Boolean! | Whether the config is valid. |
errors | [String!]! | Validation errors, if any. |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
