Users, accounts and access: types (GraphQL)

Types used by more than one operation in Users, accounts and access. Each type has its own section.

AccessRequest

AccessRequest is an object type in the Monte Carlo GraphQL API.

FieldTypeDescription
idIntUnique identifier for the access request
userIdUUID!User who requested access
statusStatusCurrent status of the access request
targetPermissionPermission!Permission requested
targetIdStringObject ID access was requested for
reasonStringReason for requesting access
createdTimeDateTimeWhen the request was created
updatedTimeDateTimeWhen the request was last updated
notifiedAdmins[String!]List of admin emails that were notified about this request

Used by 2 operations: requestAccess (mutation), getAccessRequest (query).

AccessToken

AccessToken is an object type in the Monte Carlo GraphQL API.

Generated API Token ID and Access Key. Only available once

FieldTypeDescription
idStringToken user ID
tokenStringGenerated token

Used by 2 operations: createAccessToken (mutation), createOrUpdateServiceApiToken (mutation).

AccountAuditLogAgentActivity

AccountAuditLogAgentActivity is an object type in the Monte Carlo GraphQL API.

Details of an agent activity event, such as a tool call an agent made.

Tool arguments and results are never recorded.

FieldTypeDescription
agentIdStringName of the agent: operations, troubleshooting, monitoring, triage, monitor_tuning, cost, performance, pr, remediation or health. Other values may appear.
threadIdStringID of the agent run's conversation thread
surfaceStringWhere the request entered: web_ui, slack, msteams, mcp, api or in_product
isAutomatedBooleanTrue for an automated agent run, false for a run a user started. Null when unknown.
toolNameStringName of the tool the agent called
toolSourceStringWhere the tool lives: customer_mcp for a tool on a customer-defined MCP server.
accessStringread or write, from the tool's read-only hint. Null when the server gives no hint.
outcomeStringResult of the call: success, error or cancelled
serverIdStringID of the MCP server. Set only for tools on a customer-defined MCP server.
serverNameStringCurrent name of the MCP server. Renaming the server changes this on earlier entries. Set only for tools on a customer-defined MCP server. Null when the server was deleted.

Used by 2 operations: getAccountAuditLogEntries (query), getAccountAuditLogs (query).

ApiCallReference

ApiCallReference is an input object type in the Monte Carlo GraphQL API.

References (For instance UUIDs) that were passed as input to GraphQL API calls

FieldTypeDescription
parameterNameString!Name of the parameter
parameterValueStringValue of the parameter. If provided, parameter_values will be ignored
parameterValues[String]List of values for the parameter

Used by 2 operations: getAccountAuditLogEntries (query), getAccountAuditLogs (query).

AuditInfo

AuditInfo is an object type in the Monte Carlo GraphQL API.

Audit information for an auditable entity.

FieldTypeDescription
createdOnDateTime!Timestamp when this entity was created.
lastUpdatedOnDateTime!Timestamp when this entity was last modified.
createdByAuditedUserUser that created this entity. Null if predating audit tracking.
lastUpdateUserAuditedUserUser that last updated this entity. Null if predating audit tracking.
auditLogsAuditLogEntryConnectionChange audit logs for this entity.

Used by 8 operations: createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAuthorizationGroup (mutation), updateUserAuthorizationGroupMembership (mutation), getAccountRoles (query), getAuthorizationGroups (query), getAuthorizationGroupsPaginated (query), getAuthorizationProvisioning (query).

AuditLogActorRole

AuditLogActorRole is an enum type in the Monte Carlo GraphQL API.

Role of the identity that acted in an audit-log entry.

AGENT is a Monte Carlo agent identity, such as an automated agent run.
USER is everyone else. An agent chat acts on behalf of the user who chats,
so its entries are USER entries.

ValueDescription
USER
AGENT

Used by 2 operations: getAccountAuditLogSummary (query), getAccountAuditLogs (query).

AuditLogEntryConnection

AuditLogEntryConnection is an object type in the Monte Carlo GraphQL API.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[AuditLogEntryEdge]!Contains the nodes in this connection.

Used by 11 operations: createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAuthorizationGroup (mutation), updateUserAuthorizationGroupMembership (mutation), getAccountRoles (query), getAuthorizationGroups (query), getAuthorizationGroupsPaginated (query), getAuthorizationProvisioning (query), getMonitorAuditLogs (query), getMonitoredRulesAuditLogs (query), getSizeCollectionAuditLogs (query).

AuditLogEntryEdge

AuditLogEntryEdge is an object type in the Monte Carlo GraphQL API.

A Relay edge containing a AuditLogEntry and its cursor.

FieldTypeDescription
nodeAuditLogEntryThe item at the end of the edge
cursorString!A cursor for use in pagination

Used by 11 operations: createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAuthorizationGroup (mutation), updateUserAuthorizationGroupMembership (mutation), getAccountRoles (query), getAuthorizationGroups (query), getAuthorizationGroupsPaginated (query), getAuthorizationProvisioning (query), getMonitorAuditLogs (query), getMonitoredRulesAuditLogs (query), getSizeCollectionAuditLogs (query).

AuditLogEventType

AuditLogEventType is an enum type in the Monte Carlo GraphQL API.

Event types in the account audit log.

API_CALLED is an API call. On v2 entries, apiProtocol says whether it was
GraphQL, REST or MCP. USER_LOGIN and USER_LOGOUT are sign-ins and sign-outs.
The PII_* values are views and exports of PII scan results.
AGENT_MCP_TOOL_CALLED is a call an agent made to a tool on one of the account's
MCP servers.

ValueDescription
API_CALLED
USER_LOGIN
USER_LOGOUT
PII_INVENTORY_VIEWED
PII_SAMPLE_ROWS_VIEWED
PII_INVENTORY_EXPORTED
AGENT_MCP_TOOL_CALLED

Used by 2 operations: getAccountAuditLogEntries (query), getAccountAuditLogs (query).

AuthorizationGroupOutput

AuthorizationGroupOutput is an object type in the Monte Carlo GraphQL API.

Authorization group used to configure access and permissions for users.

FieldTypeDescription
nameString!Unique to the account, human-readable name (for use in code/policy reference).
roles[RoleOutput!]!List of roles that are assigned to this group.
versionStringVersion of the permissions definitions the group is designed for, ex: 2022-03-17. Defaults to current.
isManagedBoolean!Indicates if this group is managed by Monte Carlo or through an authorization provider, such as SCIM. If so, changes to the group are restricted. See the source for details.
isInternalBoolean!True for internal-only groups that are not exposed on customer-facing surfaces. Defaults to false for all customer-visible groups.
labelStringUI/user-friendly display name, ex: Data Consumers
descriptionStringDescription/help text to help users understand the purpose of the group
users[AuditedUser!]List of users who are members of the group. Deprecated: Resolving users on each group does not scale. Use getUsersInAccount(authorizationGroups: [<group name>]) instead, which supports filtering, pagination, and richer user data..
domainRestrictions[DomainRestriction!]List of domains this group is limited to.
connectionRestrictions[ConnectionRestriction!]!List of connections this group is limited to.
mcpServerAccessMcpServerAccessOutput!Which customer MCP servers members of this group may use. A group that was never configured, or is managed by Monte Carlo, allows every server. The group grants nothing unless its own roles allow access to customer MCP servers.
ssoGroupStringSSO group name to map this authorization group to
sourceAuthorizationGroupSource!The source or provider of this authorization group.
isMembershipManagedBoolean!Indicates if the membership of this group is managed through an authorization provider or SSO group. If true, membership changes can only be made through that source.
auditInfoAuditInfo(experimental) Audit information for this group.

Used by 8 operations: createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAuthorizationGroup (mutation), updateUserAuthorizationGroupMembership (mutation), getAccountRoles (query), getAuthorizationGroups (query), getAuthorizationGroupsPaginated (query), getAuthorizationProvisioning (query).

AuthorizationGroupSource

AuthorizationGroupSource is an enum type in the Monte Carlo GraphQL API.

The source or provider of an authorization group.

Values:

  • BUILT_IN: Group is automatically provided and managed by Monte Carlo for all customers.
  • AUTHORIZATION_PROVIDER: Group is automatically created/managed from the account's auth
    provider via a protocol such as SCIM.
  • CUSTOM: Group is defined and managed by the account through the Admin UI or APIs.
ValueDescription
BUILT_INGroup is automatically provided and managed by Monte Carlo for all customers.
AUTHORIZATION_PROVIDERGroup is automatically created/managed from the account's auth provider via a protocol such as SCIM.
CUSTOMGroup is defined and managed by the account either through the Admin UI or APIs.

Used by 8 operations: createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAuthorizationGroup (mutation), updateUserAuthorizationGroupMembership (mutation), getAccountRoles (query), getAuthorizationGroups (query), getAuthorizationGroupsPaginated (query), getAuthorizationProvisioning (query).

AuthorizationPolicyStatement

AuthorizationPolicyStatement is an object type in the Monte Carlo GraphQL API.

A permission policy statement in a role.

FieldTypeDescription
pathString!Permission path, either a specific permission like 'monitors/edit' or a pattern like 'settings/*'.
effectPermissionEffect!The defined policy effect for the specified permission path.

Used by 8 operations: createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAuthorizationGroup (mutation), updateUserAuthorizationGroupMembership (mutation), getAccountRoles (query), getAuthorizationGroups (query), getAuthorizationGroupsPaginated (query), getAuthorizationProvisioning (query).

CreateOAuthClientResponse

CreateOAuthClientResponse is an object type in the Monte Carlo GraphQL API.

Response from creating an OAuth client.

The client_secret is only available at creation time.

FieldTypeDescription
clientIdID!The unique identifier for the new OAuth client.
clientSecretString!The client secret. Store this securely — it cannot be retrieved again.
scopes[String!]!The OAuth scopes granted to this client.

Used by 2 operations: createAgentOauthClient (mutation), createUserOauthClient (mutation).

FederationCandidate

FederationCandidate is an object type in the Monte Carlo GraphQL API.

A source resource that matched an observed reference (surfaced on AMBIGUOUS).

FieldTypeDescription
resourceUuidUUID!Candidate source resource UUID
resourceTypeStringCandidate source resource type
reasonStringHow the candidate matched
matchedOn[FederationIdentifier!]The discrete identity pairs that matched this candidate

Used by 4 operations: mapFederationSource (mutation), unmapFederationSource (mutation), getFederationReferences (query), getFederationSources (query).

FederationIdentifier

FederationIdentifier is an object type in the Monte Carlo GraphQL API.

A non-secret {key, value} identity pair (e.g. host / database / port).

FieldTypeDescription
keyString!Identity field name (host, database, ...)
valueString!Raw observed value

Used by 4 operations: mapFederationSource (mutation), unmapFederationSource (mutation), getFederationReferences (query), getFederationSources (query).

FederationSourceOutput

FederationSourceOutput is an object type in the Monte Carlo GraphQL API.

A federated source observed on a warehouse — the foreign connection a reference asset points at, and its resolution to a native Monte Carlo source (YET-1729).

FieldTypeDescription
idID!Stable identifier for the source link
referenceResourceUuidUUID!The resource the reference was observed on (this warehouse)
referenceResourceTypeStringType of the reference resource
sourceAliasString!The source's name inside the reference (e.g. foreign catalog)
resolutionStatusLinkResolutionStatus!unresolved | resolved | ambiguous
resolutionMethodLinkResolutionMethodHow the derived endpoint was established: identifier match, table match, or customer-configured. Which endpoint this describes is given by observedEndpoint (normally the source). Null when unresolved.
observedEndpointObservedEndpoint!Which endpoint is observed (ground truth) vs derived — reference (we collected on the referencing resource, the common case) or source. Distinguishes a ground-truth link from a guessed one and tells you which side resolutionMethod refers to.
sourceResourceUuidUUIDThe resolved native source resource; set only when resolved
sourceResourceTypeStringType of the resolved native source
connectorTypeStringSource connector type
connectionNameStringSource connection name
observedIdentifiers[FederationIdentifier!]Non-secret identity bag — display + force-match surface
candidates[FederationCandidate!]Candidate sources surfaced when ambiguous
assetCountInt!Number of referencing assets under this source
lastSeenAtDateTimeWhen this source was last observed

Used by 4 operations: mapFederationSource (mutation), unmapFederationSource (mutation), getFederationReferences (query), getFederationSources (query).

LinkResolutionMethod

LinkResolutionMethod is an enum type in the Monte Carlo GraphQL API.

ValueDescription
CONNECTION_IDENTIFIER_MATCH
TABLE_MATCH
CUSTOMER_CONFIGURED

Used by 4 operations: mapFederationSource (mutation), unmapFederationSource (mutation), getFederationReferences (query), getFederationSources (query).

LinkResolutionStatus

LinkResolutionStatus is an enum type in the Monte Carlo GraphQL API.

ValueDescription
UNRESOLVED
RESOLVED
AMBIGUOUS

Used by 5 operations: mapFederationSource (mutation), unmapFederationSource (mutation), getAssetFederationLinks (query), getFederationReferences (query), getFederationSources (query).

OAuthClientIdentityType

OAuthClientIdentityType is an enum type in the Monte Carlo GraphQL API.

ValueDescription
AGENT
USER
SERVICE

Used by 2 operations: getOauthClients (query), getUserOauthClients (query).

OAuthClientOutput

OAuthClientOutput is an object type in the Monte Carlo GraphQL API.

An OAuth 2.0 client configured for machine-to-machine authentication.

FieldTypeDescription
clientIdID!The unique identifier for this OAuth client.
descriptionStringA human-readable description of this OAuth client.
scopes[String!]!The OAuth scopes granted to this client.
identityTypeOAuthClientIdentityTypeThe type of identity this client is associated with, if any.
identityIdIDThe identifier of the associated identity (e.g. agent UUID).
resourceIds[ID!]Resource identifiers associated with this client.
createdTimeDateTime!When this OAuth client was created.
createdByIDThe user who created this OAuth client.
createdByEmailStringEmail of the user who created this OAuth client.
expirationTimeDateTimeWhen this OAuth client expires (null = never expires).

Used by 2 operations: getOauthClients (query), getUserOauthClients (query).

ObservedEndpoint

ObservedEndpoint is an enum type in the Monte Carlo GraphQL API.

ValueDescription
REFERENCE
SOURCE

Used by 4 operations: mapFederationSource (mutation), unmapFederationSource (mutation), getFederationReferences (query), getFederationSources (query).

RoleOutput

RoleOutput is an object type in the Monte Carlo GraphQL API.

A named set of authorization policy statements that can be assigned to authorization groups.

FieldTypeDescription
nameString!Unique, human-readable role name. The mcd/ prefix is reserved for managed roles.
versionString!Version string for the role. Typically YYYY-MM-DD format.
isManagedBoolean!Indicates if this role is managed by Monte Carlo. If so, it may not be modified by clients.
labelString!UI/user-friendly display name, ex: Editor
descriptionString!Description of the role's purpose and intended use.
restrictionsSummaryString!Summary of what this role restricts or does not allow access to.
recommendedForString!Who this role is recommended for, e.g., 'Data engineers managing pipelines'.
deprecatedBoolean!Whether or not this role is deprecated and so should not be used for new groups.
deprecationReasonStringIf deprecated, explains why and how to migrate.
allowedPermissionCountInt!Number of permissions that are allowed/granted by this role. Respects the includeDeprecatedPermissions argument from the parent query.
resolvedPermissions[UserPermission!]!Resolved permissions for this role. Respects the includeDeprecatedPermissions argument from the parent query.
policyStatements[AuthorizationPolicyStatement!]!(experimental) Authorization policy statements (path: effect) defined by this role.
definitionString!(experimental) YAML definition of the role.
authorizationGroups[AuthorizationGroupOutput!]!(experimental) List of the authorization groups that this role is assigned to.
auditInfoAuditInfo(experimental) Audit information for this role. Null for managed roles; present for custom roles.

Used by 8 operations: createOrUpdateAccountRole (mutation), createOrUpdateAccountRoleFromDefinition (mutation), createOrUpdateAuthorizationGroup (mutation), updateUserAuthorizationGroupMembership (mutation), getAccountRoles (query), getAuthorizationGroups (query), getAuthorizationGroupsPaginated (query), getAuthorizationProvisioning (query).

SessionSettings

SessionSettings is an object type in the Monte Carlo GraphQL API.

Account-level session timeout configuration.

FieldTypeDescription
inactivityTimeoutMinutesInt!Minutes of server-side inactivity after which a session is invalidated. 0 means inactivity timeout is disabled.
maxAgeMinutesInt!Absolute session lifetime in minutes. A session cannot outlive the user's original authentication by more than this many minutes, regardless of activity.

Used by 2 operations: updateSessionSettings (mutation), getSessionSettings (query).

Status

Status is an enum type in the Monte Carlo GraphQL API.

Access Request status

ValueDescription
PENDING
NOTIFIED
RESOLVED

Used by 2 operations: requestAccess (mutation), getAccessRequest (query).

TokenMetadata

TokenMetadata is an object type in the Monte Carlo GraphQL API.

Metadata for the API Access Token

FieldTypeDescription
idStringToken id
firstNameStringFirst name for the owner of the token
lastNameStringLast name for the owner of the token
emailStringDisplay label for the owner of the token. Returns the user's email for human users; for agent users, returns a derived display label (e.g. Bayes on &lt;domain&gt;) — never the agent's internal address.
creationTimeDateTimeWhen the token was created
createdByStringDisplay label for the user who created the token. Returns the user's email for human users; for agent users, returns a derived display label (e.g. Bayes on &lt;domain&gt;) — never the agent's internal address.
expirationTimeDateTimeWhen the token is set to expire
commentStringAny comments or description for the token
isServiceApiTokenBooleanTrue if this is an account service token; false if it's a personal token
groups[String]Names of the groups for the API token (for service API tokens).

Used by 2 operations: getTokenMetadata (query), getUserApiKeys (query).

TroubleshootingAgentConfig

TroubleshootingAgentConfig is an object type in the Monte Carlo GraphQL API.

FieldTypeDescription
maxRunsPerMonthIntAdmin-set monthly limit on Troubleshooting Agent investigations; null when no monthly limit is configured. When set, the Troubleshooting Agent stops for the rest of the calendar month (UTC) once this many investigations are reached.

Used by 2 operations: updateTroubleshootingAgentConfig (mutation), getTroubleshootingAgentConfig (query).

UserBasicInfoConnection

UserBasicInfoConnection is an object type in the Monte Carlo GraphQL API.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[UserBasicInfoEdge]!Contains the nodes in this connection.
totalCountInt
edgeCountInt

Used by 2 operations: getAccountOwners (query), getUsersBasicInfo (query).

UserBasicInfoEdge

UserBasicInfoEdge is an object type in the Monte Carlo GraphQL API.

A Relay edge containing a UserBasicInfo and its cursor.

FieldTypeDescription
nodeUserBasicInfoThe item at the end of the edge
cursorString!A cursor for use in pagination

Used by 2 operations: getAccountOwners (query), getUsersBasicInfo (query).

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.