Users, accounts, roles, API keys and settings.
Query operations
- evaluatePolicyProposal: Evaluate what permissions would result from role and group definitions WITHOUT persisting anything. Use for dry-run previews, authorization assistant verificati
- favoriteAssets: Get all favorite assets for the current user
- getAccessRequest: Get the status of an alert access request for the current user
- getAccountAuditLogEntries: The account audit log, newest first. Requires the audit logging entitlement. Entries older than the last 15 days are listed once your account's history is avail
- getAccountAuditLogs: Get audit logs for an account.
- getAccountAuditLogSummary: The account audit log aggregated server-side: one row per (user, page) with its activity count, over the whole window. Unlike the paged row-level log — which is
- getAccountConfigAuditLogs: Audit log for changes to the account's configuration, newest first. Each entry's
changescarries one dotted field per changed configuration key, in the form - getAccountFeatureFlagStatus: Returns feature flag state
- getAccountOwners: Get the ids, emails, and names of all Account Owners in the account.
- getAccountRoles: Get roles available for current user's account.
- getAgentSettingsAuditLogs: Changes to the account's AI agent settings, newest first: turning agents on or off, usage caps, the troubleshooting auto-run threshold, and per-domain overrides
- getApiUsage: Get API Gateway usage data for the account's API key
- getAssetFederationLinks: Federation linkage for an asset (both directions): the source it references, and the references that point at it.
- getAssetMetricAuditLogs: Audit log for a specific (asset, metric) pair. Returns one stream covering the asset-level override rule (when present) and the table-monitor coverage events th
- getAuthorizationGroups: DEPRECATED. Get authorization group list for the user's account.
- getAuthorizationGroupsPaginated: Get authorization groups for the user's account with Relay-style pagination and an optional substring search. Supports the standard
first/aftercursor argum - getAuthorizationProvisioning: Get the authorization provisioning config for this account.
- getBqProjects:
- getCollectionProperties: Get infrastructure properties for a new data collector deployment
- getDatasets: Get datasets in the account
- getDatasetsByUuid: Get datasets by UUID
- getEventOnboardingData:
- getFederationReferences: List the federation links that reference this warehouse as their native source (the reverse of getFederationSources — other integrations that point at it). Back
- getFederationSources: List the federated sources observed on a warehouse (the Federation sources table), including unresolved/ambiguous ones.
- getIAMResourceDefinitions: Get all IAM resources and their permissions defined in the system.
- getInvitesInAccount:
- getMonitorAuditLogs: Get audit logs for specified monitor
- getMonitoredRulesAuditLogs: Historical audit logs for monitored table rules. Monitoring rules were removed, so no new entries are written.
- getOauthClients: List OAuth 2.0 clients for the current account.
- getOauthClientSecrets: List an OAuth client's secrets (metadata only; up to two).
- getProjects: Get projects by UUID
- getServiceOauthClients: List service (account) OAuth 2.0 clients for the current account.
- getSessionSettings: Get the session timeout settings for the calling user's account.
- getSharedQuery: Get a shared API Explorer query
- getSizeCollectionAuditLogs: Get audit logs for a table's size collection.
- getTokenMetadata: Retrieve access token metadata for current user or account
- getTroubleshootingAgentConfig: Get the caller's account Troubleshooting Agent settings (the admin-set monthly investigation cap).
- getTsaAvailability: Get Troubleshooting Agent availability
- getTutorialState: Fetches stages and status for tutorial
- getUser:
- getUserApiKeys: List a specific user's personal API keys (account admin).
- getUserAuthorization: Get resolved authorization info for a user. Pass the userId to get authorization for another user (requires settings/users/access permission). If omitted, retur
- getUserAuthorizedClients: List the OAuth/MCP clients a user in your account has authorized. Requires permission to edit users (settings/users/edit).
- getUserOauthClients: List a specific user's personal OAuth 2.0 clients (account admin).
- getUsersBasicInfo: Get ids, emails and names of all users in account
- getUserSettings: Get user-specific settings. Return only the settings that have value.
- getUsersInAccount:
- isFavorite: Check if an asset is favorited
- isTsaAvailableForAlert: Check if TSA is available for a specific alert type and subtypes
- resolveDataAuthorization: Check the current user's access for each combination of permission/policy and data object. Returns one result per pair.
- resolveGroupsPermissions: Resolve combined permissions for a list of groups, including domain restrictions. Use to evaluate what permissions would be granted to a user if added to the sp
- resolveRolesPermissions: Resolve combined permissions for a list of roles. Use to evaluate what permissions a set of roles would grant to determine what the effective permissions would
- ssoRecoveryCodeStatus: Status of the account's SSO recovery codes: how many are currently active (unused and unrevoked) and whether the account opted out of code prompts by revoking.
- testDnsLookup: Performs a DNS lookup for the specified host name
Mutation operations
- addFavoriteAsset: Add an asset to favorites
- addOauthClientSecret: Add a second secret to an OAuth client for zero-downtime rotation.
- configureMetadataEvents: Configure collection of metadata via S3 events
- configureQueryLogEvents: Configure collection of query logs via S3 events
- confirmSsoRecoveryCodes: Confirm a freshly generated SSO recovery-code set by entering one of its codes back; the submitted code is consumed. Required after every generate or regenerate
- createAccessToken: Generate an API Access Token and associate to user
- createAgentOauthClient: Create an OAuth 2.0 client for agent machine-to-machine authentication.
- createOrUpdateAccountRole: Create or update a custom account role.
- createOrUpdateAccountRoleFromDefinition: Create or update a custom account role from a YAML definition.
- createOrUpdateAuthorizationGroup: Create or update a customer-managed authorization group. Names under the reserved
mcd-internal/prefix belong to Monte Carlo's own provisioning and are reje - createOrUpdateAuthProvisioning: Create or Update the account Auth Provisioning configuration.
- createOrUpdateSamlIdentityProvider:
- createOrUpdateServiceApiToken: Generate a service API Access Token
- createOrUpdateServiceOauthClient: Create or update a service (account) OAuth 2.0 client.
- createOrUpdateUserSettings: Create or update a user-specific setting
- createOrUpdateUserSettingsBatch: Create or update a list of user-specific settings
- createSharedQuery: Create a new shared API Explorer GraphQL query or mutation
- createUserOauthClient: Create a personal OAuth 2.0 client for API access (acts as the caller).
- deleteAccessToken: Delete an API Access Token by ID
- deleteAccountRole: Delete a custom account role.
- deleteAllUserApiKeys: Delete all of a user's personal API keys (account admin).
- deleteAllUserOauthClients: Delete all of a user's personal OAuth 2.0 clients (account admin).
- deleteAuthorizationGroup: Delete an authorization group
- deleteEventOnboardingData: Delete stored event onboarding configuration
- deleteOauthClient: Delete an OAuth 2.0 client and revoke its credentials.
- deleteOauthClientSecret: Delete a specific OAuth client secret (not the last remaining one).
- deleteSamlIdentityProvider:
- deleteServiceOauthClient: Terminate a service OAuth account (revoke client + delete the account).
- deleteUserApiKey: Delete a specific user's personal API key (account admin).
- deleteUserInvite: Delete user invite
- deleteUserOauthClient: Delete a specific user's personal OAuth 2.0 client (account admin).
- disableMetadataEvents: Disable collection of metadata via S3 events
- disableQueryLogEvents: Disable collection of query logs via S3 events
- disableUser: Disable a user
- generateSsoRecoveryCodes: Generate a fresh set of single-use SSO recovery codes for the account, invalidating any previously active set. The plaintext codes are returned once. Generating
- inviteUsers: DEPRECATED: use inviteUsersV2
- inviteUsersV2: Invite users to the account
- mapFederationSource: Force-match a federated source to a chosen native source resource (Map to existing / Choose match). Authoritative and reversible.
- removeFavoriteAsset: Remove an asset from favorites
- requestAccess: Request permissions that the user is missing
- resendUserInvite: Resend user invite
- revokeAllUserAuthorizedClients: Revoke all of a user's OAuth/MCP client authorizations at once, forcing the user to re-authenticate every client on next use. Returns the number revoked. Requir
- revokeSsoRecoveryCodes: Invalidate all of the account's active SSO recovery codes. An explicit revoke also opts the account out of recovery-code prompts: saving changes to an existing
- revokeUserAuthorizedClient: Revoke a user's authorization for a single OAuth/MCP client (a WorkOS Connect grant), forcing the user to re-authenticate that client on next use. Requires perm
- saveEventOnboardingData: Save event onboarding configuration
- setAccountMaxTimeSeries: Set the maximum number of time series for the account.
- setAccountName:
- setTutorialState: Sets the state of a tutorial
- switchUserAccount: User can switch accounts if provided with valid invite
- toggleAccountFeature: Enable/disable an account level feature
- toggleEventConfig: Enable / disable the configuration for data collection via events
- toggleMuteDataset: Start/Stop creating incidents for the given dataset
- toggleMuteDatasets: Start/Stop creating incidents for the given datasets
- toggleMuteWithRegex: DEPRECATED. End of life: August 01, 2025. Toggle mute for a set of tables and datasets.
- unmapFederationSource: Reverse a force-match: revert the source to unresolved so it re-resolves automatically on the next collection.
- updateDailyUsageAlertConfig: Update the account's daily usage alerts config
- updateDataShare: Update data sharing configuration for an account
- updateSessionSettings: Update the session timeout settings for the calling user's account.
- updateStatementOption: Update the account's statement option
- updateTroubleshootingAgentConfig: Set or clear the account's Troubleshooting Agent monthly investigation cap.
- updateUserAuthorizationGroupMembership: Update a user's authorization group membership. Authenticated user must have permission to manage users.
- updateUserPersona: Update a persona that can help personalize the home page experience and the onboarding flow.
- updateUserState:
- updateWorkspaceIdentifier: Updates the workspace identifier for this account
Types
AccessRequest, AccessToken, AccountAuditLogAgentActivity, ApiCallReference, AuditInfo, AuditLogActorRole, AuditLogEntryConnection, AuditLogEntryEdge, AuditLogEventType, AuthorizationGroupOutput, AuthorizationGroupSource, AuthorizationPolicyStatement, CreateOAuthClientResponse, FederationCandidate, FederationIdentifier, FederationSourceOutput, LinkResolutionMethod, LinkResolutionStatus, OAuthClientIdentityType, OAuthClientOutput, ObservedEndpoint, RoleOutput, SessionSettings, Status, TokenMetadata, TroubleshootingAgentConfig, UserBasicInfoConnection, UserBasicInfoEdge
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
