Connection validation, part 1 of 2 (GraphQL)

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

Queries

generateAwsPolicy (query)

generateAwsPolicy 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

Generate a unified IAM policy for AWS Glue and/or Athena. At least one of glue_params or athena_params must be provided.

Arguments

ArgumentTypeDescription
accountIdString!AWS account ID
regionString!AWS region
glueParamsGluePolicyInputParameters for Glue policy generation
athenaParamsAthenaPolicyInputParameters for Athena policy generation

Returns

PolicyGenerationResponse

Example

query GenerateAwsPolicy($accountId: String!, $region: String!) {
  generateAwsPolicy(accountId: $accountId, region: $region) {
    policy
  }
}

Types used only by generateAwsPolicy

AthenaPolicyInput

Input object type.

FieldTypeDescription
databaseNames[String!]!List of Glue database names or ["*"] for all databases
workgroupNameStringAthena workgroup name (default: primary) Default: "primary".
dataBuckets[String!]List of S3 bucket names for data access
resultBucketStringS3 bucket for Athena query results
resultPathStringPath within result bucket (default: /) Default: "/".
GluePolicyInput

Input object type.

FieldTypeDescription
databaseNames[String!]!List of Glue database names or ["*"] for all databases
dataBuckets[String!]List of S3 bucket names for data access
PolicyGenerationResponse

Object type.

FieldTypeDescription
policyStringGenerated IAM policy in JSON format

getSupportedAwsRegions (query)

getSupportedAwsRegions 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 a list of supported AWS regions with both region codes and names

Returns

AwsRegionsResponse

Example

query GetSupportedAwsRegions {
  getSupportedAwsRegions {
    regions {
      regionCode
      regionName
      regionGeography
    }
  }
}

Types used only by getSupportedAwsRegions

AwsRegion

Object type.

FieldTypeDescription
regionCodeStringAWS region code (e.g., 'us-east-1')
regionNameStringAWS region name (e.g., 'Ohio', 'N. Virginia')
regionGeographyStringGeographic area (e.g., 'United States', 'Europe', 'Asia Pacific')
AwsRegionsResponse

Object type.

FieldTypeDescription
regions[AwsRegion]List of supported AWS regions

getSupportedTableValidations (query)

getSupportedTableValidations 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

ArgumentTypeDescription
connectionIdUUID!UUID of the connection to check for supported table validations.

Returns

SupportedTableValidationsResponse

Example

query GetSupportedTableValidations($connectionId: UUID!) {
  getSupportedTableValidations(connectionId: $connectionId) {
    supportedValidations {
      name
      description
      enabledByDefault
    }
  }
}

Types used only by getSupportedTableValidations

SupportedTableValidationsResponse

Object type.

FieldTypeDescription
supportedValidations[TableValidation]A list of supported asset validations.
TableValidation

Object type.

FieldTypeDescription
nameStringName of the validation.
descriptionStringDescription of the validation.
enabledByDefaultBooleanWhether this validation will run if no validationNames are specified (valid only for asset validations).

Related types

UUID

getSupportedValidationsV2 (query)

getSupportedValidationsV2 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

ArgumentTypeDescription
dcIdUUIDDC UUID. To disambiguate accounts with multiple collectors.
connectionTypeString!The type of connection to query supported validations for.
scopeStringThe scope of validations to return
selfHostedCredentialsTypeStringCustomer-managed credentials provider the connection will use (e.g. 'aws_secrets_manager', 'gcp_secret_manager'). Pass this when the connection uses self-hosted credentials so that validations gated on that fact (e.g. validate_self_hosted_credentials) are included in the response. Omit for connections using Monte Carlo-managed credentials.
includeInternalBooleanWhether to also return internal validations. Internal validations are hidden from connection tests and run only when requested by name. True also returns them; false or null omits them. Default: false.

Returns

SupportedValidationsResponse

Example

query GetSupportedValidationsV2($connectionType: String!) {
  getSupportedValidationsV2(connectionType: $connectionType) {
    supportedValidations {
      name
      description
      isPrerequisite
      periodicValidation
    }
  }
}

Types used only by getSupportedValidationsV2

SupportedValidationsResponse

Object type.

FieldTypeDescription
supportedValidations[Validation]A list of supported validations.
Validation

Object type.

FieldTypeDescription
nameStringName of the validation.
descriptionStringDescription of the validation.
isPrerequisiteBooleanWhether this is an essential prerequisite for other validations to be run. Prerequisite validations should be run serially before non-prerequisite validations are run.
periodicValidationBooleanWhether this validation is executed periodically or not.

Related types

UUID

listDatasets (query)

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

Lists datasets for a given connection

Arguments

ArgumentTypeDescription
connectionIdUUID!A connection ID
projectIdString!The ID of the project whose datasets are being queried
pageSizeIntThe size of the page being requested.
pageTokenStringThe token for the page being requested.

Returns

ListDatasetsResponse

Example

query ListDatasets($connectionId: UUID!, $projectId: String!) {
  listDatasets(connectionId: $connectionId, projectId: $projectId) {
    nextPageToken
  }
}

Types used only by listDatasets

DatasetEntity

Object type.

FieldTypeDescription
datasetIdStringDataset ID
ListDatasetsResponse

Object type.

FieldTypeDescription
datasets[DatasetEntity]List of dataset IDs
nextPageTokenStringPage token for the next page

Related types

UUID

listProjects (query)

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

Lists projects for a given connection

Arguments

ArgumentTypeDescription
connectionIdUUID!A connection ID
pageSizeIntThe size of the page being requested.
pageTokenStringThe token for the page being requested.

Returns

ListProjectsResponse

Example

query ListProjects($connectionId: UUID!) {
  listProjects(connectionId: $connectionId) {
    nextPageToken
  }
}

Types used only by listProjects

ListProjectsResponse

Object type.

FieldTypeDescription
projects[ProjectEntity]List of project IDs
nextPageTokenStringPage token for the next page
ProjectEntity

Object type.

FieldTypeDescription
projectIdStringProject ID
friendlyNameStringFriendly name of the project

Related types

UUID

testAgentReachability (query)

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

Validates that Agent is accessible for the account

Arguments

ArgumentTypeDescription
agentIdUUID!Identifies which agent to run the test against.
validationNameStringName of the validation that should be run.

Returns

TestCredentialsV2Response

Example

query TestAgentReachability($agentId: UUID!) {
  testAgentReachability(agentId: $agentId) {
    success
    validationName
    description
  }
}

Related types

TestCredentialsV2Response, UUID

testDataStoreReachability (query)

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

Validates that Data Store is accessible for the account

Arguments

ArgumentTypeDescription
agentIdUUID!Identifies which storage to run the test against.

Returns

TestCredentialsV2Response

Example

query TestDataStoreReachability($agentId: UUID!) {
  testDataStoreReachability(agentId: $agentId) {
    success
    validationName
    description
  }
}

Related types

TestCredentialsV2Response, UUID

testExistingConnectionV2 (query)

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

Execute a validation test on an integration

Arguments

ArgumentTypeDescription
validationNameString!Name of the validation that should be run.
connectionIdUUID!An existing connection's UUID

Returns

TestCredentialsV2Response

Example

query TestExistingConnectionV2($validationName: String!, $connectionId: UUID!) {
  testExistingConnectionV2(validationName: $validationName, connectionId: $connectionId) {
    success
    validationName
    description
  }
}

Related types

TestCredentialsV2Response, UUID

testStorageAccess (query)

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

Validates storage access for the account

Arguments

ArgumentTypeDescription
dcIdUUIDDC UUID. To disambiguate accounts with multiple collectors.

Returns

TestCredentialsV2Response

Example

query TestStorageAccess {
  testStorageAccess {
    success
    validationName
    description
  }
}

Related types

TestCredentialsV2Response, UUID

validateAirflowAssetAccess (query)

validateAirflowAssetAccess 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

ArgumentTypeDescription
validationNames[String]Names of the Airflow asset validations to run.
dagIdString!The Airflow DAG id
etlContainerUuidUUID!The ETL Container UUID of the Airflow environment

Returns

ValidateDataAssetAccessResponse

Example

query ValidateAirflowAssetAccess($dagId: String!, $etlContainerUuid: UUID!) {
  validateAirflowAssetAccess(dagId: $dagId, etlContainerUuid: $etlContainerUuid) {
    success
  }
}

Related types

UUID, ValidateDataAssetAccessResponse

validateDataAssetAccess (query)

validateDataAssetAccess 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

ArgumentTypeDescription
connectionIdUUID!The connection UUID
validationNames[String]Name of the table validation to run.
mconStringMCON of the table to validate
assetIdStringFull ID of the table to validate in the format: project:dataset.table, ignored if mcon is specified
projectStringProject (or database) containing the asset to validate. Ignored if mcon or asset_id are specified
datasetStringDataset (or schema) containing the asset to validate. Ignored if mcon or asset_id are specified
assetNameStringName of the asset to validate, for example table name. Ignored if mcon or asset_id are specified
assetTypeDataAssetTypeEnumAsset type to validate, it could be table, external, snowflake_stream, etc., ignored if mcon is specified

Returns

ValidateDataAssetAccessResponse

Example

query ValidateDataAssetAccess($connectionId: UUID!) {
  validateDataAssetAccess(connectionId: $connectionId) {
    success
  }
}

Types used only by validateDataAssetAccess

DataAssetTypeEnum

Enum type.

ValueDescription
ASSET_TYPE_TABLE
ASSET_TYPE_VIEW
ASSET_TYPE_EXTERNAL
ASSET_TYPE_WILDCARD_TABLE
ASSET_TYPE_SNOWFLAKE_STREAM

Related types

UUID, ValidateDataAssetAccessResponse

Mutations

testAirflowCredentialsV2 (mutation)

testAirflowCredentialsV2 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 Airflow credentials

Arguments

ArgumentTypeDescription
connectionDetailsAirflowConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestAirflowCredentialsV2

Example

mutation TestAirflowCredentialsV2($connectionDetails: AirflowConnectionDetails!, $validationName: String!) {
  testAirflowCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testAirflowCredentialsV2

AirflowConnectionDetails

Input object type.

FieldTypeDescription
hostNameString!Airflow host name
TestAirflowCredentialsV2

Object type. Test an Airflow connection.

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, TestCredentialsV2Response

testAthenaCredentialsV2 (mutation)

testAthenaCredentialsV2 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

Test AWS Athena credentials V2

Arguments

ArgumentTypeDescription
connectionDetailsAthenaConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestAthenaCredentialsV2

Example

mutation TestAthenaCredentialsV2($connectionDetails: AthenaConnectionDetails!, $validationName: String!) {
  testAthenaCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testAthenaCredentialsV2

AthenaConnectionDetails

Input object type.

FieldTypeDescription
catalogStringAthena data catalog name
assumableRoleString!ARN of AWS IAM role to assume
externalIdStringExternal ID for AWS IAM role assumption
workgroupStringAthena workgroup name
awsRegionStringAWS region
TestAthenaCredentialsV2

Object type. Test an AWS Athena connection.

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, TestCredentialsV2Response

testAzureDataFactoryCredentials (mutation)

testAzureDataFactoryCredentials 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

Test Azure Data Factory credentials

Arguments

ArgumentTypeDescription
connectionDetailsAzureDataFactoryConnectionDetailsConnection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
tempCredentialsKeyStringOptionally provide a credentials key to use instead of a credentials object.
validationNameString!Name of the validation test that should be run.

Returns

TestAzureDataFactoryCredentials

Example

mutation TestAzureDataFactoryCredentials($validationName: String!) {
  testAzureDataFactoryCredentials(validationName: $validationName) {
    key
  }
}

Types used only by testAzureDataFactoryCredentials

AzureDataFactoryConnectionDetails

Input object type.

FieldTypeDescription
tenantIdString!Azure tenant id
clientIdString!Azure client id
clientSecretString!Azure client secret
subscriptionIdString!Azure subscription id
resourceGroupNameString!Azure resource group name
factoryNameString!Azure Data Factory name
TestAzureDataFactoryCredentials

Object type.

FieldTypeDescription
keyStringCredentials key.
validationResultTestCredentialsV2ResponseConnection validation results.

Related types

ConnectionTestOptions, TestCredentialsV2Response

testBqCredentialsV2 (mutation)

testBqCredentialsV2 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 BigQuery credentials

Arguments

ArgumentTypeDescription
connectionDetailsBqConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestBqCredentialsV2

Example

mutation TestBqCredentialsV2($connectionDetails: BqConnectionDetails!, $validationName: String!) {
  testBqCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testBqCredentialsV2

BqConnectionDetails

Input object type.

FieldTypeDescription
serviceJsonStringService account key file as a base64 string
TestBqCredentialsV2

Object type. Test a BigQuery connection.

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, TestCredentialsV2Response

testDatabricksMetastoreSqlWarehouseCredentialsV2 (mutation)

testDatabricksMetastoreSqlWarehouseCredentialsV2 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 Metastore Sql Warehouse credentials

Arguments

ArgumentTypeDescription
connectionDetailsDatabricksSqlWarehouseInput!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestDatabricksMetastoreSqlWarehouseCredentialsV2

Example

mutation TestDatabricksMetastoreSqlWarehouseCredentialsV2($connectionDetails: DatabricksSqlWarehouseInput!, $validationName: String!) {
  testDatabricksMetastoreSqlWarehouseCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testDatabricksMetastoreSqlWarehouseCredentialsV2

TestDatabricksMetastoreSqlWarehouseCredentialsV2

Object type. Test a Databricks Metastore SQL Warehouse connection.

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, DatabricksSqlWarehouseInput, TestCredentialsV2Response

testDatabricksSqlWarehouseCredentialsV2 (mutation)

testDatabricksSqlWarehouseCredentialsV2 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
connectionDetailsDatabricksSqlWarehouseInput!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestDatabricksSqlWarehouseCredentialsV2

Example

mutation TestDatabricksSqlWarehouseCredentialsV2($connectionDetails: DatabricksSqlWarehouseInput!, $validationName: String!) {
  testDatabricksSqlWarehouseCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testDatabricksSqlWarehouseCredentialsV2

TestDatabricksSqlWarehouseCredentialsV2

Object type. Test a Databricks SQL Warehouse connection.

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, DatabricksSqlWarehouseInput, TestCredentialsV2Response

testDbtCloudCredentialsV2 (mutation)

testDbtCloudCredentialsV2 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

Test dbt Cloud credentials

Arguments

ArgumentTypeDescription
connectionDetailsDbtCloudConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestDbtCloudCredentialsV2

Example

mutation TestDbtCloudCredentialsV2($connectionDetails: DbtCloudConnectionDetails!, $validationName: String!) {
  testDbtCloudCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testDbtCloudCredentialsV2

DbtCloudConnectionDetails

Input object type.

FieldTypeDescription
dbtCloudApiTokenString!dbt Cloud API token
dbtCloudAccountIdString!dbt Cloud account ID
dbtCloudBaseUrlStringdbt Cloud base URL
dbtCloudWebhookHmacSecretStringdbt Cloud webhook HMAC secret
dbtCloudWebhookIdStringdbt Cloud webhook ID
TestDbtCloudCredentialsV2

Object type. Test a dbt Cloud connection.

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, TestCredentialsV2Response

testGcpDataformCredentials (mutation)

testGcpDataformCredentials 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

Test GCP Dataform credentials

Arguments

ArgumentTypeDescription
connectionDetailsGcpDataformConnectionDetailsGCP Dataform service account credentials.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
tempCredentialsKeyStringOptionally provide a credentials key returned by a prior save_credentials call to re-validate without resubmitting credentials.
validationNameString!Name of the validation test that should be run. One of validate_connection (prerequisite), validate_list_etl_assets, or the framework-wide save_credentials to persist a successful trial.

Returns

TestGcpDataformCredentials

Example

mutation TestGcpDataformCredentials($validationName: String!) {
  testGcpDataformCredentials(validationName: $validationName) {
    key
  }
}

Types used only by testGcpDataformCredentials

GcpDataformConnectionDetails

Input object type.

FieldTypeDescription
projectIdString!GCP project ID containing Dataform repositories.
locations[String!]!GCP regions to scan for Dataform repositories (e.g. ["us-central1"]).
serviceAccountInfoJSONString!GCP service account JSON key with Dataform API access. Stored encrypted.
TestGcpDataformCredentials

Object type.

FieldTypeDescription
keyStringCredentials key.
validationResultTestCredentialsV2ResponseConnection validation results.

Related types

ConnectionTestOptions, JSONString, TestCredentialsV2Response

testGlueCredentialsV2 (mutation)

testGlueCredentialsV2 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

Test AWS Glue credentials V2

Arguments

ArgumentTypeDescription
connectionDetailsGlueConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestGlueCredentialsV2

Example

mutation TestGlueCredentialsV2($connectionDetails: GlueConnectionDetails!, $validationName: String!) {
  testGlueCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testGlueCredentialsV2

GlueConnectionDetails

Input object type.

FieldTypeDescription
assumableRoleStringARN of AWS IAM role to assume
externalIdStringExternal ID for AWS IAM role assumption
awsRegionStringAWS region
sslOptionsSslOptionsOptional SSL options
TestGlueCredentialsV2

Object type. Test an AWS Glue connection.

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, SslOptions, TestCredentialsV2Response

testInformaticaCredentials (mutation)

testInformaticaCredentials 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: General availability

Test Informatica credentials

Arguments

ArgumentTypeDescription
connectionDetailsInformaticaConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestInformaticaCredentials

Example

mutation TestInformaticaCredentials($connectionDetails: InformaticaConnectionDetails!, $validationName: String!) {
  testInformaticaCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testInformaticaCredentials

InformaticaConnectionDetails

Input object type.

FieldTypeDescription
baseUrlString!Base URL used for API authentication
usernameString!Username
passwordString!Password
TestInformaticaCredentials

Object type.

FieldTypeDescription
keyStringCredentials key.
validationResultTestCredentialsV2ResponseConnection validation results.

Related types

ConnectionTestOptions, TestCredentialsV2Response

testInformaticaV2Credentials (mutation)

testInformaticaV2Credentials 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

Test Informatica v2 credentials

Arguments

ArgumentTypeDescription
connectionDetailsInformaticaV2ConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestInformaticaV2Credentials

Example

mutation TestInformaticaV2Credentials($connectionDetails: InformaticaV2ConnectionDetails!, $validationName: String!) {
  testInformaticaV2Credentials(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testInformaticaV2Credentials

InformaticaV2ConnectionDetails

Input object type.

FieldTypeDescription
authModeInformaticaV2AuthModeEnum!Authentication mode. oauth uses an OAuth grant against the customer's IDP and exchanges the JWT at Informatica's /loginOAuth endpoint (requires SAML federation on the org). password does a direct V2 or V3 login at Informatica with username/password.
oauthOAuthConfigurationOAuth grant configuration. Required when auth_mode is oauth. Same shape used for Snowflake OAuth credentials.
orgIdStringInformatica organization ID. Required when auth_mode is oauth (the loginOAuth endpoint requires it alongside the JWT).
usernameStringInformatica username. Required when auth_mode is password.
passwordStringInformatica password. Required when auth_mode is password.
baseUrlStringInformatica login base URL. Defaults to https://dm-us.informaticacloud.com when omitted; customers in non-US POD locations should override.
TestInformaticaV2Credentials

Object type.

FieldTypeDescription
keyStringCredentials key.
validationResultTestCredentialsV2ResponseConnection validation results.

Related types

ConnectionTestOptions, InformaticaV2AuthModeEnum, OAuthConfiguration, TestCredentialsV2Response

testLookerCredentialsV2 (mutation)

testLookerCredentialsV2 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 Looker API credentials

Arguments

ArgumentTypeDescription
connectionDetailsLookerConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestLookerCredentialsV2

Example

mutation TestLookerCredentialsV2($connectionDetails: LookerConnectionDetails!, $validationName: String!) {
  testLookerCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testLookerCredentialsV2

LookerConnectionDetails

Input object type.

FieldTypeDescription
baseUrlStringHost url
clientIdStringLooker client id
clientSecretStringLooker client secret
verifySslBooleanVerify SSL (uncheck for self-signed certs)
TestLookerCredentialsV2

Object type. Test a Looker API connection

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, TestCredentialsV2Response

testLookerGitAuthCredentialsV2 (mutation)

testLookerGitAuthCredentialsV2 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

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

Arguments

ArgumentTypeDescription
connectionDetailsLookerGitAuthConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestLookerGitAuthCredentialsV2

Example

mutation TestLookerGitAuthCredentialsV2($connectionDetails: LookerGitAuthConnectionDetails!, $validationName: String!) {
  testLookerGitAuthCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testLookerGitAuthCredentialsV2

LookerGitAuthConnectionDetails

Input object type.

FieldTypeDescription
repoUrlStringFor HTTPS the repository URL as https://server/project.gitFor SSH the repository URL as ssh://[user@]server/project.gitor the shorter form [user@]server:project.git
usernameStringThe git username
tokenStringThe access token for git HTTPS integrations
sshKeyStringSSH key, base64-encoded
sslOptionsSslOptionsOptional SSL options for HTTPS git clones against self-managed Git providers. Only ca_data (inline PEM CA bundle) and skip_cert_verification are honored by the git subprocess; other fields are ignored. No-op for SSH integrations.
TestLookerGitAuthCredentialsV2

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

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, SslOptions, TestCredentialsV2Response

testLookerGitCloneCredentialsV2 (mutation)

testLookerGitCloneCredentialsV2 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 HTTPS protocol

Arguments

ArgumentTypeDescription
connectionDetailsLookerGitCloneConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestLookerGitCloneCredentialsV2

Example

mutation TestLookerGitCloneCredentialsV2($connectionDetails: LookerGitCloneConnectionDetails!, $validationName: String!) {
  testLookerGitCloneCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testLookerGitCloneCredentialsV2

LookerGitCloneConnectionDetails

Input object type.

FieldTypeDescription
repoUrlStringRepository URL as https://server/project.git
usernameStringThe git username
tokenStringThe access token for git HTTPS integrations
sslOptionsSslOptionsOptional SSL options for HTTPS git clones against self-managed Git providers. Only ca_data (inline PEM CA bundle) and skip_cert_verification are honored by the git subprocess; other fields are ignored. No-op for SSH integrations.
TestLookerGitCloneCredentialsV2

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

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, SslOptions, TestCredentialsV2Response

testMulesoftCredentials (mutation)

testMulesoftCredentials 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

Test MuleSoft credentials

Arguments

ArgumentTypeDescription
connectionDetailsMulesoftConnectionDetailsMuleSoft Connected App credentials + region.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
tempCredentialsKeyStringOptionally provide a credentials key returned by a prior save_credentials call to re-validate without resubmitting credentials.
validationNameString!Name of the validation test that should be run. One of validate_mulesoft_api_access (prerequisite), validate_mulesoft_exchange_access, validate_mulesoft_deployment_listing, or the framework-wide save_credentials to persist a successful trial.

Returns

TestMulesoftCredentials

Example

mutation TestMulesoftCredentials($validationName: String!) {
  testMulesoftCredentials(validationName: $validationName) {
    key
  }
}

Types used only by testMulesoftCredentials

MulesoftConnectionDetails

Input object type.

FieldTypeDescription
clientIdString!Anypoint Connected App client_id (the customer creates the Connected App in Anypoint with the View Environment, Read Deployments, and Exchange Viewer scopes).
clientSecretString!Anypoint Connected App client_secret. Stored encrypted; never surfaced back in GraphQL responses.
regionMulesoftRegionEnumAnypoint regional instance. Drives which auth URL and API base URL the data-collector + agent route through (US: anypoint.mulesoft.com, EU: eu1.anypoint.mulesoft.com, Gov: gov.anypoint.mulesoft.com). Defaults to US when omitted (anypoint.mulesoft.com is the primary Anypoint instance; EU and Gov are special-case deployments).
orgIdStringAnypoint organization or business-group ID to collect from. Set this when your Mule applications are deployed in an Anypoint business group: Anypoint resolves a Connected App's identity to the root organization regardless of where the app was created, so business-group deployments are only visible when named explicitly. Find the ID in Anypoint under Access Management → Business Groups (it is also in that page's URL). When omitted, the organization that owns the Connected App is collected.
MulesoftRegionEnum

Enum type. Anypoint Platform regional instance — drives the auth + API base URLs.

ValueDescription
US
EU
GOV
TestMulesoftCredentials

Object type.

FieldTypeDescription
keyStringCredentials key.
validationResultTestCredentialsV2ResponseConnection validation results.

Related types

ConnectionTestOptions, TestCredentialsV2Response

testPineconeCredentials (mutation)

testPineconeCredentials 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 Pinecone credentials

Arguments

ArgumentTypeDescription
connectionDetailsPineconeConnectionDetails!Connection parameters for Pinecone.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestPineconeCredentials

Example

mutation TestPineconeCredentials($connectionDetails: PineconeConnectionDetails!, $validationName: String!) {
  testPineconeCredentials(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testPineconeCredentials

PineconeConnectionDetails

Input object type.

FieldTypeDescription
environmentString!Identifier of Pinecone environment (e.g. us-east-1-aws).
projectIdString!Identifier of Pinecone project.
apiKeyString!API key for Pinecone project.
TestPineconeCredentials

Object type. Test a Pinecone connection.

FieldTypeDescription
keyStringCredentials key.
validationResultTestCredentialsV2ResponseConnection validation results.

Related types

ConnectionTestOptions, TestCredentialsV2Response

testPowerBiCredentialsV2 (mutation)

testPowerBiCredentialsV2 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
connectionDetailsPowerBIConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestPowerBICredentialsV2

Example

mutation TestPowerBiCredentialsV2($connectionDetails: PowerBIConnectionDetails!, $validationName: String!) {
  testPowerBiCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testPowerBiCredentialsV2

PowerBIAuthModeEnumV2

Enum type.

ValueDescription
SERVICE_PRINCIPAL
PRIMARY_USER
PowerBIConnectionDetails

Input object type.

FieldTypeDescription
tenantIdString!Azure Power BI tenant uuid
authModePowerBIAuthModeEnumV2!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.
usernameStringUsername when auth as a primary user. Required if auth_mode is primary_user.
passwordStringPassword when auth as a primary user. Required if auth_mode is primary_user.
TestPowerBICredentialsV2

Object type. Test a PowerBI connection.

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, TestCredentialsV2Response

testRedshiftCredentialsV2 (mutation)

testRedshiftCredentialsV2 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 Redshift credentials

Arguments

ArgumentTypeDescription
connectionDetailsRedshiftConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestRedshiftCredentialsV2

Example

mutation TestRedshiftCredentialsV2($connectionDetails: RedshiftConnectionDetails!, $validationName: String!) {
  testRedshiftCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testRedshiftCredentialsV2

RedshiftConnectionDetails

Input object type.

FieldTypeDescription
dbNameStringName of database to add connection for
hostStringHostname of the warehouse
portIntHTTP Port to use
userStringUser with access to the database
passwordStringUser's password
sslOptionsSslOptionsOptional SSL options.
TestRedshiftCredentialsV2

Object type. Test a Redshift connection.

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, SslOptions, TestCredentialsV2Response

testSelfHostedCredentialsV2 (mutation)

testSelfHostedCredentialsV2 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

Test self-hosted credentials V2

Arguments

ArgumentTypeDescription
connectionDetailsSelfHostedCredentialsConnectionDetails!Connection parameters.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestSelfHostedCredentialsV2

Example

mutation TestSelfHostedCredentialsV2($connectionDetails: SelfHostedCredentialsConnectionDetails!, $validationName: String!) {
  testSelfHostedCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testSelfHostedCredentialsV2

TestSelfHostedCredentialsV2

Object type. Test self-hosted credentials for a new connection of the specified type.

FieldTypeDescription
keyStringPath to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, SelfHostedCredentialsConnectionDetails, TestCredentialsV2Response

testSnowflakeCredentialsV2 (mutation)

testSnowflakeCredentialsV2 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 Snowflake credentials

Arguments

ArgumentTypeDescription
connectionDetailsSnowflakeConnectionDetails!Connection parameters.
connectionIdUUIDIf updating an existing connection, the ID of the connection to test.
connectionOptionsConnectionTestOptionsCommon options for integration tests.
validationNameString!Name of the validation test that should be run.

Returns

TestSnowflakeCredentialsV2

Example

mutation TestSnowflakeCredentialsV2($connectionDetails: SnowflakeConnectionDetails!, $validationName: String!) {
  testSnowflakeCredentialsV2(connectionDetails: $connectionDetails, validationName: $validationName) {
    key
  }
}

Types used only by testSnowflakeCredentialsV2

TestSnowflakeCredentialsV2

Object type. Test a Snowflake connection.

FieldTypeDescription
keyStringPath to key for adding a connection.This key is only generated when calling the SAVE_CREDENTIALS validation.
validationResultTestCredentialsV2ResponseResult of the validation.

Related types

ConnectionTestOptions, SnowflakeConnectionDetails, TestCredentialsV2Response, UUID

Source: The GraphQL API reference

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