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.
| Field | Type | Description |
|---|---|---|
id | Int | Unique identifier for the access request |
userId | UUID! | User who requested access |
status | Status | Current status of the access request |
targetPermission | Permission! | Permission requested |
targetId | String | Object ID access was requested for |
reason | String | Reason for requesting access |
createdTime | DateTime | When the request was created |
updatedTime | DateTime | When 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
| Field | Type | Description |
|---|---|---|
id | String | Token user ID |
token | String | Generated 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.
| Field | Type | Description |
|---|---|---|
agentId | String | Name of the agent: operations, troubleshooting, monitoring, triage, monitor_tuning, cost, performance, pr, remediation or health. Other values may appear. |
threadId | String | ID of the agent run's conversation thread |
surface | String | Where the request entered: web_ui, slack, msteams, mcp, api or in_product |
isAutomated | Boolean | True for an automated agent run, false for a run a user started. Null when unknown. |
toolName | String | Name of the tool the agent called |
toolSource | String | Where the tool lives: customer_mcp for a tool on a customer-defined MCP server. |
access | String | read or write, from the tool's read-only hint. Null when the server gives no hint. |
outcome | String | Result of the call: success, error or cancelled |
serverId | String | ID of the MCP server. Set only for tools on a customer-defined MCP server. |
serverName | String | Current 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
| Field | Type | Description |
|---|---|---|
parameterName | String! | Name of the parameter |
parameterValue | String | Value 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.
| Field | Type | Description |
|---|---|---|
createdOn | DateTime! | Timestamp when this entity was created. |
lastUpdatedOn | DateTime! | Timestamp when this entity was last modified. |
createdBy | AuditedUser | User that created this entity. Null if predating audit tracking. |
lastUpdateUser | AuditedUser | User that last updated this entity. Null if predating audit tracking. |
auditLogs | AuditLogEntryConnection | Change 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.
| Value | Description |
|---|---|
USER | |
AGENT |
Used by 2 operations: getAccountAuditLogSummary (query), getAccountAuditLogs (query).
AuditLogEntryConnection
AuditLogEntryConnection is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | 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.
| Field | Type | Description |
|---|---|---|
node | AuditLogEntry | The item at the end of the edge |
cursor | String! | 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.
| Value | Description |
|---|---|
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.
| Field | Type | Description |
|---|---|---|
name | String! | Unique to the account, human-readable name (for use in code/policy reference). |
roles | [RoleOutput!]! | List of roles that are assigned to this group. |
version | String | Version of the permissions definitions the group is designed for, ex: 2022-03-17. Defaults to current. |
isManaged | Boolean! | 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. |
isInternal | Boolean! | True for internal-only groups that are not exposed on customer-facing surfaces. Defaults to false for all customer-visible groups. |
label | String | UI/user-friendly display name, ex: Data Consumers |
description | String | Description/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. |
mcpServerAccess | McpServerAccessOutput! | 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. |
ssoGroup | String | SSO group name to map this authorization group to |
source | AuthorizationGroupSource! | The source or provider of this authorization group. |
isMembershipManaged | Boolean! | 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. |
auditInfo | AuditInfo | (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.
| Value | Description |
|---|---|
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 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.
| Field | Type | Description |
|---|---|---|
path | String! | Permission path, either a specific permission like 'monitors/edit' or a pattern like 'settings/*'. |
effect | PermissionEffect! | 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.
| Field | Type | Description |
|---|---|---|
clientId | ID! | The unique identifier for the new OAuth client. |
clientSecret | String! | 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).
| Field | Type | Description |
|---|---|---|
resourceUuid | UUID! | Candidate source resource UUID |
resourceType | String | Candidate source resource type |
reason | String | How 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).
| Field | Type | Description |
|---|---|---|
key | String! | Identity field name (host, database, ...) |
value | String! | 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).
| Field | Type | Description |
|---|---|---|
id | ID! | Stable identifier for the source link |
referenceResourceUuid | UUID! | The resource the reference was observed on (this warehouse) |
referenceResourceType | String | Type of the reference resource |
sourceAlias | String! | The source's name inside the reference (e.g. foreign catalog) |
resolutionStatus | LinkResolutionStatus! | unresolved | resolved | ambiguous |
resolutionMethod | LinkResolutionMethod | How 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. |
observedEndpoint | ObservedEndpoint! | 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. |
sourceResourceUuid | UUID | The resolved native source resource; set only when resolved |
sourceResourceType | String | Type of the resolved native source |
connectorType | String | Source connector type |
connectionName | String | Source connection name |
observedIdentifiers | [FederationIdentifier!] | Non-secret identity bag — display + force-match surface |
candidates | [FederationCandidate!] | Candidate sources surfaced when ambiguous |
assetCount | Int! | Number of referencing assets under this source |
lastSeenAt | DateTime | When 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.
| Value | Description |
|---|---|
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.
| Value | Description |
|---|---|
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.
| Value | Description |
|---|---|
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.
| Field | Type | Description |
|---|---|---|
clientId | ID! | The unique identifier for this OAuth client. |
description | String | A human-readable description of this OAuth client. |
scopes | [String!]! | The OAuth scopes granted to this client. |
identityType | OAuthClientIdentityType | The type of identity this client is associated with, if any. |
identityId | ID | The identifier of the associated identity (e.g. agent UUID). |
resourceIds | [ID!] | Resource identifiers associated with this client. |
createdTime | DateTime! | When this OAuth client was created. |
createdBy | ID | The user who created this OAuth client. |
createdByEmail | String | Email of the user who created this OAuth client. |
expirationTime | DateTime | When 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.
| Value | Description |
|---|---|
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.
| Field | Type | Description |
|---|---|---|
name | String! | Unique, human-readable role name. The mcd/ prefix is reserved for managed roles. |
version | String! | Version string for the role. Typically YYYY-MM-DD format. |
isManaged | Boolean! | Indicates if this role is managed by Monte Carlo. If so, it may not be modified by clients. |
label | String! | UI/user-friendly display name, ex: Editor |
description | String! | Description of the role's purpose and intended use. |
restrictionsSummary | String! | Summary of what this role restricts or does not allow access to. |
recommendedFor | String! | Who this role is recommended for, e.g., 'Data engineers managing pipelines'. |
deprecated | Boolean! | Whether or not this role is deprecated and so should not be used for new groups. |
deprecationReason | String | If deprecated, explains why and how to migrate. |
allowedPermissionCount | Int! | 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. |
definition | String! | (experimental) YAML definition of the role. |
authorizationGroups | [AuthorizationGroupOutput!]! | (experimental) List of the authorization groups that this role is assigned to. |
auditInfo | AuditInfo | (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.
| Field | Type | Description |
|---|---|---|
inactivityTimeoutMinutes | Int! | Minutes of server-side inactivity after which a session is invalidated. 0 means inactivity timeout is disabled. |
maxAgeMinutes | Int! | 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
| Value | Description |
|---|---|
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
| Field | Type | Description |
|---|---|---|
id | String | Token id |
firstName | String | First name for the owner of the token |
lastName | String | Last name for the owner of the token |
email | String | Display 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 <domain>) — never the agent's internal address. |
creationTime | DateTime | When the token was created |
createdBy | String | Display 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 <domain>) — never the agent's internal address. |
expirationTime | DateTime | When the token is set to expire |
comment | String | Any comments or description for the token |
isServiceApiToken | Boolean | True 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.
| Field | Type | Description |
|---|---|---|
maxRunsPerMonth | Int | Admin-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.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [UserBasicInfoEdge]! | Contains the nodes in this connection. |
totalCount | Int | |
edgeCount | Int |
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.
| Field | Type | Description |
|---|---|---|
node | UserBasicInfo | The item at the end of the edge |
cursor | String! | 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.
