Related queries and mutations in AI features. Each has its own section.
Queries
getAgenticPlatformConfig (query)
getAgenticPlatformConfig is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Returns the agentic platform configuration for the caller's account, including current status and the most recent run timestamp.
Returns
Example
query GetAgenticPlatformConfig {
getAgenticPlatformConfig {
uuid
isEnabled
scope
agenticScopeUuids
status
lastRunAt
}
}Related types
getAgenticPlatformPipelineExecutions (query)
getAgenticPlatformPipelineExecutions is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List recent executions for the caller's account, newest first. Optionally filter by pipeline.
Arguments
| Argument | Type | Description |
|---|---|---|
first | Int! | Number of items to return (page size) |
pipelineUuid | UUID | When set, return only executions for this pipeline. |
before | String | |
after | String | |
last | Int |
Returns
AgenticPlatformPipelineExecutionConnection
Example
query GetAgenticPlatformPipelineExecutions($first: Int!) {
getAgenticPlatformPipelineExecutions(first: $first) {
totalCount
}
}Types used only by getAgenticPlatformPipelineExecutions
getAgenticPlatformPipelineExecutionsAgenticPlatformPipelineExecutionConnection
AgenticPlatformPipelineExecutionConnectionObject type.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [AgenticPlatformPipelineExecutionEdge]! | Contains the nodes in this connection. |
totalCount | Int! | Total number of executions matching the query. |
AgenticPlatformPipelineExecutionEdge
AgenticPlatformPipelineExecutionEdgeObject type. A Relay edge containing a AgenticPlatformPipelineExecution and its cursor.
| Field | Type | Description |
|---|---|---|
node | AgenticPlatformPipelineExecutionOutput | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
Related types
AgenticPlatformPipelineExecutionOutput, PageInfo, UUID
getAgenticPlatformPipelines (query)
getAgenticPlatformPipelines is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List the agentic platform pipelines configured for the caller's account.
Arguments
| Argument | Type | Description |
|---|---|---|
first | Int! | Number of items to return (page size) |
before | String | |
after | String | |
last | Int |
Returns
AgenticPlatformPipelineConnection
Example
query GetAgenticPlatformPipelines($first: Int!) {
getAgenticPlatformPipelines(first: $first) {
totalCount
}
}Types used only by getAgenticPlatformPipelines
getAgenticPlatformPipelinesAgenticPlatformPipelineConnection
AgenticPlatformPipelineConnectionObject type.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [AgenticPlatformPipelineEdge]! | Contains the nodes in this connection. |
totalCount | Int! | Total number of pipelines matching the query. |
AgenticPlatformPipelineEdge
AgenticPlatformPipelineEdgeObject type. A Relay edge containing a AgenticPlatformPipeline and its cursor.
| Field | Type | Description |
|---|---|---|
node | AgenticPlatformPipelineOutput | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
Related types
AgenticPlatformPipelineOutput, PageInfo
getCostAgentSettings (query)
getCostAgentSettings is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Returns the Cost & Performance Agent scope settings for the caller's account: the warehouses it analyzes and the finding types it generates, each as a mode (ALL is unrestricted).
Returns
Example
query GetCostAgentSettings {
getCostAgentSettings {
tier
}
}Related types
getMonitoringRunForDomain (query)
getMonitoringRunForDomain is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Returns the latest monitoring-run execution for a domain, or null when no monitoring run has been requested for it. Poll this after runMonitoringForDomain to track the run's state. RUNNING executions are reconciled against the agent on read, so a freshly-completed run reports its terminal status immediately.
Arguments
| Argument | Type | Description |
|---|---|---|
domainUuid | UUID! | UUID of the metadata domain whose latest monitoring run to fetch. |
Returns
AgenticPlatformPipelineExecutionOutput
Example
query GetMonitoringRunForDomain($domainUuid: UUID!) {
getMonitoringRunForDomain(domainUuid: $domainUuid) {
uuid
pipelineUuid
type
status
startTime
endTime
error
threadId
runId
lastHeartbeatAt
createdTime
updatedTime
}
}Related types
AgenticPlatformPipelineExecutionOutput, UUID
getTriageAutomationConfig (query)
getTriageAutomationConfig is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Returns the automated-triage configuration for the caller's account: the account-level settings, the raw per-domain overrides, and the effective per-domain resolution.
Returns
Example
query GetTriageAutomationConfig {
getTriageAutomationConfig {
triageEnabledDefault
tsaAutomationThreshold
maxAutomatedTriageRunsPerDay
maxAutomatedTriageRunsPerMonth
triageNotificationDeadlineMinutes
}
}Related types
getTriageCostEstimate (query)
getTriageCostEstimate is a query in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Estimate what automatically triaging the account's recent alerts costs at current volume: counts the alerts from the trailing window that the current triage configuration selects, and prices the volume past the monthly free allowance. Null for accounts not on credit-based pricing, where a credit estimate does not apply.
Arguments
| Argument | Type | Description |
|---|---|---|
lastNDays | Int! | Trailing window, in days, to estimate over (1-90). |
Returns
TriageCostEstimateOutput
Example
query GetTriageCostEstimate($lastNDays: Int!) {
getTriageCostEstimate(lastNDays: $lastNDays) {
lastNDays
triageableAlertCount
billableAlertCount
estimatedCredits
freeMonthlyAllowance
creditsPerAlert
}
}Types used only by getTriageCostEstimate
getTriageCostEstimateTriageCostEstimateOutput
TriageCostEstimateOutputObject type. Projected automated-triage volume and cost over a trailing window, computed from the alerts the account's current triage configuration selects. Uncapped by the account's daily quota and monthly cap.
| Field | Type | Description |
|---|---|---|
lastNDays | Int! | The trailing window, in days, the estimate was computed over. |
triageableAlertCount | Int! | Alerts created in the window that the current configuration selects for triage (non-actionable alert types and triage-disabled domains excluded). Includes alerts already triaged, so the count reads the same whether triage is on or off. |
billableAlertCount | Int! | Triageable alerts past the monthly free allowance, which is granted once for the window. |
estimatedCredits | Float! | Projected credits for the billable alerts in the window. |
freeMonthlyAllowance | Int! | Automated triages included at no cost each calendar month. |
creditsPerAlert | Float! | Credits charged per automated triage past the free allowance. |
Mutations
cancelMonitoringRun (mutation)
cancelMonitoringRun is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Cancels the domain's in-flight (running or queued) monitoring run. The run stops at the agent's next step; findings already published stay published, and the domain can be re-run immediately via runMonitoringForDomain.
Arguments
| Argument | Type | Description |
|---|---|---|
domainUuid | UUID! | UUID of the metadata domain whose in-flight monitoring run to cancel. |
Returns
CancelMonitoringRun
Example
mutation CancelMonitoringRun($domainUuid: UUID!) {
cancelMonitoringRun(domainUuid: $domainUuid) {
execution {
uuid
pipelineUuid
type
status
startTime
endTime
error
threadId
runId
lastHeartbeatAt
createdTime
updatedTime
}
}
}Types used only by cancelMonitoringRun
cancelMonitoringRunCancelMonitoringRun
CancelMonitoringRunObject type. Cancel the in-flight monitoring run for a metadata domain.
At most one run per domain is in flight at a time, so the domain names the
target unambiguously. The agent stops at its next step; findings the run
already published stay published, and the domain can be re-run right away
via runMonitoringForDomain. When the run settled on its own in the
meantime, its execution is returned in its actual terminal state rather
than claimed as cancelled. Raises when the domain has no in-flight run.
| Field | Type | Description |
|---|---|---|
execution | AgenticPlatformPipelineExecutionOutput! | The cancelled execution, or its actual state when it reached its own terminal status before the cancel landed. |
Related types
AgenticPlatformPipelineExecutionOutput, UUID
configureAgenticPlatform (mutation)
configureAgenticPlatform is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: No longer accepts writes. Use updateAgenticPlatformPipeline to pause or resume a capability.
DEPRECATED. Deprecated. Always fails. None of its fields reached a scheduler: isEnabled only moved the reported status, and scope / agenticScopeUuids name agentic domains, which no path creates. Use updateAgenticPlatformPipeline to pause or resume a capability.
Arguments
| Argument | Type | Description |
|---|---|---|
input | AgenticPlatformConfigInput! |
Returns
ConfigureAgenticPlatform
Example
mutation ConfigureAgenticPlatform($input: AgenticPlatformConfigInput!) {
configureAgenticPlatform(input: $input) {
config {
uuid
isEnabled
scope
agenticScopeUuids
status
lastRunAt
}
}
}Types used only by configureAgenticPlatform
configureAgenticPlatformAgenticPlatformConfigInput
AgenticPlatformConfigInputInput object type.
| Field | Type | Description |
|---|---|---|
isEnabled | Boolean | Pause or resume the agentic platform for the account. Pass false to pause triage runs, true to resume. Omit to leave unchanged. |
scope | AgenticPlatformScope | Whether the platform should run across the whole account or a selected subset. |
agenticScopeUuids | [UUID!] | Agentic domain UUIDs to watch when scope is DOMAIN_SCOPED. Ignored for ACCOUNT scope. |
ConfigureAgenticPlatform
ConfigureAgenticPlatformObject type. Upsert the agentic platform configuration for the caller's account.
| Field | Type | Description |
|---|---|---|
config | AgenticPlatformConfigOutput! |
Related types
AgenticPlatformConfigOutput, AgenticPlatformScope, UUID
runMonitoringForDomain (mutation)
runMonitoringForDomain is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Runs a one-off, suggest-mode monitoring pass for a metadata domain without persistent side effects — no agent user is provisioned and no schedule is enabled for a cold domain. Pass revisesPlanUuid (and optionally planCorrections) to re-run a plan with the user's changes applied, producing a new plan linked to the one it revises. Poll the run via getMonitoringRunForDomain.
Arguments
| Argument | Type | Description |
|---|---|---|
audienceConditions | [AudienceConditionInput!] | Narrows individual audiences to the triage priorities that reach them. Always a full replace: omitting the argument (or passing null) makes every audience unconditional, the same as passing an empty list; a non-empty list replaces the conditions wholesale. Every audience named here must also appear in this mutation's audience list (audiences, or labels on the mutations that spell it that way), which stays the monitor's full audience set — a condition narrows when one of them is notified, it does not add one. |
audiences | [String!] | Notification audience labels for every monitor this run creates. Applies to this run only and replaces any audiences saved on the domain's monitoring pipeline. Unknown labels are ignored by the agent. |
coverageDraftId | UUID | A pending coverage draft for this domain. The run approves it as you and builds the planSelection / planAgents you picked from it. Requires one of them. Refused when the draft is no longer pending, has no proposal, or you can't write monitors on the domain. |
deployWhenDone | Boolean | true deploys the build's monitors once the run finishes and its plan is complete, with no review step. Requires planSelection or planAgents. The monitors are created as you, so they deploy only if you can still create monitors on the domain at that point. false or omitted leaves the plan for review. |
domainUuid | UUID! | UUID of the metadata domain to run monitoring for. |
monitorTags | [TagKeyValuePairInput!] | Tags added to every monitor this run creates, such as the values for the tag keys the account requires on every monitor. Applies to this run only. A tag the monitor already has for the same key is kept. |
planAgents | [PlanAgentInput!] | The AI agents a generated plan keeps. The build analyzes only these agents. Pass it with planSelection, or alone for a plan that keeps only agents. A build that omits it or passes an empty list analyzes no agents. The plan must keep at least one table or agent. Each traceTableMcon must belong to your account. At most 200 agents. Cannot be combined with planCorrections or an agent scope. |
planCorrections | [PlanCorrectionInput!] | The user's corrections to the plan named by revisesPlanUuid — the structured half of per-run steering, applied deterministically rather than left to the agent to honor. Requires revisesPlanUuid: a correction is a statement about a specific plan, and every target is validated against it. At most 500 per request. Not persisted beyond the run — corrections are never replayed into a later scheduled run. |
planSelection | GenericScalar | The final table selection from a planning session: an object mapping each table MCON to its depth (deep_dive or table_monitor). The run builds exactly these tables and skips its own table selection. Forwarded to the agent as is. May be empty when planAgents is not, since a plan can keep only agents. Cannot be combined with planCorrections or an agent scope. |
revisesPlanUuid | UUID | planUuid of the plan this run should revise. Recorded on the new run so the resulting plan links back to the one it revises (see MonitoringPlan.revisesPlanUuid). Valid on its own — re-running a plan unchanged — and required whenever planCorrections is passed. Re-running always produces a NEW plan; the plan being revised is left as it was. |
runInstructions | String | Optional steering prompt for this run only — e.g. which assets or monitor types to prioritize. Applied in addition to any instructions saved for the account or domain; saved restrictions still apply. Not persisted beyond the run. Truncated to 5000 characters; blank text is ignored. |
targetAgentName | String | Scope this run to a single AI agent, instead of every agent in the domain. Must be sent together with targetTraceTableMcon: agent names are not unique — the same name can belong to two agents on different trace tables — so an agent is identified by both. Use the agentName from getAgentMetadataV2. Omit both to analyze every agent in the domain. |
targetTraceTableMcon | String | The trace-source half of the agent scope, required alongside targetAgentName. Must be the traceTableMcon that getAgentMetadataV2 returned for the agent — it is matched exactly, and the correct value differs by agent source: Snowflake platform agents carry a synthetic aiagent MCON, while Databricks ones carry the MCON of the real trace table or view they read. An MCON that matches no agent in the domain yields a run that suggests nothing. |
Returns
RunMonitoringForDomain
Example
mutation RunMonitoringForDomain($domainUuid: UUID!) {
runMonitoringForDomain(domainUuid: $domainUuid) {
execution {
uuid
pipelineUuid
type
status
startTime
endTime
error
threadId
runId
lastHeartbeatAt
createdTime
updatedTime
}
}
}Types used only by runMonitoringForDomain
runMonitoringForDomainPlanAgentInput
PlanAgentInputInput object type. One AI agent a generated monitoring plan keeps.
| Field | Type | Description |
|---|---|---|
agentName | String! | The agent's agentName from getAgentMetadataV2. |
traceTableMcon | String! | The agent's traceTableMcon from getAgentMetadataV2. Agent names are not unique, so an agent is identified by its name and this MCON together. |
PlanCorrectionAction
PlanCorrectionActionEnum type. What a correction to a proposed monitoring plan asks for. The EXCLUDE_* verbs are enforced deterministically — the excluded asset, monitor or database is removed from what the next run considers. INCLUDE_TABLE is an instruction, not a guarantee: the run will consider the asset, but nothing can force it to find something worth monitoring there. There is no verb for changing a proposed monitor's parameters — that is monitor tuning, not a plan revision.
| Value | Description |
|---|---|
EXCLUDE_TABLE | |
EXCLUDE_MONITOR | |
EXCLUDE_DATABASE | |
INCLUDE_TABLE |
PlanCorrectionInput
PlanCorrectionInputInput object type. One correction a user made to a proposed monitoring plan.
| Field | Type | Description |
|---|---|---|
action | PlanCorrectionAction! | What this correction asks for. |
target | String! | What the correction is about, in the form the action implies: an asset MCON for EXCLUDE_TABLE / INCLUDE_TABLE, a staged monitor finding's uuid for EXCLUDE_MONITOR, a plan container's uuid for EXCLUDE_DATABASE. The target must exist in the plan named by revisesPlanUuid (INCLUDE_TABLE, whose point is that the plan missed it, must be an asset in the domain). |
note | String | Optional short reason, shown to the agent so its explanation of the revised plan can reflect it. Truncated to 500 characters, and dropped entirely once the request's notes exceed the agent's prompt budget — the correction itself is always applied, since enforcement does not depend on the prose. |
RunMonitoringForDomain
RunMonitoringForDomainObject type. Run a one-off, suggest-mode monitoring pass for a metadata domain.
Dispatches the coverage (monitoring) agent for domainUuid without
persistent side effects: no per-domain agent user or internal group is
provisioned, and no scheduled pipeline is enabled for a cold
(never-assisted) domain. The run always uses SUGGEST mode — it emits the
staged finding tree for the user to review and apply. There is no create-mode
option; deploying the suggested monitors is a separate, Write-gated step.
Passing deployWhenDone on a build runs that step for you, as the calling
user, once the plan is complete.
The run dispatches as the calling user, and at most one run per domain is in
flight at a time — calling this while the domain is already running returns
that run instead of starting a second one.
Poll the resulting run's state via getMonitoringRunForDomain.
Passing targetAgentName and targetTraceTableMcon scopes the run to
that one agent rather than every agent in the domain. Both are required
together — agent names are not unique, so an agent is identified by the pair —
and both must come from getAgentMetadataV2. Passing one without the other
is rejected.
Passing planSelection, planAgents, or both builds exactly the plan the
user chose in a planning session, instead of letting the agent select tables
and agents. If the domain is already running, a build returns that run only
when it builds the same tables and agents with the same deployWhenDone.
Any other in-flight run is rejected with MONITORING_RUN_IN_PROGRESS.
Passing coverageDraftId on a build approves that pending coverage draft as
you and starts the build in one step. The approval needs monitor write on the
domain and a draft with a proposal. A draft that is no longer pending is
refused. Otherwise, if the domain already has a run in progress, the call is
rejected with MONITORING_RUN_IN_PROGRESS and is never handed the in-flight
run. If the build can't start, the draft stays pending.
Passing revisesPlanUuid (with or without planCorrections) makes the run
a revision of that plan. A plan is a view over one run's output, so a revision
is always a new plan linked to its predecessor — the plan being revised is never
edited in place. Corrections are per-run only and are never replayed into a
later scheduled run.
| Field | Type | Description |
|---|---|---|
execution | AgenticPlatformPipelineExecutionOutput! | The monitoring-run execution. A freshly created RUNNING row, or the domain's already-running execution when one is still in flight (for a build, only when it builds the same plan) — at most one run per domain runs at a time, whoever started it, so poll the returned execution and re-run once it finishes. |
Related types
AgenticPlatformPipelineExecutionOutput, AudienceConditionInput, GenericScalar, TagKeyValuePairInput, UUID
triggerAgenticPlatformPipeline (mutation)
triggerAgenticPlatformPipeline is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Manually triggers a run of the specified agentic platform pipeline. Disabled pipelines stay manually triggerable (disabled only pauses the schedule). triage and monitoring pipelines are rejected — use triageAlerts and runMonitoringForDomain respectively. Requests matching an in-flight (running or queued) execution for the same user are silently dropped.
Arguments
| Argument | Type | Description |
|---|---|---|
configOverrides | JSONString | Per-run overrides merged onto the pipeline's config. monitor_tuning accepts monitor_uuid to target a single monitor. Triage pipelines are not triggerable here — use the triageAlerts mutation to triage specific alerts. |
pipelineUuid | UUID! | UUID of the pipeline to run. |
Returns
TriggerAgenticPlatformPipeline
Example
mutation TriggerAgenticPlatformPipeline($pipelineUuid: UUID!) {
triggerAgenticPlatformPipeline(pipelineUuid: $pipelineUuid) {
executions {
uuid
pipelineUuid
type
status
startTime
endTime
error
threadId
runId
lastHeartbeatAt
createdTime
updatedTime
}
}
}Types used only by triggerAgenticPlatformPipeline
triggerAgenticPlatformPipelineTriggerAgenticPlatformPipeline
TriggerAgenticPlatformPipelineObject type. Manually trigger a run of an agentic platform pipeline.
Execution rows are created synchronously and returned; the agents
run asynchronously and write their findings back through the agentic
findings endpoint. Fan-out pipelines (e.g. monitor_tuning) return
one execution per resolved target — pass a narrowing override (e.g.
monitor_uuid) in config_overrides to target a single run.
triage and monitoring pipelines are rejected: each has a dedicated
entry point that this generic path cannot honour — triageAlerts (which
claims each incident) and runMonitoringForDomain (which pins the run to
suggest mode and the calling user).
| Field | Type | Description |
|---|---|---|
executions | [AgenticPlatformPipelineExecutionOutput!]! | Execution rows created by this run. One per resolved target for fan-out pipelines; a single-element list otherwise. |
Related types
AgenticPlatformPipelineExecutionOutput, JSONString, UUID
updateAgenticPlatformPipeline (mutation)
updateAgenticPlatformPipeline is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Update an agentic platform pipeline's cadence, disabled flag, or config. Unset inputs are left unchanged.
Arguments
| Argument | Type | Description |
|---|---|---|
config | JSONString | Pipeline-level config to merge into per-run requests. Replaces the existing config wholesale when provided. |
disabled | Boolean | Pause (true) or resume (false) the pipeline. |
pipelineUuid | UUID! | UUID of the pipeline to update. |
rateSeconds | Int | New cadence in seconds. Must be positive when provided. |
Returns
UpdateAgenticPlatformPipeline
Example
mutation UpdateAgenticPlatformPipeline($pipelineUuid: UUID!) {
updateAgenticPlatformPipeline(pipelineUuid: $pipelineUuid) {
pipeline {
uuid
type
rateSeconds
lastExecutionTime
disabled
createdTime
updatedTime
}
}
}Types used only by updateAgenticPlatformPipeline
updateAgenticPlatformPipelineUpdateAgenticPlatformPipeline
UpdateAgenticPlatformPipelineObject type. Update an agentic platform pipeline's cadence, disabled flag, or config.
All inputs are optional; unset fields are left unchanged. config
fully replaces the existing pipeline-level config when provided.
| Field | Type | Description |
|---|---|---|
pipeline | AgenticPlatformPipelineOutput! |
Related types
AgenticPlatformPipelineOutput, JSONString, UUID
updateCostAgentSettings (mutation)
updateCostAgentSettings is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Update the Cost & Performance Agent scope settings for the caller's account. Each setting takes a mode object: omit it to leave the setting unchanged, mode ALL restores unrestricted and must not carry an entry list, and mode RESTRICTED scopes the agent to the listed entries (at least one). Requires AI agent settings edit access.
Arguments
| Argument | Type | Description |
|---|---|---|
findingTypeScope | CostAgentFindingTypeScopeInput | Finding-type scope change. Omit to leave the setting unchanged. |
warehouseScope | CostAgentWarehouseScopeInput | Warehouse scope change. Omit to leave the setting unchanged. |
Returns
UpdateCostAgentSettings
Example
mutation UpdateCostAgentSettings {
updateCostAgentSettings {
settings {
tier
}
}
}Types used only by updateCostAgentSettings
updateCostAgentSettingsCostAgentFindingTypeScopeInput
CostAgentFindingTypeScopeInputInput object type. Finding-type scope change for the Cost & Performance Agent.
| Field | Type | Description |
|---|---|---|
mode | CostAgentScopeMode! | ALL generates every finding type and forbids findingTypes. RESTRICTED generates only findingTypes; it requires that field with at least one entry. |
findingTypes | [CostAgentFindingType!] | Finding types to generate. Required with at least one entry when mode is RESTRICTED; must be omitted when mode is ALL. |
CostAgentWarehouseScopeInput
CostAgentWarehouseScopeInputInput object type. Warehouse scope change for the Cost & Performance Agent.
| Field | Type | Description |
|---|---|---|
mode | CostAgentScopeMode! | ALL analyzes every warehouse on the account and forbids warehouseUuids. RESTRICTED analyzes only warehouseUuids; it requires that field with at least one entry. |
warehouseUuids | [UUID!] | Warehouses to analyze. Required with at least one entry when mode is RESTRICTED; must be omitted when mode is ALL. Every uuid must name a warehouse on the caller's account that is not deleted and has an active non-dbt connection. |
UpdateCostAgentSettings
UpdateCostAgentSettingsObject type. Update the Cost & Performance Agent scope settings for the caller's account.
| Field | Type | Description |
|---|---|---|
settings | CostAgentSettingsOutput! |
Related types
CostAgentFindingType, CostAgentScopeMode, CostAgentSettingsOutput, UUID
updateTriageAutomationConfig (mutation)
updateTriageAutomationConfig is a mutation in the Monte Carlo GraphQL API, in AI features. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Update the automated-triage configuration for the caller's account: the account-level threshold and/or per-domain overrides. Unset inputs are left unchanged.
Arguments
| Argument | Type | Description |
|---|---|---|
clearAllDomainOverrides | Boolean | When true, remove every per-domain override so the account-level settings apply to all domains again. Applied before any domainOverrides entries. Spans the whole account, so it requires domain-settings edit access unrestricted by domain; a domain-restricted caller lists its domains in domainOverrides instead. |
clearMaxAutomatedTriageRunsPerDay | Boolean | When true, remove the per-account daily limit (the fixed safety limit on automated triage still applies). Requires permission to manage AI agent usage. |
clearMaxAutomatedTriageRunsPerMonth | Boolean | When true, remove the per-account monthly limit. Requires permission to manage AI agent usage. |
domainOverrides | [TriageAutomationDomainOverrideInput!] | Domain overrides to set or remove. An entry with both triageEnabled and tsaThreshold null removes the domain's override so it inherits the account-level settings. When a domain appears more than once, the last entry wins. Every domain named requires domain-settings edit access to it. |
maxAutomatedTriageRunsPerDay | Int | Set the optional per-account daily limit on triage runs (counts automated and manual triage). Must be between 1 and 2000 (2000 is a fixed safety limit on automated triage a per-account limit can only tighten). Requires permission to manage AI agent usage, which the Account Owner role grants. |
maxAutomatedTriageRunsPerMonth | Int | Set the optional per-account monthly limit on triage runs (counts automated and manual triage; at least 1). The primary customer-facing volume control. Requires permission to manage AI agent usage, which the Account Owner role grants. |
tsaAutomationThreshold | TsaAutomationThreshold | New account-level threshold at or above which the troubleshooting agent auto-runs on a triaged alert. Requires permission to manage AI agent usage. |
Returns
UpdateTriageAutomationConfig
Example
mutation UpdateTriageAutomationConfig {
updateTriageAutomationConfig {
config {
triageEnabledDefault
tsaAutomationThreshold
maxAutomatedTriageRunsPerDay
maxAutomatedTriageRunsPerMonth
triageNotificationDeadlineMinutes
}
}
}Types used only by updateTriageAutomationConfig
updateTriageAutomationConfigTriageAutomationDomainOverrideInput
TriageAutomationDomainOverrideInputInput object type.
| Field | Type | Description |
|---|---|---|
domainUuid | UUID! | UUID of the domain whose override to set or remove. |
triageEnabled | Boolean | Per-domain triage toggle. Omit or pass null to inherit the account-level setting. |
tsaThreshold | TsaAutomationThreshold | Per-domain troubleshooting-agent threshold. Omit or pass null to inherit the account-level threshold. |
UpdateTriageAutomationConfig
UpdateTriageAutomationConfigObject type. Update the automated-triage configuration for the caller's account.
Unset inputs are left unchanged. Changing the threshold or the daily or
monthly run limit requires permission to manage AI agent usage, which the
Account Owner role grants. Changing domain overrides (including
clearAllDomainOverrides) requires permission to edit AI agent settings
and domain settings, which the Domains Manager role grants.
| Field | Type | Description |
|---|---|---|
config | TriageAutomationConfigOutput! |
Related types
TriageAutomationConfigOutput, TsaAutomationThreshold, UUID
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
