Types used by more than one operation in AI features. Each type has its own section.
ActorType
ActorType is an enum type in the Monte Carlo GraphQL API.
| Value | Description |
|---|---|
AI | |
HUMAN | |
system | |
assistant | |
user |
Used by 2 operations: createSqlQuery (query), fixSqlQuery (query).
AgentActionDecision
AgentActionDecision is an enum type in the Monte Carlo GraphQL API.
Whether the agent's action was allowed or blocked.
| Value | Description |
|---|---|
ALLOWED | |
BLOCKED |
Used by 5 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAgentActionLog (query), getAlertIssue (query), getAlertIssues (query).
AgentActionMode
AgentActionMode is an enum type in the Monte Carlo GraphQL API.
AUTOMATIC: agents take the action themselves. SUGGESTION_ONLY: agents only suggest it.
| Value | Description |
|---|---|
AUTOMATIC | |
SUGGESTION_ONLY |
Used by 4 operations: resetAgentActionPolicy (mutation), setAgentActionPolicy (mutation), getAgentActionPolicies (query), getAgentActionPolicyForAlert (query).
AgentActionPolicyEntry
AgentActionPolicyEntry is an object type in the Monte Carlo GraphQL API.
One action's mode for the account or for one domain.
| Field | Type | Description |
|---|---|---|
domainId | UUID | The domain this entry applies to. Null for the account-level entry. |
domainName | String | Name of the domain in domainId. |
actionType | AgentActionType! | The action. |
mode | AgentActionMode! | The mode agents follow here, after every override and Monte Carlo's limit for the action. |
source | AgentActionPolicySource! | Where mode comes from. |
overrideMode | AgentActionMode | This scope's own override. Null when the scope has none. |
Used by 3 operations: resetAgentActionPolicy (mutation), setAgentActionPolicy (mutation), getAgentActionPolicies (query).
AgentActionPolicySource
AgentActionPolicySource is an enum type in the Monte Carlo GraphQL API.
Where an effective mode comes from: the domain's override (DOMAIN), the account's override (ACCOUNT), or Monte Carlo's default (DEFAULT).
| Value | Description |
|---|---|
DOMAIN | |
ACCOUNT | |
DEFAULT |
Used by 3 operations: resetAgentActionPolicy (mutation), setAgentActionPolicy (mutation), getAgentActionPolicies (query).
AgentActionType
AgentActionType is an enum type in the Monte Carlo GraphQL API.
An action an agent can take on its own: CLOSE_ALERT (set an alert's status to expected or no action needed), MARK_NORMAL (mark data points as normal) or SET_OWNER (set an alert's owner).
| Value | Description |
|---|---|
CLOSE_ALERT | |
MARK_NORMAL | |
SET_OWNER |
Used by 4 operations: resetAgentActionPolicy (mutation), setAgentActionPolicy (mutation), getAgentActionPolicies (query), getAgentActionPolicyForAlert (query).
AgenticFindingPriority
AgenticFindingPriority is an enum type in the Monte Carlo GraphQL API.
| Value | Description |
|---|---|
LOW | |
MEDIUM | |
HIGH | |
CRITICAL |
Used by 2 operations: createOrUpdateAgenticNotificationRoute (mutation), agenticNotificationRoutes (query).
AgenticFindingType
AgenticFindingType is an enum type in the Monte Carlo GraphQL API.
| Value | Description |
|---|---|
MONITOR_DEPLOYED | |
MONITOR_MODIFIED | |
MONITORING_GAP | |
ALERT_TRIAGED_LOW | |
ALERT_ESCALATED | |
ALERT_REMEDIATED |
Used by 2 operations: createOrUpdateAgenticNotificationRoute (mutation), agenticNotificationRoutes (query).
AgenticNotificationRoute
AgenticNotificationRoute is an object type in the Monte Carlo GraphQL API.
A notification route that maps findings to a set of audiences.
| Field | Type | Description |
|---|---|---|
createdTime | DateTime! | |
updatedTime | DateTime! | |
uuid | UUID! | Public route identifier. |
enabled | Boolean! | When false, matching findings do not dispatch through this route. |
id | UUID! | Stable identifier — same value as uuid. |
findingTypes | [AgenticFindingType] | Finding types this route matches. Null means wildcard (match all). |
priorities | [AgenticFindingPriority] | Priorities this route matches. Null means wildcard (match all). |
audiences | [NotificationAudience!]! | Audiences this route targets. |
createdBy | User |
Used by 2 operations: createOrUpdateAgenticNotificationRoute (mutation), agenticNotificationRoutes (query).
AgenticPlatformConfigOutput
AgenticPlatformConfigOutput is an object type in the Monte Carlo GraphQL API.
Per-account configuration and runtime state of the agentic platform.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Stable identifier for the configuration row. |
isEnabled | Boolean! | User-controlled pause/unpause toggle for the agentic platform. When false, triage is paused and the runtime status is PAUSED. |
scope | AgenticPlatformScope! | Whether the platform runs across the whole account or a selected set of scopes. |
agenticScopeUuids | [UUID!]! | Agentic domain UUIDs the platform is currently watching. When scope is ACCOUNT this includes every agentic domain in the account. |
agenticScopes | [AgenticDomainOutput!]! | Resolved agentic domains for display in the settings UI. |
status | AgenticPlatformStatus! | Current runtime status for the agentic platform. |
lastRunAt | DateTime | Timestamp of the most recent finding produced for this account, if any. |
Used by 2 operations: configureAgenticPlatform (mutation), getAgenticPlatformConfig (query).
AgenticPlatformPipelineExecutionOutput
AgenticPlatformPipelineExecutionOutput is an object type in the Monte Carlo GraphQL API.
A single execution of an agentic platform pipeline.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Stable identifier for the execution. |
pipeline | AgenticPlatformPipelineOutput! | The pipeline this execution belongs to. |
pipelineUuid | UUID! | UUID of the pipeline this execution belongs to. |
type | AgenticPlatformPipelineType! | Kind of pipeline that was executed. |
status | AgenticPlatformPipelineStatus! | Lifecycle status of the execution. |
startTime | DateTime! | When the execution was submitted to the agent. Holds the enqueue time while the execution is QUEUED and is reset when it is promoted, so it always means when the run actually started. |
endTime | DateTime | When the execution reached a terminal status. |
error | String | Error detail when status is ERROR. |
threadId | String | LangGraph thread id for this execution. |
runId | String | LangGraph run id for this execution. |
lastHeartbeatAt | DateTime | When the execution's agent thread last showed activity, or when a run was attached to it if that is later. Used to detect stalled runs. |
createdTime | DateTime! | When the execution row was created. |
updatedTime | DateTime! | When the execution row was last updated. |
outcomeCollection | MonitoringPlanOutcomeCollectionRef | The recorded outcome collection for this run, or null when the run recorded none. Present for failed and interrupted runs too, including ones that produced no findings — null means not recorded, not an empty complete collection. |
Used by 6 operations: cancelMonitoringRun (mutation), runMonitoringForDomain (mutation), triggerAgenticPlatformPipeline (mutation), domainMonitoringPlanState (query), getAgenticPlatformPipelineExecutions (query), getMonitoringRunForDomain (query).
AgenticPlatformPipelineOutput
AgenticPlatformPipelineOutput is an object type in the Monte Carlo GraphQL API.
A scheduled, recurring agentic platform pipeline.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Stable identifier for the pipeline. |
type | AgenticPlatformPipelineType! | Kind of pipeline (monitoring, triage, ...). |
rateSeconds | Int! | How often the pipeline should run, in seconds. |
lastExecutionTime | DateTime | Timestamp of the most recent execution submission. |
disabled | Boolean! | When true, the pipeline is paused and will not be scheduled. |
agenticScope | AgenticDomainOutput | Agentic domain the pipeline runs against. |
createdTime | DateTime! | When the pipeline was created. |
updatedTime | DateTime! | When the pipeline was last updated. |
Used by 8 operations: cancelMonitoringRun (mutation), runMonitoringForDomain (mutation), triggerAgenticPlatformPipeline (mutation), updateAgenticPlatformPipeline (mutation), domainMonitoringPlanState (query), getAgenticPlatformPipelineExecutions (query), getAgenticPlatformPipelines (query), getMonitoringRunForDomain (query).
AgenticPlatformPipelineStatus
AgenticPlatformPipelineStatus is an enum type in the Monte Carlo GraphQL API.
Lifecycle status of a single pipeline execution.
QUEUED → RUNNING → COMPLETED | ERROR | CANCELLED. Only pipelines with a
concurrent-run cap (MAX_CONCURRENT_RUNS_BY_PIPELINE_TYPE in the
orchestrator service, ORB-342) ever enter QUEUED; uncapped pipelines
are created directly as RUNNING.
| Value | Description |
|---|---|
QUEUED | |
RUNNING | |
COMPLETED | |
ERROR | |
CANCELLED |
Used by 10 operations: cancelMonitoringRun (mutation), runMonitoringForDomain (mutation), triggerAgenticPlatformPipeline (mutation), domainMonitoringPlanState (query), getAgenticPlatformPipelineExecutions (query), getMonitoringRunForDomain (query), latestMonitoringPlan (query), monitoringPlan (query), monitoringPlanForMonitor (query), monitoringPlans (query).
AgenticPlatformPipelineType
AgenticPlatformPipelineType is an enum type in the Monte Carlo GraphQL API.
Kinds of agentic platform pipelines that can be scheduled.
| Value | Description |
|---|---|
MONITORING | |
TRIAGE | |
MONITOR_TUNING | |
ALERT_ASSESSMENT | |
SCHEDULED_REPORT | |
COST_AGENT_INSIGHTS | |
META_SUMMARIZER | |
COVERAGE_PROPOSAL |
Used by 8 operations: cancelMonitoringRun (mutation), runMonitoringForDomain (mutation), triggerAgenticPlatformPipeline (mutation), updateAgenticPlatformPipeline (mutation), domainMonitoringPlanState (query), getAgenticPlatformPipelineExecutions (query), getAgenticPlatformPipelines (query), getMonitoringRunForDomain (query).
AgenticPlatformScope
AgenticPlatformScope is an enum type in the Monte Carlo GraphQL API.
How the agentic platform's monitoring scope is bounded for an account.
| Value | Description |
|---|---|
ACCOUNT | |
DOMAIN_SCOPED |
Used by 2 operations: configureAgenticPlatform (mutation), getAgenticPlatformConfig (query).
AgenticPlatformStatus
AgenticPlatformStatus is an enum type in the Monte Carlo GraphQL API.
Derived runtime status of the agentic platform for an account.
| Value | Description |
|---|---|
RUNNING | |
PAUSED | |
BUDGET_EXHAUSTED |
Used by 2 operations: configureAgenticPlatform (mutation), getAgenticPlatformConfig (query).
AgentIssueSource
AgentIssueSource is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
agentIssueId | UUID! | The agent issue. |
agentName | String | Its agent. Null for an agent issue whose content the caller may not see. |
agentIssueStatus | String | Its status. |
fixedTime | DateTime | When its current fix was recorded. |
regressedTime | DateTime | When it regressed after a fix. |
disposition | String | A person's call on the issue, such as IGNORED. Null when nobody made one. |
mergedIntoId | UUID | The agent issue it was merged into, if any. |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
AgentMemory
AgentMemory is an object type in the Monte Carlo GraphQL API.
A fact a person asked the AI agents to remember.
| Field | Type | Description |
|---|---|---|
id | UUID! | |
level | AgentMemoryLevel! | |
domainUuid | UUID | Domain of the memory; null at the account level. |
assetMcon | String | MCON of the asset; set only at the asset level. |
agentType | AiAgentType! | Agents that read the memory. |
memoryText | String! | |
createdBy | String! | Display label for the user who asked to remember this. 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. |
authorName | String | Name of the user who asked to remember this, or their email when they have no name. Null when that user was deleted. |
createdTime | DateTime! | |
creationSource | String | Where the memory was written: ui (the web app), mcp (an MCP client), api, agent:<id> (an agent acting for the user), teammate_feedback or memory_curation (an approved nightly curation item). The writing client declares the first four, so they are best-effort. Null when unknown. |
creationClient | String | The MCP client that wrote the memory, as the client names itself. Set only when the source is mcp. |
assetMissing | Boolean | Whether the memory's asset is gone from this domain: a deleted table, an agent that is gone, an asset with no catalog object, or an asset no longer in this domain. Set only by getDomainAgentMemories, and null there for a domain memory. |
Used by 4 operations: createAgentMemory (mutation), replaceAgentMemory (mutation), getAgentContext (query), getDomainAgentMemories (query).
AgentMemoryLevel
AgentMemoryLevel is an enum type in the Monte Carlo GraphQL API.
Scope of an agent memory: the account, one domain, or one asset in a domain.
| Value | Description |
|---|---|
ACCOUNT | |
DOMAIN | |
ASSET |
Used by 10 operations: createAgentMemory (mutation), createAgentMemorySuggestions (mutation), createMemoryCuration (mutation), replaceAgentMemory (mutation), getAgentContext (query), getAgentMemorySuggestions (query), getDomainAgentMemories (query), getMemoryCurationItems (query), getRecentMemoryCurationItems (query), getRejectedMemoryCurationItems (query).
AgentMemorySuggestion
AgentMemorySuggestion is an object type in the Monte Carlo GraphQL API.
A memory an agent run suggests. It is not a memory until a person approves it.
| Field | Type | Description |
|---|---|---|
id | UUID! | |
domainUuid | UUID! | |
level | AgentMemoryLevel! | |
assetMcon | String | MCON of the asset; set only at the asset level. |
agentType | AiAgentType! | Agents the suggested memory is for. |
suggestionText | String! | |
source | AgentMemorySuggestionSource! | |
suggestionEvidence | String! | A short quote or fact from the run that supports it. |
evidenceTool | String | Tool the evidence came from. |
runAgentId | String! | Agent (graph) of the run. |
runThreadId | String | Thread of the run. |
runTraceId | String | Trace of the run. |
status | AgentMemorySuggestionStatus! | |
statusReason | String | Why the curation set the status. |
createdTime | DateTime! |
Used by 2 operations: createAgentMemorySuggestions (mutation), getAgentMemorySuggestions (query).
AgentMemorySuggestionSource
AgentMemorySuggestionSource is an enum type in the Monte Carlo GraphQL API.
Whether a person said it in the run, or the agent observed it.
| Value | Description |
|---|---|
PERSON_SAID | |
AGENT_OBSERVED |
Used by 2 operations: createAgentMemorySuggestions (mutation), getAgentMemorySuggestions (query).
AgentMemorySuggestionStatus
AgentMemorySuggestionStatus is an enum type in the Monte Carlo GraphQL API.
Where a suggestion is in the nightly curation: waiting, proposed in a curation post, skipped by the curation, or expired after 7 days unused.
| Value | Description |
|---|---|
PENDING | |
PROPOSED | |
SKIPPED | |
EXPIRED |
Used by 2 operations: createAgentMemorySuggestions (mutation), getAgentMemorySuggestions (query).
AgentQuestion
AgentQuestion is an object type in the Monte Carlo GraphQL API.
A question an AI agent asked the team in a domain.
| Field | Type | Description |
|---|---|---|
id | UUID! | |
domainUuid | UUID! | |
questionText | String! | |
agent | String! | The agent that asked. |
platform | AgentQuestionPlatform | Null until a message of the post that asked is sent. It stays null when every send fails or its result is unknown. |
teamId | String | Slack workspace or Teams team. |
channelId | String | |
threadRef | String | The message that asks the question: a Slack ts, or '<channel>;messageid=<id>' on MS Teams. |
threadRootRef | String | The root message of the question's thread, in the same form as threadRef. It equals threadRef for a top-level message. |
agentThreadId | String | The web chat thread. |
askedTime | DateTime! | |
status | AgentQuestionStatus! | |
answeredTime | DateTime | |
answeredBy | String | The name of the person who answered. Null when an agent recorded the answer without a memory, or when the person's user is deleted. |
memoryId | UUID | The memory a person saved from their answer. Null until one is linked, and once that memory is deleted or replaced. |
answerSummary | String | One sentence on what the person answered. |
Used by 3 operations: answerAgentQuestion (mutation), recordAgentQuestion (mutation), getAgentQuestions (query).
AgentQuestionPlatform
AgentQuestionPlatform is an enum type in the Monte Carlo GraphQL API.
Where an agent asked a question.
| Value | Description |
|---|---|
SLACK | |
MSTEAMS | |
WEB |
Used by 3 operations: answerAgentQuestion (mutation), recordAgentQuestion (mutation), getAgentQuestions (query).
AgentQuestionStatus
AgentQuestionStatus is an enum type in the Monte Carlo GraphQL API.
An open question becomes expired 31 days after it was asked.
| Value | Description |
|---|---|
OPEN | |
ANSWERED | |
EXPIRED |
Used by 3 operations: answerAgentQuestion (mutation), recordAgentQuestion (mutation), getAgentQuestions (query).
AiAgent
AiAgent is an object type in the Monte Carlo GraphQL API.
AI agent configuration — account-level default or per-domain (see scope).
| Field | Type | Description |
|---|---|---|
createdTime | DateTime! | |
updatedTime | DateTime! | |
agentType | AiAgentType! | |
contextPrompt | String | Custom context prompt for the AI agent |
scope | AiAgentConfigScope! | Whether this configuration is the account default or a per-domain row. |
domainUuid | UUID | Domain this configuration applies to; null when scope is ACCOUNT (the account-level default). |
Used by 3 operations: configureAiAgentPrompt (mutation), getAiAgentConfig (query), getAiAgentConfigs (query).
AiAgentConfigScope
AiAgentConfigScope is an enum type in the Monte Carlo GraphQL API.
Whether an AI agent configuration is the account-level default or a per-domain row.
| Value | Description |
|---|---|
ACCOUNT | The account-level default configuration. |
DOMAIN | A per-domain configuration composed additively with the account default for runs against that domain. |
Used by 3 operations: configureAiAgentPrompt (mutation), getAiAgentConfig (query), getAiAgentConfigs (query).
AiAgentType
AiAgentType is an enum type in the Monte Carlo GraphQL API.
Scopes of persisted AI agent context.
Mirrors monolith.models.AiAgentType — every model value needs a member
here and a description branch below. description has no else,
so a missing branch returns None silently while check_graphene_api
still passes; AiAgentTypeMirrorTest is what catches it.
| Value | Description |
|---|---|
TROUBLESHOOTING | Configures the troubleshooting agent used for alert and incident investigation. |
GENERAL | Cross-agent account/domain context: persisted instructions read by any agent that runs for the account or domain. |
MONITORING | Configures the monitoring agent that recommends and creates monitor coverage for the account's assets. |
TRIAGE | Configures automated alert triage: how alerts are scored, prioritized, and routed. |
CHAT | Configures the conversational assistant. |
TUNING | Configures the monitor-tuning agent that adjusts thresholds and reduces noise on existing monitors. |
REMEDIATION | Configures the remediation agent that checks an alert after troubleshooting and suggests or takes the fix. |
TEAMMATE | Configures the domain teammate: when and how it tells people about issues (channels, timing, who to mention, what not to send). |
USE_CASES | The customer's business use cases in their own words: owner team, consumers, impact when wrong or late, urgency, named reports and tables, and how each compares to Monte Carlo's generated use cases. Read by the use-case criticality pipeline; no agent reads it. |
REINFORCEMENT_LOOP | Configures the reinforcement loop, which diagnoses a customer agent's conversations against the agent's own code. |
Used by 13 operations: configureAiAgentPrompt (mutation), createAgentMemory (mutation), createAgentMemorySuggestions (mutation), createMemoryCuration (mutation), replaceAgentMemory (mutation), getAgentContext (query), getAgentMemorySuggestions (query), getAiAgentConfig (query), getAiAgentConfigs (query), getDomainAgentMemories (query), getMemoryCurationItems (query), getRecentMemoryCurationItems (query), getRejectedMemoryCurationItems (query).
AIMessageOutput
AIMessageOutput is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
message | String! | Message from the specified actor |
actor | ActorType! | The actor that sends the message |
status | String | When streaming the results, it returns the status of the request |
Used by 2 operations: createSqlQuery (query), fixSqlQuery (query).
AlertIssue
AlertIssue is an object type in the Monte Carlo GraphQL API.
One root cause that one or more alerts share.
Issue-level fields are shown to any caller who may read at least one of the issue's alerts.
These are the cause, owner, external links, fix, disposition and its note, status, last
alert time, and actions logged on the issue with no alert. The alerts, assets, monitors,
alert count, remediation results and actions on alerts are only the ones the caller may
read.
| Field | Type | Description |
|---|---|---|
issueId | UUID! | |
cause | String | The root cause in one line. Null when this request may not read it under its sampling policy. It can hold customer text. |
status | AlertIssueStatus! | |
disposition | AlertIssueDisposition! | |
dispositionReason | AlertIssueDispositionReason | |
dispositionNote | String | Why the issue was ignored. Null when this request may not read it under its sampling policy. It can hold customer text. |
mcons | [String!]! | Assets of the alerts the caller may read. |
monitorUuids | [UUID!]! | Monitors that raised the alerts the caller may read. |
owner | String | Display label of the person who owns the fix. |
externalLinks | [AlertIssueExternalLink!]! | Confirmed PagerDuty incidents and tickets of the issue, oldest first. |
fixConfirmedTime | DateTime | When a fix was confirmed. |
fixSource | AlertIssueFixSource | |
fixUrl | String | |
createdTime | DateTime! | |
lastAlertTime | DateTime | When the newest of all the issue's alerts was created. The status uses it. |
alertCount | Int! | Alerts the caller may read. |
alerts | [AlertIssueAlert!] | The alerts the caller may read, newest link first. Only on getAlertIssue. |
actions | [AlertIssueAction!] | Agent action decisions on the alerts the caller may read, or on the issue, newest first. Only on getAlertIssue. |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueAction
AlertIssueAction is an object type in the Monte Carlo GraphQL API.
One action decision an agent made on an issue's alert, or on the issue.
| Field | Type | Description |
|---|---|---|
alertId | UUID | The alert the action is on. Null for the issue itself. |
agent | String! | The agent that decided, e.g. triage. |
action | String! | The action, e.g. close_alert. |
decision | AgentActionDecision! | |
reason | String | Why the action was allowed or blocked. Null when this request may not read it under its sampling policy. It can hold customer text. |
createdTime | DateTime! |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueAlert
AlertIssueAlert is an object type in the Monte Carlo GraphQL API.
One alert of an issue.
| Field | Type | Description |
|---|---|---|
alertId | UUID! | The alert. A merged alert shows as the alert it joined. |
linkedTime | DateTime! | When the alert joined the issue. |
remediation | AlertIssueRemediation | The latest remediation result. Null when there is none, or when this request may not read it under its sampling policy. |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueDisposition
AlertIssueDisposition is an enum type in the Monte Carlo GraphQL API.
A person's call on an issue, separate from status.
| Value | Description |
|---|---|
NONE | |
IGNORED |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueDispositionReason
AlertIssueDispositionReason is an enum type in the Monte Carlo GraphQL API.
Why a person ignored an issue.
| Value | Description |
|---|---|
INTENDED_BEHAVIOR | |
NOT_WORTH_FIXING | |
ALREADY_KNOWN_OR_FIXED | |
NOT_A_REAL_PROBLEM |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueExternalLink
AlertIssueExternalLink is an object type in the Monte Carlo GraphQL API.
A PagerDuty incident or a ticket that belongs to an issue.
| Field | Type | Description |
|---|---|---|
vendor | AlertIssueExternalVendor! | |
externalId | String! | The PagerDuty incident id, Jira key, ServiceNow sys_id or Linear issue id. |
url | String! | |
title | String | The incident or ticket title. Null when this request may not read it under its sampling policy. It can hold customer text. |
status | AlertIssueExternalLinkStatus! | |
statusSource | AlertIssueExternalLinkStatusSource! | |
statusUpdatedTime | DateTime | When the vendor set the status. |
closedTime | DateTime | When the vendor resolved it. |
origin | AlertIssueExternalLinkOrigin! |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueExternalLinkOrigin
AlertIssueExternalLinkOrigin is an enum type in the Monte Carlo GraphQL API.
Who linked it: copied from one of the issue's alerts, linked by an agent, or by a person.
| Value | Description |
|---|---|
INHERITED_FROM_ALERT | |
AGENT | |
USER |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueExternalLinkStatus
AlertIssueExternalLinkStatus is an enum type in the Monte Carlo GraphQL API.
A link's vendor status on one scale. UNKNOWN until the vendor reports one.
| Value | Description |
|---|---|
OPEN | |
ACKNOWLEDGED | |
RESOLVED | |
UNKNOWN |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueExternalLinkStatusSource
AlertIssueExternalLinkStatusSource is an enum type in the Monte Carlo GraphQL API.
Where the status came from: a vendor webhook, an agent's read, or none yet.
| Value | Description |
|---|---|
WEBHOOK | |
MCP_READ | |
NONE |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueExternalVendor
AlertIssueExternalVendor is an enum type in the Monte Carlo GraphQL API.
The system that holds an external link.
| Value | Description |
|---|---|
PAGERDUTY | |
JIRA | |
SERVICENOW | |
LINEAR |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueFixSource
AlertIssueFixSource is an enum type in the Monte Carlo GraphQL API.
What confirmed an issue's fix.
| Value | Description |
|---|---|
MANUAL | |
LINEAR | |
JIRA | |
SERVICENOW | |
GITHUB_PR |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueRemediation
AlertIssueRemediation is an object type in the Monte Carlo GraphQL API.
The latest remediation result on an alert.
| Field | Type | Description |
|---|---|---|
classification | String! | |
planSummary | String | The plan in short. It can hold customer text. |
completedTime | DateTime! |
Used by 4 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query).
AlertIssueSource
AlertIssueSource is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
alertIssueId | UUID! | The alert issue. |
alertIds | [UUID!]! | Its alerts in the row's domain, newest link first. |
notReviewedAlertIds | [UUID!]! | Its alerts the teammate never decided on, older than 72 hours. It will not review them. |
status | AlertIssueStatus! | The issue's status. |
fixConfirmedTime | DateTime | When its fix was confirmed. |
disposition | String | A person's call on the issue, such as IGNORED. Null when nobody made one. |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
AlertIssueStatus
AlertIssueStatus is an enum type in the Monte Carlo GraphQL API.
FIXED: a fix was confirmed and no alert followed it for 7 days. IN_PROGRESS: a fix is in its 7-day quiet period, or a linked ticket is not resolved. OPEN: otherwise. Closing alerts never fixes an issue.
| Value | Description |
|---|---|
OPEN | |
IN_PROGRESS | |
FIXED |
Used by 6 operations: confirmAlertIssueFix (mutation), setAlertIssueDisposition (mutation), getAlertIssue (query), getAlertIssues (query), getBayesIssue (query), getBayesIssues (query).
AlertSource
AlertSource is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
alertId | UUID! | The alert, or the alert it was merged into. |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
AudienceConditionByUuidInput
AudienceConditionByUuidInput is an input object type in the Monte Carlo GraphQL API.
Narrows one of a monitor's audiences to the triage priorities that reach it.
| Field | Type | Description |
|---|---|---|
audienceUuid | UUID! | UUID of the audience this condition narrows. |
triagePriority | [RoutableTriagePriority!]! | Triage priorities that should notify this audience. At least one is required; omit the audience entirely to leave it unconditional. |
Used by 3 operations: applyMonitorFindings (mutation), applyMonitoringPlan (mutation), applyMonitoringPlanSubset (mutation).
BayesClosedReason
BayesClosedReason is an enum type in the Monte Carlo GraphQL API.
NOTED_RESOLVED: the teammate noted it resolved. NO_ACTIVITY: no decision on it for a
while; this never says the problem was fixed.
| Value | Description |
|---|---|
NOTED_RESOLVED | |
NO_ACTIVITY |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
BayesDelivery
BayesDelivery is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
destinationType | String! | SLACK or MSTEAMS. |
status | String! | The message's delivery status, as TeammatePostStatus names it: CLAIMED, SENDING, SENT, UNKNOWN or FAILED. |
permalink | String | Link to the sent message. Null until sent. |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
BayesIssue
BayesIssue is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
id | UUID! | Bayes issue id. Stable across regrouping. |
domainUuid | UUID! | The domain. |
state | BayesIssueState! | |
closedReason | BayesClosedReason | Set when CLOSED. |
title | String | The alert issue's cause when the caller may read it, else 'Alert issue with N alerts'; the alert's title; the agent issue's title. Null for an agent issue whose content the caller may not see. |
createdTime | DateTime! | When the row was created. |
lastActivityTime | DateTime! | The newest decision on any of its items, else when the row was created. |
body | BayesIssueBody | The newest top-level post about its items, whatever its delivery; else the newest decision's reason. Null before any decision. |
source | BayesIssueSource! | |
timeline | [BayesTimelineEntry!] | Oldest first, the newest 100 entries. Set only by getBayesIssue. |
pendingSourceChanges | [BayesSourceChange!]! | Changes at the issue's source that Bayes has not yet decided on, with the latest handled and expired ones: at most 20, pending and waiting first, then newest first. |
remediation | BayesIssueRemediation | The first completed plan among at most 10 newest readable alerts, with deduped action offers and existing results. Null for an agent issue or when no readable alert has a completed plan. Set only by getBayesIssue. |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
BayesIssueBody
BayesIssueBody is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
postUuid | UUID | The post shown. Null when there is none. |
text | String | The post's text. Replaced by a notice when it covers content the caller may not see. Null without a post, and when the request disables data sampling. |
action | String | What the post asks for. Null when it has none, when its text is withheld, or when the request disables data sampling. |
reason | String | Without a post, why the teammate decided as it did on the newest decided item. Null with a post, and when the request disables data sampling. |
status | TeammatePostStatus | The post's delivery status. NO_CHANNEL means not sent: no usable channel (no channel set, or the Slack or Teams app is missing). Null without a post. |
deliveries | [BayesDelivery!]! | The post's messages, one per channel. Empty without a post. |
summary | TeammatePostSummary | What happened, why and the impact. Null without a post, on posts written without one, when its text is withheld, and when the request disables data sampling. |
feedback | TeammatePostFeedbackSummary | The post's 👍/👎 ratings, with the caller's own. Null without a post. |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
BayesIssueRemediation
BayesIssueRemediation is an object type in the Monte Carlo GraphQL API.
The issue's shown plan, with its action offers and existing results.
| Field | Type | Description |
|---|---|---|
plan | BayesIssueRemediationPlan! | The first completed plan with findings in the issue's newest-alert-first order, else the first completed plan. |
actions | [BayesIssueRemediationAction!]! | The offers and existing results of all the alerts read, pull requests, then tickets, then re-runs. Pull request runs dedupe by run and offers by repository. Tickets dedupe by URL, comment offers by target URL, and there is one open-ticket offer, hidden when the issue has a ticket. Re-runs dedupe by failed run. An existing result hides the offer for the same target. An action's referenceUuid is its own alert's plan, so it can differ from plan.referenceUuid. |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
BayesIssueRemediationAction
BayesIssueRemediationAction is an object type in the Monte Carlo GraphQL API.
One offer or existing result. Exactly one of the six action fields is set, named by
kind.
| Field | Type | Description |
|---|---|---|
kind | BayesIssueRemediationActionKind! | |
alertId | UUID! | The alert to pass to the remediation mutation for an offer. |
referenceUuid | String | The plan identifier to pass to the remediation mutation for an offer. Null on an existing result whose alert has no completed plan. |
pullRequest | RemediationPullRequest | |
pullRequestOffer | RemediationPullRequestOffer | |
ticket | RemediationTicket | |
ticketOffer | RemediationTicketOffer | |
rerun | RemediationRerun | |
rerunOffer | RemediationRerunOffer |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
BayesIssueRemediationActionKind
BayesIssueRemediationActionKind is an enum type in the Monte Carlo GraphQL API.
Which field of a BayesIssueRemediationAction is set. PULL_REQUEST, TICKET and RERUN are
existing results; the _OFFER kinds are buttons.
| Value | Description |
|---|---|
PULL_REQUEST | |
PULL_REQUEST_OFFER | |
TICKET | |
TICKET_OFFER | |
RERUN | |
RERUN_OFFER |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
BayesIssueRemediationPlan
BayesIssueRemediationPlan is an object type in the Monte Carlo GraphQL API.
The completed remediation plan shown for a Bayes issue.
| Field | Type | Description |
|---|---|---|
alertId | UUID! | The alert whose plan is shown. |
referenceUuid | String | The plan identifier to cite when acting on it. Null when the plan has none. |
summary | String | The plan for the alert's owner, as Markdown. It can include customer-controlled content, so render it as plain text or sanitized Markdown, never as HTML. Null when the plan has none. |
fix | String | The change that removes the cause. Plain text that can include customer-controlled content: never render it as HTML or Markdown. Null when the plan has no fix. |
workarounds | [RemediationWorkaround!]! | Changes that stop the alert without removing its cause, each with its risk. |
suggestions | [String!]! | Next steps for a person. Plain text that can include customer-controlled content: never render it as HTML or Markdown. |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
BayesIssueSource
BayesIssueSource is an union type in the Monte Carlo GraphQL API.
Where the problem comes from: an alert issue, an alert or an agent issue.
One of: AlertIssueSource, AlertSource, AgentIssueSource
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
BayesIssueState
BayesIssueState is an enum type in the Monte Carlo GraphQL API.
NEEDS_ATTENTION: the teammate posted about it and has not noted it resolved, or an alert
of it created in the last hours waits for its decision. WATCHING: it is watching before
saying anything. CLOSED: it noted it resolved, or nothing was decided on it for a while.
NOT_POSTED: it looked and decided it was not worth a message.
| Value | Description |
|---|---|
NEEDS_ATTENTION | |
WATCHING | |
CLOSED | |
NOT_POSTED |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
BayesSourceChange
BayesSourceChange is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
kind | String! | fix_confirmed, disposition_changed or status_changed. |
observedTime | DateTime! | When the change happened at its source. |
status | String! | pending: Bayes will review it. waiting: Bayes is not following this issue yet. handled: Bayes decided on it. expired: Bayes did not review it. |
cause | String | For status_changed, why the status changed, such as regressed, ignored or unignored. For disposition_changed, ignored or restored. Null for fix_confirmed. |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
BayesTimelineEntry
BayesTimelineEntry is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
type | String! | decision, post, source_change, grouped (an alert joined), merged (another row was merged into this one) or closed_no_activity. |
time | DateTime! | When. For a decision, the start of its hourly run. |
decision | TeammateDecision | Set on a decision. |
reason | String | A decision's reason. Replaced by a notice when its item is content the caller may not see. Null when the request disables data sampling. |
postUuid | UUID | The post of a decision or a post entry. |
itemId | UUID | The alert or agent issue a decision or a join is on. |
reopened | Boolean! | True on the first decision of a run after the row was Closed or Not posted. False on every other entry. |
kind | String | For a source_change: fix_confirmed, disposition_changed or status_changed. |
status | String | For a source_change: pending, waiting, handled or expired. |
cause | String | Why the source changed, when it has a cause. |
Used by 2 operations: getBayesIssue (query), getBayesIssues (query).
ConversationMessage
ConversationMessage is an object type in the Monte Carlo GraphQL API.
One message of a stored conversation.
| Field | Type | Description |
|---|---|---|
role | String! | Who sent it, such as user or assistant. |
author | String | Display name of the person, when known. |
text | String! | |
sentAt | DateTime |
Used by 2 operations: getConversation (query), getConversationForAgentRun (query).
ConversationSearchMatch
ConversationSearchMatch is an object type in the Monte Carlo GraphQL API.
A past conversation that matches the query.
| Field | Type | Description |
|---|---|---|
id | UUID! | Pass it to getConversation, or to getConversationForAgentRun when it came from searchConversationsForAgentRun. |
tldr | String! | A 2-4 sentence summary. |
date | DateTime | When the conversation started, or its last chat turn when the start is unknown. |
source | ConversationSource! | |
link | String | Slack permalink. Null for web app conversations. |
lastActivityAt | DateTime | The conversation's last chat turn. The summary and transcript can lag it until the next re-index. |
Used by 2 operations: searchConversations (query), searchConversationsForAgentRun (query).
ConversationSearchResponse
ConversationSearchResponse is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
results | [ConversationSearchMatch!]! | Up to 5 conversations the caller may see, most similar first. There is no similarity cutoff, so a result can be unrelated to the query. |
restrictions | [ConversationSearchRestriction!]! | Limits that applied to this caller. They can explain an empty result. They never say whether a hidden conversation exists. |
Used by 2 operations: searchConversations (query), searchConversationsForAgentRun (query).
ConversationSearchRestriction
ConversationSearchRestriction is an enum type in the Monte Carlo GraphQL API.
A limit on what the caller can see. DOMAIN_RESTRICTED: the caller sees only the Slack conversations of the domains in scope. WEB_UI_EXCLUDED: web app conversations are left out, because the search came from a shared surface.
| Value | Description |
|---|---|
DOMAIN_RESTRICTED | |
WEB_UI_EXCLUDED |
Used by 2 operations: searchConversations (query), searchConversationsForAgentRun (query).
ConversationSource
ConversationSource is an enum type in the Monte Carlo GraphQL API.
Where a chat conversation happened.
| Value | Description |
|---|---|
WEB_UI | |
SLACK |
Used by 4 operations: getConversation (query), getConversationForAgentRun (query), searchConversations (query), searchConversationsForAgentRun (query).
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
