Users, accounts and access (GraphQL)

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 changes carries 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/after cursor 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

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.