Related queries and mutations in Users, accounts and access. Each has its own section.
Mutations
toggleMuteDatasets (mutation)
toggleMuteDatasets is a mutation in the Monte Carlo GraphQL API, in Users, accounts and access. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated
Start/Stop creating incidents for the given datasets
Arguments
| Argument | Type | Description |
|---|---|---|
input | ToggleMuteDatasetsInput! |
Returns
ToggleMuteDatasetsPayload
Example
mutation ToggleMuteDatasets($input: ToggleMuteDatasetsInput!) {
toggleMuteDatasets(input: $input) {
clientMutationId
}
}Types used only by toggleMuteDatasets
toggleMuteDatasetsToggleDatasetInputItem
ToggleDatasetInputItemInput object type.
ToggleMuteDatasetsInput
ToggleMuteDatasetsInputInput object type.
| Field | Type | Description |
|---|---|---|
datasets | [ToggleDatasetInputItem] | The datasets being muted |
mute | Boolean! | True for muting the table, False for un-muting |
mutedEventTypes | [MutedEventType] | Restrict muting to the following event types (optional) |
clientMutationId | String |
ToggleMuteDatasetsPayload
ToggleMuteDatasetsPayloadObject type. Start/Stop creating incidents for the given datasets
| Field | Type | Description |
|---|---|---|
muted | [Dataset] | |
clientMutationId | String |
Related types
toggleMuteWithRegex (mutation)
toggleMuteWithRegex is a mutation in the Monte Carlo GraphQL API, in Users, accounts and access. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use table monitor rules instead. New regex muting rules will be ignored.
DEPRECATED. End of life: August 01, 2025. Toggle mute for a set of tables and datasets.
Arguments
| Argument | Type | Description |
|---|---|---|
input | ToggleMuteWithRegexInput! |
Returns
ToggleMuteWithRegexPayload
Example
mutation ToggleMuteWithRegex($input: ToggleMuteWithRegexInput!) {
toggleMuteWithRegex(input: $input) {
clientMutationId
}
}Types used only by toggleMuteWithRegex
toggleMuteWithRegexToggleMuteWithRegexInput
ToggleMuteWithRegexInputInput object type.
| Field | Type | Description |
|---|---|---|
dwId | UUID! | Warehouse the dataset is contained in. |
ruleRegex | String! | Valid regex to match fullTableIds. FullTableIds have the following format: "PROJECT_NAME:DATASET_NAME.TABLE_ID" |
mute | Boolean! | True for muting the table, False for un-muting |
mutedEventTypes | [MutedEventType] | Restrict muting to the following event types (optional) |
clientMutationId | String |
ToggleMuteWithRegexPayload
ToggleMuteWithRegexPayloadObject type. Start/Stop creating incidents for all matched elements. Use wildcards to match more than one table or dataset.
| Field | Type | Description |
|---|---|---|
clientMutationId | String |
Related types
updateDailyUsageAlertConfig (mutation)
updateDailyUsageAlertConfig is a mutation in the Monte Carlo GraphQL API, in Users, accounts and access. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Update the account's daily usage alerts config
Arguments
| Argument | Type | Description |
|---|---|---|
usageAlertConfig | UsageAlertConfigInput |
Returns
UpdateDailyUsageAlertConfig
Example
mutation UpdateDailyUsageAlertConfig {
updateDailyUsageAlertConfig {
success
}
}Types used only by updateDailyUsageAlertConfig
updateDailyUsageAlertConfigUpdateDailyUsageAlertConfig
UpdateDailyUsageAlertConfigObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean | Whether the mutation succeeded. |
UsageAlertConfigInput
UsageAlertConfigInputInput object type. input variables for daily usage alert
| Field | Type | Description |
|---|---|---|
threshold | Int! | Usage threshold that triggers the alert |
emails | [String]! | List of recipients |
disabled | Boolean | Disable the alert (optional) |
updateStatementOption (mutation)
updateStatementOption is a mutation in the Monte Carlo GraphQL API, in Users, accounts and access. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Update the account's statement option
Arguments
| Argument | Type | Description |
|---|---|---|
emails | [String] | Required when option is SPECIFIC_ADDRESSES |
option | StatementOption! |
Returns
UpdateStatementOption
Example
mutation UpdateStatementOption($option: StatementOption!) {
updateStatementOption(option: $option) {
success
}
}Types used only by updateStatementOption
updateStatementOptionUpdateStatementOption
UpdateStatementOptionObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean | Whether the mutation succeeded. |
Related types
updateUserPersona (mutation)
updateUserPersona is a mutation in the Monte Carlo GraphQL API, in Users, accounts and access. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Update a persona that can help personalize the home page experience and the onboarding flow.
Arguments
| Argument | Type | Description |
|---|---|---|
persona | UserPersona |
Returns
UpdateUserPersona
Example
mutation UpdateUserPersona {
updateUserPersona {
user {
id
cognitoUserId
email
firstName
lastName
displayName
state
createdOn
isSso
ssoGroups
ssoGroupsUpdatedAt
tokenId
isDeleted
deletedAt
deleteReason
invalidatedAt
persona
role
}
}
}Types used only by updateUserPersona
updateUserPersonaUpdateUserPersona
UpdateUserPersonaObject type. Update user's persona for personalised experience.
| Field | Type | Description |
|---|---|---|
user | User |
UserPersona
UserPersonaEnum type.
| Value | Description |
|---|---|
AI_ENGINEER | |
DATA_ENGINEER | |
DATA_ANALYST | |
DATA_SCIENTIST | |
BI_ANALYST_ENGINEER | |
TEAM_LEAD | |
EXECUTIVE | |
SOFTWARE_ENGINEER | |
PRODUCT_MANAGER_OWNER | |
EARLY_USER | |
OTHER |
Related types
updateUserState (mutation)
updateUserState is a mutation in the Monte Carlo GraphQL API, in Users, accounts and access. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Arguments
| Argument | Type | Description |
|---|---|---|
input | UpdateUserStateInput! |
Returns
UpdateUserStatePayload
Example
mutation UpdateUserState($input: UpdateUserStateInput!) {
updateUserState(input: $input) {
clientMutationId
}
}Types used only by updateUserState
updateUserStateUpdateUserStateInput
UpdateUserStateInputInput object type.
| Field | Type | Description |
|---|---|---|
state | String! | |
clientMutationId | String |
UpdateUserStatePayload
UpdateUserStatePayloadObject type.
| Field | Type | Description |
|---|---|---|
user | User | |
clientMutationId | String |
Related types
updateWorkspaceIdentifier (mutation)
updateWorkspaceIdentifier is a mutation in the Monte Carlo GraphQL API, in Users, accounts and access. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Updates the workspace identifier for this account
Arguments
| Argument | Type | Description |
|---|---|---|
value | String! | A new workspace identifier |
Returns
UpdateWorkspaceIdentifier
Example
mutation UpdateWorkspaceIdentifier($value: String!) {
updateWorkspaceIdentifier(value: $value) {
value
}
}Types used only by updateWorkspaceIdentifier
updateWorkspaceIdentifierUpdateWorkspaceIdentifier
UpdateWorkspaceIdentifierObject type.
| Field | Type | Description |
|---|---|---|
value | String | This account's workspace identifier |
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
