Related queries and mutations in Integrations and connections. Each has its own section.
Queries
getAlationIntegrations (query)
getAlationIntegrations 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 the configured Alation integrations
Arguments
| Argument | Type | Description |
|---|---|---|
integrationId | UUID | Filter by integration ID |
Returns
Example
query GetAlationIntegrations {
getAlationIntegrations {
createdTime
updatedTime
uuid
integrationName
serverUrl
username
userId
dcProxy
disableSslVerification
warehouseDatasourceMapping
id
connectionStatus
}
}Related types
getAlationTableFlags (query)
getAlationTableFlags 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.
Gets warning and deprecation flags set in Alation for this table.
Arguments
| Argument | Type | Description |
|---|---|---|
mcon | String! | The MCON of the table |
Returns
[GetAlationTableFlags]
Example
query GetAlationTableFlags($mcon: String!) {
getAlationTableFlags(mcon: $mcon) {
flagType
flagReason
}
}Types used only by getAlationTableFlags
getAlationTableFlagsGetAlationTableFlags
GetAlationTableFlagsObject type.
| Field | Type | Description |
|---|---|---|
flagType | TableFlagType! | The type of the flag. Either WARNING or DEPRECATION |
flagReason | String! | A reason or a description of the flag |
Related types
Mutations
createOrUpdateAlationIntegration (mutation)
createOrUpdateAlationIntegration is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Create or update Alation integration
Arguments
| Argument | Type | Description |
|---|---|---|
dcProxy | Boolean | Whether to proxy requests to the Alation instance via the data collector Default: false. |
disableSslVerification | Boolean | Whether to disable SSL when proxying requests via the data collector Default: false. |
integrationName | String | Short text to describe the integration |
integrationUuid | UUID | The integration to update |
password | String | ('The Alation service account password for authentication; if not provided, previous value will be used',) |
refreshToken | String | An Alation service account refresh token; if not provided, previous value will be used. Can be provided instead of username/password. |
serverUrl | String! | The url for your Alation instance |
userId | Int | ('An Alation service account user ID token; if not provided, previous value will be used. Must be provided when using a refresh token instead of username/password.',) |
username | String | ('The Alation service account username for authentication; if not provided, previous value will be used',) |
warehouseDatasourceMapping | JSONString | Key-value pairs consisting of MC warehouse UUID (key) to Alation data source ID (value). |
Returns
CreateOrUpdateAlationIntegration
Example
mutation CreateOrUpdateAlationIntegration($serverUrl: String!) {
createOrUpdateAlationIntegration(serverUrl: $serverUrl) {
alationIntegration {
createdTime
updatedTime
uuid
integrationName
serverUrl
username
userId
dcProxy
disableSslVerification
warehouseDatasourceMapping
id
connectionStatus
}
}
}Types used only by createOrUpdateAlationIntegration
createOrUpdateAlationIntegrationCreateOrUpdateAlationIntegration
CreateOrUpdateAlationIntegrationObject type. Create or update Alation integration
| Field | Type | Description |
|---|---|---|
alationIntegration | AlationIntegration |
Related types
AlationIntegration, JSONString, UUID
createOrUpdateAlationTableFlag (mutation)
createOrUpdateAlationTableFlag is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Create or update Alation flag on a table. The flag could be a warning or a deprecation.
Arguments
| Argument | Type | Description |
|---|---|---|
flagReason | String! | This may be a reason or a description of the flag.Should only be set for DEPRECATION and WARNING. |
flagType | TableFlagType! | The type of the flag |
mcon | String! | The MCON of the table |
Returns
CreateOrUpdateAlationTableFlag
Example
mutation CreateOrUpdateAlationTableFlag($flagReason: String!, $flagType: TableFlagType!, $mcon: String!) {
createOrUpdateAlationTableFlag(flagReason: $flagReason, flagType: $flagType, mcon: $mcon) {
alationFlagIds
}
}Types used only by createOrUpdateAlationTableFlag
createOrUpdateAlationTableFlagCreateOrUpdateAlationTableFlag
CreateOrUpdateAlationTableFlagObject type. Create or update Alation flag on a table. The flag could be a warning or a deprecation.
| Field | Type | Description |
|---|---|---|
alationFlagIds | [Int] | List of IDs of flags created. This list will have more than one entry when multiple tables matched the input full_table_id. |
Related types
deleteAlationIntegration (mutation)
deleteAlationIntegration is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Delete Alation integration
Arguments
| Argument | Type | Description |
|---|---|---|
integrationUuid | UUID! | The integration ID |
Returns
DeleteAlationIntegration
Example
mutation DeleteAlationIntegration($integrationUuid: UUID!) {
deleteAlationIntegration(integrationUuid: $integrationUuid) {
deleted
}
}Types used only by deleteAlationIntegration
deleteAlationIntegrationDeleteAlationIntegration
DeleteAlationIntegrationObject type. Delete Alation integration
| Field | Type | Description |
|---|---|---|
deleted | Boolean |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
