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
| Argument | Type | Description |
|---|---|---|
accountId | String! | AWS account ID |
region | String! | AWS region |
glueParams | GluePolicyInput | Parameters for Glue policy generation |
athenaParams | AthenaPolicyInput | Parameters for Athena policy generation |
Returns
PolicyGenerationResponse
Example
query GenerateAwsPolicy($accountId: String!, $region: String!) {
generateAwsPolicy(accountId: $accountId, region: $region) {
policy
}
}Types used only by generateAwsPolicy
generateAwsPolicyAthenaPolicyInput
AthenaPolicyInputInput object type.
| Field | Type | Description |
|---|---|---|
databaseNames | [String!]! | List of Glue database names or ["*"] for all databases |
workgroupName | String | Athena workgroup name (default: primary) Default: "primary". |
dataBuckets | [String!] | List of S3 bucket names for data access |
resultBucket | String | S3 bucket for Athena query results |
resultPath | String | Path within result bucket (default: /) Default: "/". |
GluePolicyInput
GluePolicyInputInput object type.
| Field | Type | Description |
|---|---|---|
databaseNames | [String!]! | List of Glue database names or ["*"] for all databases |
dataBuckets | [String!] | List of S3 bucket names for data access |
PolicyGenerationResponse
PolicyGenerationResponseObject type.
| Field | Type | Description |
|---|---|---|
policy | String | Generated 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
getSupportedAwsRegionsAwsRegion
AwsRegionObject type.
| Field | Type | Description |
|---|---|---|
regionCode | String | AWS region code (e.g., 'us-east-1') |
regionName | String | AWS region name (e.g., 'Ohio', 'N. Virginia') |
regionGeography | String | Geographic area (e.g., 'United States', 'Europe', 'Asia Pacific') |
AwsRegionsResponse
AwsRegionsResponseObject type.
| Field | Type | Description |
|---|---|---|
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
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | 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
getSupportedTableValidationsSupportedTableValidationsResponse
SupportedTableValidationsResponseObject type.
| Field | Type | Description |
|---|---|---|
supportedValidations | [TableValidation] | A list of supported asset validations. |
TableValidation
TableValidationObject type.
| Field | Type | Description |
|---|---|---|
name | String | Name of the validation. |
description | String | Description of the validation. |
enabledByDefault | Boolean | Whether this validation will run if no validationNames are specified (valid only for asset validations). |
Related types
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
| Argument | Type | Description |
|---|---|---|
dcId | UUID | DC UUID. To disambiguate accounts with multiple collectors. |
connectionType | String! | The type of connection to query supported validations for. |
scope | String | The scope of validations to return |
selfHostedCredentialsType | String | Customer-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. |
includeInternal | Boolean | Whether 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
getSupportedValidationsV2SupportedValidationsResponse
SupportedValidationsResponseObject type.
| Field | Type | Description |
|---|---|---|
supportedValidations | [Validation] | A list of supported validations. |
Validation
ValidationObject type.
| Field | Type | Description |
|---|---|---|
name | String | Name of the validation. |
description | String | Description of the validation. |
isPrerequisite | Boolean | Whether this is an essential prerequisite for other validations to be run. Prerequisite validations should be run serially before non-prerequisite validations are run. |
periodicValidation | Boolean | Whether this validation is executed periodically or not. |
Related types
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
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | A connection ID |
projectId | String! | The ID of the project whose datasets are being queried |
pageSize | Int | The size of the page being requested. |
pageToken | String | The 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
listDatasetsDatasetEntity
DatasetEntityObject type.
| Field | Type | Description |
|---|---|---|
datasetId | String | Dataset ID |
ListDatasetsResponse
ListDatasetsResponseObject type.
| Field | Type | Description |
|---|---|---|
datasets | [DatasetEntity] | List of dataset IDs |
nextPageToken | String | Page token for the next page |
Related types
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
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | A connection ID |
pageSize | Int | The size of the page being requested. |
pageToken | String | The token for the page being requested. |
Returns
ListProjectsResponse
Example
query ListProjects($connectionId: UUID!) {
listProjects(connectionId: $connectionId) {
nextPageToken
}
}Types used only by listProjects
listProjectsListProjectsResponse
ListProjectsResponseObject type.
| Field | Type | Description |
|---|---|---|
projects | [ProjectEntity] | List of project IDs |
nextPageToken | String | Page token for the next page |
ProjectEntity
ProjectEntityObject type.
| Field | Type | Description |
|---|---|---|
projectId | String | Project ID |
friendlyName | String | Friendly name of the project |
Related types
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
| Argument | Type | Description |
|---|---|---|
agentId | UUID! | Identifies which agent to run the test against. |
validationName | String | Name of the validation that should be run. |
Returns
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
| Argument | Type | Description |
|---|---|---|
agentId | UUID! | Identifies which storage to run the test against. |
Returns
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
| Argument | Type | Description |
|---|---|---|
validationName | String! | Name of the validation that should be run. |
connectionId | UUID! | An existing connection's UUID |
Returns
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
| Argument | Type | Description |
|---|---|---|
dcId | UUID | DC UUID. To disambiguate accounts with multiple collectors. |
Returns
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
| Argument | Type | Description |
|---|---|---|
validationNames | [String] | Names of the Airflow asset validations to run. |
dagId | String! | The Airflow DAG id |
etlContainerUuid | UUID! | 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
| Argument | Type | Description |
|---|---|---|
connectionId | UUID! | The connection UUID |
validationNames | [String] | Name of the table validation to run. |
mcon | String | MCON of the table to validate |
assetId | String | Full ID of the table to validate in the format: project:dataset.table, ignored if mcon is specified |
project | String | Project (or database) containing the asset to validate. Ignored if mcon or asset_id are specified |
dataset | String | Dataset (or schema) containing the asset to validate. Ignored if mcon or asset_id are specified |
assetName | String | Name of the asset to validate, for example table name. Ignored if mcon or asset_id are specified |
assetType | DataAssetTypeEnum | Asset 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
validateDataAssetAccessDataAssetTypeEnum
DataAssetTypeEnumEnum type.
| Value | Description |
|---|---|
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
| Argument | Type | Description |
|---|---|---|
connectionDetails | AirflowConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testAirflowCredentialsV2AirflowConnectionDetails
AirflowConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
hostName | String! | Airflow host name |
TestAirflowCredentialsV2
TestAirflowCredentialsV2Object type. Test an Airflow connection.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | AthenaConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testAthenaCredentialsV2AthenaConnectionDetails
AthenaConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
catalog | String | Athena data catalog name |
assumableRole | String! | ARN of AWS IAM role to assume |
externalId | String | External ID for AWS IAM role assumption |
workgroup | String | Athena workgroup name |
awsRegion | String | AWS region |
TestAthenaCredentialsV2
TestAthenaCredentialsV2Object type. Test an AWS Athena connection.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | AzureDataFactoryConnectionDetails | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
tempCredentialsKey | String | Optionally provide a credentials key to use instead of a credentials object. |
validationName | String! | 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
testAzureDataFactoryCredentialsAzureDataFactoryConnectionDetails
AzureDataFactoryConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
tenantId | String! | Azure tenant id |
clientId | String! | Azure client id |
clientSecret | String! | Azure client secret |
subscriptionId | String! | Azure subscription id |
resourceGroupName | String! | Azure resource group name |
factoryName | String! | Azure Data Factory name |
TestAzureDataFactoryCredentials
TestAzureDataFactoryCredentialsObject type.
| Field | Type | Description |
|---|---|---|
key | String | Credentials key. |
validationResult | TestCredentialsV2Response | Connection 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | BqConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testBqCredentialsV2BqConnectionDetails
BqConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
serviceJson | String | Service account key file as a base64 string |
TestBqCredentialsV2
TestBqCredentialsV2Object type. Test a BigQuery connection.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | DatabricksSqlWarehouseInput! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testDatabricksMetastoreSqlWarehouseCredentialsV2TestDatabricksMetastoreSqlWarehouseCredentialsV2
TestDatabricksMetastoreSqlWarehouseCredentialsV2Object type. Test a Databricks Metastore SQL Warehouse connection.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | DatabricksSqlWarehouseInput! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testDatabricksSqlWarehouseCredentialsV2TestDatabricksSqlWarehouseCredentialsV2
TestDatabricksSqlWarehouseCredentialsV2Object type. Test a Databricks SQL Warehouse connection.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | DbtCloudConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testDbtCloudCredentialsV2DbtCloudConnectionDetails
DbtCloudConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
dbtCloudApiToken | String! | dbt Cloud API token |
dbtCloudAccountId | String! | dbt Cloud account ID |
dbtCloudBaseUrl | String | dbt Cloud base URL |
dbtCloudWebhookHmacSecret | String | dbt Cloud webhook HMAC secret |
dbtCloudWebhookId | String | dbt Cloud webhook ID |
TestDbtCloudCredentialsV2
TestDbtCloudCredentialsV2Object type. Test a dbt Cloud connection.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | GcpDataformConnectionDetails | GCP Dataform service account credentials. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
tempCredentialsKey | String | Optionally provide a credentials key returned by a prior save_credentials call to re-validate without resubmitting credentials. |
validationName | String! | 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
testGcpDataformCredentialsGcpDataformConnectionDetails
GcpDataformConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
projectId | String! | GCP project ID containing Dataform repositories. |
locations | [String!]! | GCP regions to scan for Dataform repositories (e.g. ["us-central1"]). |
serviceAccountInfo | JSONString! | GCP service account JSON key with Dataform API access. Stored encrypted. |
TestGcpDataformCredentials
TestGcpDataformCredentialsObject type.
| Field | Type | Description |
|---|---|---|
key | String | Credentials key. |
validationResult | TestCredentialsV2Response | Connection 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | GlueConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testGlueCredentialsV2GlueConnectionDetails
GlueConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
assumableRole | String | ARN of AWS IAM role to assume |
externalId | String | External ID for AWS IAM role assumption |
awsRegion | String | AWS region |
sslOptions | SslOptions | Optional SSL options |
TestGlueCredentialsV2
TestGlueCredentialsV2Object type. Test an AWS Glue connection.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | InformaticaConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testInformaticaCredentialsInformaticaConnectionDetails
InformaticaConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
baseUrl | String! | Base URL used for API authentication |
username | String! | Username |
password | String! | Password |
TestInformaticaCredentials
TestInformaticaCredentialsObject type.
| Field | Type | Description |
|---|---|---|
key | String | Credentials key. |
validationResult | TestCredentialsV2Response | Connection 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | InformaticaV2ConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testInformaticaV2CredentialsInformaticaV2ConnectionDetails
InformaticaV2ConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
authMode | InformaticaV2AuthModeEnum! | 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. |
oauth | OAuthConfiguration | OAuth grant configuration. Required when auth_mode is oauth. Same shape used for Snowflake OAuth credentials. |
orgId | String | Informatica organization ID. Required when auth_mode is oauth (the loginOAuth endpoint requires it alongside the JWT). |
username | String | Informatica username. Required when auth_mode is password. |
password | String | Informatica password. Required when auth_mode is password. |
baseUrl | String | Informatica login base URL. Defaults to https://dm-us.informaticacloud.com when omitted; customers in non-US POD locations should override. |
TestInformaticaV2Credentials
TestInformaticaV2CredentialsObject type.
| Field | Type | Description |
|---|---|---|
key | String | Credentials key. |
validationResult | TestCredentialsV2Response | Connection 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | LookerConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testLookerCredentialsV2LookerConnectionDetails
LookerConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
baseUrl | String | Host url |
clientId | String | Looker client id |
clientSecret | String | Looker client secret |
verifySsl | Boolean | Verify SSL (uncheck for self-signed certs) |
TestLookerCredentialsV2
TestLookerCredentialsV2Object type. Test a Looker API connection
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | LookerGitAuthConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testLookerGitAuthCredentialsV2LookerGitAuthConnectionDetails
LookerGitAuthConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
repoUrl | String | For 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 |
username | String | The git username |
token | String | The access token for git HTTPS integrations |
sshKey | String | SSH key, base64-encoded |
sslOptions | SslOptions | Optional 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
TestLookerGitAuthCredentialsV2Object type. Test the connection to a Git repository using the HTTPS or SSH protocol
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | LookerGitCloneConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testLookerGitCloneCredentialsV2LookerGitCloneConnectionDetails
LookerGitCloneConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
repoUrl | String | Repository URL as https://server/project.git |
username | String | The git username |
token | String | The access token for git HTTPS integrations |
sslOptions | SslOptions | Optional 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
TestLookerGitCloneCredentialsV2Object type. Test the connection to a Git repository using the HTTPS protocol
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | MulesoftConnectionDetails | MuleSoft Connected App credentials + region. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
tempCredentialsKey | String | Optionally provide a credentials key returned by a prior save_credentials call to re-validate without resubmitting credentials. |
validationName | String! | 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
testMulesoftCredentialsMulesoftConnectionDetails
MulesoftConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
clientId | String! | Anypoint Connected App client_id (the customer creates the Connected App in Anypoint with the View Environment, Read Deployments, and Exchange Viewer scopes). |
clientSecret | String! | Anypoint Connected App client_secret. Stored encrypted; never surfaced back in GraphQL responses. |
region | MulesoftRegionEnum | Anypoint 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). |
orgId | String | Anypoint 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
MulesoftRegionEnumEnum type. Anypoint Platform regional instance — drives the auth + API base URLs.
| Value | Description |
|---|---|
US | |
EU | |
GOV |
TestMulesoftCredentials
TestMulesoftCredentialsObject type.
| Field | Type | Description |
|---|---|---|
key | String | Credentials key. |
validationResult | TestCredentialsV2Response | Connection 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | PineconeConnectionDetails! | Connection parameters for Pinecone. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testPineconeCredentialsPineconeConnectionDetails
PineconeConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
environment | String! | Identifier of Pinecone environment (e.g. us-east-1-aws). |
projectId | String! | Identifier of Pinecone project. |
apiKey | String! | API key for Pinecone project. |
TestPineconeCredentials
TestPineconeCredentialsObject type. Test a Pinecone connection.
| Field | Type | Description |
|---|---|---|
key | String | Credentials key. |
validationResult | TestCredentialsV2Response | Connection 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | PowerBIConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testPowerBiCredentialsV2PowerBIAuthModeEnumV2
PowerBIAuthModeEnumV2Enum type.
| Value | Description |
|---|---|
SERVICE_PRINCIPAL | |
PRIMARY_USER |
PowerBIConnectionDetails
PowerBIConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
tenantId | String! | Azure Power BI tenant uuid |
authMode | PowerBIAuthModeEnumV2! | 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. |
username | String | Username when auth as a primary user. Required if auth_mode is primary_user. |
password | String | Password when auth as a primary user. Required if auth_mode is primary_user. |
TestPowerBICredentialsV2
TestPowerBICredentialsV2Object type. Test a PowerBI connection.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | RedshiftConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testRedshiftCredentialsV2RedshiftConnectionDetails
RedshiftConnectionDetailsInput object type.
| Field | Type | Description |
|---|---|---|
dbName | String | Name of database to add connection for |
host | String | Hostname of the warehouse |
port | Int | HTTP Port to use |
user | String | User with access to the database |
password | String | User's password |
sslOptions | SslOptions | Optional SSL options. |
TestRedshiftCredentialsV2
TestRedshiftCredentialsV2Object type. Test a Redshift connection.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | SelfHostedCredentialsConnectionDetails! | Connection parameters. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testSelfHostedCredentialsV2TestSelfHostedCredentialsV2
TestSelfHostedCredentialsV2Object type. Test self-hosted credentials for a new connection of the specified type.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection. This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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
| Argument | Type | Description |
|---|---|---|
connectionDetails | SnowflakeConnectionDetails! | Connection parameters. |
connectionId | UUID | If updating an existing connection, the ID of the connection to test. |
connectionOptions | ConnectionTestOptions | Common options for integration tests. |
validationName | String! | 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
testSnowflakeCredentialsV2TestSnowflakeCredentialsV2
TestSnowflakeCredentialsV2Object type. Test a Snowflake connection.
| Field | Type | Description |
|---|---|---|
key | String | Path to key for adding a connection.This key is only generated when calling the SAVE_CREDENTIALS validation. |
validationResult | TestCredentialsV2Response | Result 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.
