Types used by more than one operation in Performance and cost. Each type has its own section.
BillingInvoicesSort
BillingInvoicesSort is an enum type in the Monte Carlo GraphQL API.
| Value | Description |
|---|---|
date_asc | |
date_desc |
Used by 2 operations: getBillingContractInvoices (query), getBillingInvoices (query).
BillingInvoiceStatus
BillingInvoiceStatus is an enum type in the Monte Carlo GraphQL API.
| Value | Description |
|---|---|
DRAFT | |
FINALIZED | |
VOID |
Used by 2 operations: getBillingContractInvoices (query), getBillingInvoices (query).
CostFindingCalculationOutput
CostFindingCalculationOutput is an object type in the Monte Carlo GraphQL API.
How a shown figure was calculated, in enough detail to recompute it.
| Field | Type | Description |
|---|---|---|
formula | String! | The formula over the inputs, by name. |
formulaVersion | String! | Changes whenever the formula changes. |
inputs | [CostFindingInputOutput!]! | |
price | CostFindingPriceOutput! | The price the figure was converted with. A figure whose inputs are already in dollars states the rate they were priced at. |
window | CostFindingWindowOutput! | |
assumption | String | One fixed sentence saying what an estimate assumes. Set on 'ESTIMATED' figures only. |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingChange
CostFindingChange is an enum type in the Monte Carlo GraphQL API.
How a cost finding compares with the same finding in the previous run.
| Value | Description |
|---|---|
NEW | Not in the previous run. |
UNCHANGED | In the previous run, unchanged. |
CHANGED | In the previous run, with different evidence or figures. |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingEvidenceOutput
CostFindingEvidenceOutput is an object type in the Monte Carlo GraphQL API.
One fact, computed from the account's data, that the finding rests on.
| Field | Type | Description |
|---|---|---|
name | String! | |
value | GenericScalar! | A number, a string or a boolean. |
unit | String | Unit of a numeric 'value'. |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingFigureOutput
CostFindingFigureOutput is an union type in the Monte Carlo GraphQL API.
A dollar figure on a finding: shown with its calculation, or withheld.
One of: CostFindingShownFigureOutput, CostFindingWithheldFigureOutput
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingFigureStatus
CostFindingFigureStatus is an enum type in the Monte Carlo GraphQL API.
Whether a cost finding's figure is shown, or withheld with a reason.
| Value | Description |
|---|---|
SHOWN | |
WITHHELD |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingFigureTier
CostFindingFigureTier is an enum type in the Monte Carlo GraphQL API.
How a shown figure was produced: measured from data, computed by a fixed formula, or
estimated with an assumed share.
| Value | Description |
|---|---|
MEASURED | |
COMPUTED | |
ESTIMATED |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingFixType
CostFindingFixType is an enum type in the Monte Carlo GraphQL API.
What a cost finding asks the customer to change.
| Value | Description |
|---|---|
DELETE_UNUSED_TABLES | |
CUT_IDLE_TIME | |
SHRINK_WAREHOUSE | |
REMOVE_RUNS | |
MAKE_WORK_CHEAPER |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingInputOutput
CostFindingInputOutput is an object type in the Monte Carlo GraphQL API.
One input to a figure's formula, and the record it was read from.
| Field | Type | Description |
|---|---|---|
name | String! | The symbol the formula uses for this input. |
value | Float! | In 'unit'. |
unit | String! | Unit of 'value', e.g. 'bytes' or 'credits'. |
source | String! | The dataset the value was read from. |
sourceId | String! | The record within 'source': a table MCON, a platform warehouse ID, a query group ID, or a table entry name. |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingLostAnalysisOutput
CostFindingLostAnalysisOutput is an object type in the Monte Carlo GraphQL API.
An analysis a cost insights run could not do for a warehouse, and why.
| Field | Type | Description |
|---|---|---|
warehouseUuids | [UUID!]! | UUIDs of the warehouses the analysis was lost for. |
fixType | CostFindingFixType! | |
reasonCode | CostFindingWithheldReason! | |
reasonText | String! | The customer-facing line. |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingOutput
CostFindingOutput is an object type in the Monte Carlo GraphQL API.
A cost finding: what to change, why, and what it costs and would save.
| Field | Type | Description |
|---|---|---|
fixType | CostFindingFixType! | |
platform | String! | The warehouse platform, lowercase, e.g. 'snowflake' or 'bigquery'. |
platformAccount | String | The Snowflake account the warehouses connect to. Null for other platforms, or when no connection names it. |
warehouseUuids | [UUID!]! | UUIDs of every warehouse that reports what this finding targets. When several warehouses report the same platform warehouse, the finding lists all of them. |
targets | [CostFindingTargetOutput!]! | |
evidence | [CostFindingEvidenceOutput!]! | |
text | CostFindingTextOutput! | |
stableKey | String! | The same for the same finding in every run, while 'keyVersion' is unchanged. |
keyVersion | Int! | Changes when the way 'stableKey' is derived changes. |
earlierKeys | [String!]! | The finding's key under each earlier 'keyVersion'. Something filed against the finding before a version change matches one of them. Empty when the key never changed. |
removeRunsCase | CostFindingRemoveRunsCase | Why the job's runs can go. Set on 'REMOVE_RUNS' findings only. |
pattern | String | A code naming what makes the job expensive, e.g. 'full_rebuild_could_be_incremental'. Set on 'MAKE_WORK_CHEAPER' findings only. |
change | CostFindingChange | How the finding compares with the same finding in the previous run. Null when the finding wasn't compared. |
currentSpend | CostFindingFigureOutput! | What the flagged tables, warehouse or job cost today. |
saving | CostFindingFigureOutput! | What acting on the finding would save. |
overlapGroup | String | The same for findings that share a table, warehouse or job, directly or through another finding. Their savings overlap, so a total counts each group once, at its largest saving. Null on runs from before the field existed: count such a finding as its own group. |
outputTableMcon | String | The MCON of the table the job writes. Set on 'REMOVE_RUNS' and 'MAKE_WORK_CHEAPER' findings only. Null on runs from before the field existed. |
warehouseId | String | The platform's ID of the warehouse the job runs on. Set on Snowflake 'REMOVE_RUNS' and 'MAKE_WORK_CHEAPER' findings whose warehouse the run measured. |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingPriceOutput
CostFindingPriceOutput is an object type in the Monte Carlo GraphQL API.
The price a figure was converted to dollars with.
| Field | Type | Description |
|---|---|---|
amount | Float! | Dollars per 'unit'. |
unit | String! | e.g. 'USD/credit' or 'USD/TB-month'. |
source | CostFindingPriceSource! | |
asOf | Date | The billing day of a 'BILLED_AVERAGE' price. Null on other sources. |
label | String | The price and its source in words, e.g. '$2.49/credit, your billed average as of Oct 31, 2026'. Null on findings stored before labels existed. |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingPriceSource
CostFindingPriceSource is an enum type in the Monte Carlo GraphQL API.
Where the price a figure was converted with came from: the platform's list price, a
price the customer entered, or the customer's billed average from their own billing
data.
| Value | Description |
|---|---|
STANDARD | |
CUSTOMER | |
BILLED_AVERAGE |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingRemoveRunsCase
CostFindingRemoveRunsCase is an enum type in the Monte Carlo GraphQL API.
Why a job's runs can go: its output is unused, its runs fail, its runs duplicate each
other, or it runs more often than its output is read.
| Value | Description |
|---|---|
UNUSED_OUTPUT | |
FAILING | |
DUPLICATE | |
TOO_FREQUENT |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingShownFigureOutput
CostFindingShownFigureOutput is an object type in the Monte Carlo GraphQL API.
A dollar figure on a finding that is shown, with how it was calculated.
| Field | Type | Description |
|---|---|---|
status | CostFindingFigureStatus! | |
usdPerMonth | Float! | Dollars a month. |
creditsPerMonth | Float | The same figure in credits. Set for Snowflake compute figures only. |
tier | CostFindingFigureTier! | How the figure was produced. A current spend is always 'MEASURED'. A saving is 'COMPUTED' or 'ESTIMATED'. |
calculation | CostFindingCalculationOutput! | |
label | String | What a current spend measures on its fix type, e.g. 'Idle spend'. Null on savings and on findings stored before labels existed. |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingTargetKind
CostFindingTargetKind is an enum type in the Monte Carlo GraphQL API.
The kind of thing a cost finding targets.
| Value | Description |
|---|---|
TABLE | |
WAREHOUSE | |
QUERY_GROUP |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingTargetOutput
CostFindingTargetOutput is an object type in the Monte Carlo GraphQL API.
One thing a finding asks the customer to change.
| Field | Type | Description |
|---|---|---|
kind | CostFindingTargetKind! | |
id | String! | A table's MCON, the platform's warehouse ID, or a query group ID, by 'kind'. |
sizeBytes | Float | A table's size in bytes. Set on the tables of an unused-tables finding; null on other targets and on findings stored before sizes existed. |
downstreamCount | Int | How many tables, views, streams and BI assets sit directly downstream of a table in Monte Carlo's lineage. Set on the tables of an unused-tables finding; 0 when lineage shows none. Null when the count is unknown, on other targets, and on findings stored before counts existed. |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingTextOutput
CostFindingTextOutput is an object type in the Monte Carlo GraphQL API.
The finding's words.
| Field | Type | Description |
|---|---|---|
title | String! | |
headline | String | A short title for a card. |
body | String! | Markdown. |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingWindowOutput
CostFindingWindowOutput is an object type in the Monte Carlo GraphQL API.
The dates a figure's inputs cover, both ends included.
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingWithheldFigureOutput
CostFindingWithheldFigureOutput is an object type in the Monte Carlo GraphQL API.
A dollar figure on a finding that is not shown, and why.
| Field | Type | Description |
|---|---|---|
status | CostFindingFigureStatus! | |
reasonCode | CostFindingWithheldReason! | |
reasonText | String! | The customer-facing line for 'reasonCode'. |
label | String | What a current spend measures on its fix type, e.g. 'Idle spend'. Null on savings and on findings stored before labels existed. |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
CostFindingWithheldReason
CostFindingWithheldReason is an enum type in the Monte Carlo GraphQL API.
Why a cost finding's figure, or an analysis, is missing.
| Value | Description |
|---|---|
DATA_UNAVAILABLE | |
DATA_LATE | |
COLLECTING_DATA | |
NOT_ENROLLED | |
USAGE_UNAVAILABLE | |
NO_PRICE | |
NOT_SUPPORTED | |
NOT_VERIFIABLE | |
OUTSIDE_TOP_WAREHOUSES | |
SAVING_NOT_CALCULATED | |
PER_QUERY_COST | |
RESERVED_CAPACITY |
Used by 3 operations: getAgentCostFindings (query), getCostKeyFindings (query), getPerformancePageInsights (query).
DataPoint
DataPoint is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
timestamp | DateTime! | |
value | Float! |
Used by 2 operations: getQueryRuntimePercentileTimeseries (query), simulateQueryPerfMonitorEvaluation (query).
DbtJobInfo
DbtJobInfo is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
integrationType | String! | Type of Integration |
jobName | String | Name of Job |
mcDbtJobMcon | String | MC dbt Job mcon |
mcDbtJobExecutionId | UUID | MC dbt Job Execution ID (uuid) |
mcDbtRunId | UUID | MC dbt Run ID (uuid) |
dbtCloudJobId | String | dbt Cloud Job ID |
dbtCloudRunId | String | dbt Cloud Run ID |
dbtNodeId | String | dbt node ID |
dbtNodeName | String | dbt node name |
invocationId | String | dbt Invocation ID |
Used by 3 operations: getQueryLogs (query), getQueryPerfMonitorExplanation (query), getQueryPerfMonitorExplanationForEvent (query).
DisplayableFieldValueType
DisplayableFieldValueType is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
fieldName | String! | |
valueAsString | String | |
valueAsStringArray | [String] | |
linkedMcon | String | |
linkedMconArray | [String] |
Used by 4 operations: getQueryLogs (query), getQueryPerfMonitorExplanation (query), getQueryPerfMonitorExplanationForEvent (query), getTopQueryGroups (query).
ExplanationDataPointType
ExplanationDataPointType is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
queryId | String! | Query ID of query execution |
timestamp | DateTime! | Timestamp of query |
executionTime | Int! | Execution time of query |
baselineMetric | Float | Historical baseline metric |
pctIncreaseOverBaselineUpperThreshold | Float | Upper threshold of % increase over historical baseline metric |
isBreach | Boolean! | True if this query execution breaches monitor. |
Used by 2 operations: getQueryPerfMonitorExplanation (query), getQueryPerfMonitorExplanationForEvent (query).
FacetResultType
FacetResultType is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
value | String! | Field value |
displayName | String | Display name |
count | Int! | Count |
Used by 2 operations: getQueryLogsFacets (query), getQueryLogsFacetsV2 (query).
JobInfo
JobInfo is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
dbtJobInfo | DbtJobInfo |
Used by 3 operations: getQueryLogs (query), getQueryPerfMonitorExplanation (query), getQueryPerfMonitorExplanationForEvent (query).
JobPerformanceFacet
JobPerformanceFacet is an enum type in the Monte Carlo GraphQL API.
| Value | Description |
|---|---|
DOMAIN | |
JOB_NAME | |
JOB_TYPE | |
LAST_RUN_STATUS | |
TAGS | |
DBT_PROJECT | |
DBT_ENVIRONMENT | |
ETL_CONTAINER | |
ETL_GROUP |
Used by 3 operations: getJobsPerformanceData (query), getJobsPerformanceFacets (query), searchJobsPerformanceFacet (query).
JobsPerformanceFacetFilterInput
JobsPerformanceFacetFilterInput is an input object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
facet | JobPerformanceFacet! | Facet these filter selections apply to |
includeOptions | [String!] | Filter to include only these options, if provided |
excludeOptions | [String!] | Filter to exclude these options, if provided |
Used by 3 operations: getJobsPerformanceData (query), getJobsPerformanceFacets (query), searchJobsPerformanceFacet (query).
JobsPerformanceFacetOption
JobsPerformanceFacetOption is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
displayName | String | Display text to use, if different from value, such as when value is a UUID but we want human readable option |
value | String! | Unique value (within the facet) for the option |
matchCount | String! | Number of jobs associated with this value |
Used by 2 operations: getJobsPerformanceFacets (query), searchJobsPerformanceFacet (query).
JobsPerformanceFacetResponse
JobsPerformanceFacetResponse is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
facet | JobPerformanceFacet! | Field name |
displayName | String! | Facet display name |
options | [JobsPerformanceFacetOption] | Facet options |
Used by 2 operations: getJobsPerformanceFacets (query), searchJobsPerformanceFacet (query).
JobsPerformanceFilterInput
JobsPerformanceFilterInput is an input object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
startTime | DateTime! | Starting time of period to query for |
endTime | DateTime | Ending time of period to query for |
facetFilters | [JobsPerformanceFacetFilterInput!] | All currently applied facet filters |
jobMcons | [String!] | Job mcons to filter by |
Used by 3 operations: getJobsPerformanceData (query), getJobsPerformanceFacets (query), searchJobsPerformanceFacet (query).
PerformanceInsightTicket
PerformanceInsightTicket is an object type in the Monte Carlo GraphQL API.
A ticket (Linear issue / Jira ticket) created from cost/performance insights.
| Field | Type | Description |
|---|---|---|
id | UUID! | Linkage identifier. |
provider | PerformanceInsightTicketProvider! | Ticketing provider the ticket was created in. |
identifier | String! | Human-readable ticket key shown in the URL (e.g. ENG-123, COST-45). |
url | String! | Web URL of the created ticket. |
sourceThreadId | String | Run that surfaced the insights this ticket covers. Null for a ticket filed by 'coveredFindingKeys', which isn't tied to one run. |
coveredInsightKeys | [String!]! | Keys of all insights this ticket covers, within 'sourceThreadId' (a ticket can span several). Empty for a ticket filed by 'coveredFindingKeys'. |
coveredFindingKeys | [String!]! | Stable keys of all findings this ticket covers. The ticket shows on a finding with one of these keys in any run. Empty for a ticket filed by 'coveredInsightKeys'. |
findingKeyVersion | Int | Key version of 'coveredFindingKeys'. Null when they are empty. |
createdBy | UserInfoOutput | Display label for the user who created the ticket. 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. |
createdTime | DateTime! | When the ticket was created. |
Used by 3 operations: createJiraTicketForPerformanceInsights (mutation), createLinearTicketForPerformanceInsights (mutation), getPerformancePageInsights (query).
PerformanceInsightTicketProvider
PerformanceInsightTicketProvider is an enum type in the Monte Carlo GraphQL API.
| Value | Description |
|---|---|
LINEAR | |
JIRA |
Used by 3 operations: createJiraTicketForPerformanceInsights (mutation), createLinearTicketForPerformanceInsights (mutation), getPerformancePageInsights (query).
QPMonitorConfigInputType
QPMonitorConfigInputType is an input object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
metadata | QuerySelectionInput! | Query selection |
comparisons | [CustomRuleComparisonInput]! | Comparisons |
Used by 2 operations: getQueryPerfMonitorExplanation (query), simulateQueryPerfMonitorEvaluation (query).
QPMonitorExplanationType
QPMonitorExplanationType is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
dataPoints | [ExplanationDataPointType]! | List of data points, with metrics that explain monitor evaluation |
breachingQueryLogs | [QueryLogResultType]! | List of breaching query logs |
Used by 2 operations: getQueryPerfMonitorExplanation (query), getQueryPerfMonitorExplanationForEvent (query).
QueryLogResultType
QueryLogResultType is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
timestamp | DateTime! | |
warehouseUuid | String! | |
queryId | String! | |
querySnippet | String! | |
query | String! | |
queryGroup | String | |
queryLength | Int | |
user | String | DEPRECATED, use displayableFieldValues |
status | String | DEPRECATED, use displayableFieldValues |
destination | String | DEPRECATED, use displayableFieldValues |
runtime | Int | |
displayableFieldValues | [DisplayableFieldValueType] | |
destinationMcon | String | |
jobInfo | JobInfo |
Used by 3 operations: getQueryLogs (query), getQueryPerfMonitorExplanation (query), getQueryPerfMonitorExplanationForEvent (query).
QueryLogsFacetRequestType
QueryLogsFacetRequestType is an input object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
fieldName | String | Field name |
searchCriteria | SearchCriteriaType | |
applyMask | Boolean | Apply mask |
first | Int | First |
searchPrefix | String | Search facets by prefix |
includedQueryTypes | [QueryLogType] | The query log types we want to include in the time series aggregation. The options are [READ], [WRITE] or [READ, WRITE] |
Used by 2 operations: getQueryLogsFacets (query), getQueryLogsFacetsV2 (query).
QueryLogsFacetResponseType
QueryLogsFacetResponseType is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
fieldName | String | Field name |
facetResults | [FacetResultType] | Facet results |
Used by 2 operations: getQueryLogsFacets (query), getQueryLogsFacetsV2 (query).
QueryLogsRequestInput
QueryLogsRequestInput is an input object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
searchCriteria | SearchCriteriaType! | |
queryGroupField | String | Default: "group_hash". |
queryRuntimeField | String | Default: "metadata.total_elapsed_time_in_ms". |
sortField | String | Default: "timestamp". |
sortOrder | String | Default: "desc". |
first | Int | Default: 25. |
offset | Int | Default: 0. |
includedQueryTypes | [QueryLogType] | Query types to include in the results. Can be READ, WRITE or both. By default it will use WRITE |
Used by 2 operations: getQueryLogTimeline (query), getQueryLogs (query).
SearchCriteriaType
SearchCriteriaType is an input object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
indexedFieldFilters | [IndexedFieldFilterType] | List of indexed field filters |
queryGroup | String | |
startTime | DateTime | start time, overrides days_back |
endTime | DateTime | end time, overrides days_back |
queryGroupField | String | Default: "group_hash". |
queryIds | [String] | List of query ids |
requireRuntimeField | Boolean | When set, only return queries with the execution_time_ms_l field present Default: true. |
Used by 7 operations: getQueryLogTimeline (query), getQueryLogs (query), getQueryLogsFacets (query), getQueryLogsFacetsV2 (query), getQueryPerformanceData (query), getQueryRuntimePercentileTimeseries (query), getTopQueryGroups (query).
SpendByKind
SpendByKind is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
monitoring | Float! | Spend on monitors and Agent Observability. |
bayes | Float! | Spend on Bayes agents: runs, reviews and daily agents. |
total | Float! | Monitoring and Bayes spend together. |
dailyMetered | Float! | The part of this window's spend from sources charged by the day: monitors and the agents billed daily. For today it is an estimate of what recurs tomorrow. It drops when a monitor or agent stops before the nightly charge. Over a longer window it sums those daily charges. |
bySource | [SpendBySource!]! | The spend per source. Sources with no spend are left out. |
Used by 2 operations: getSpendHistory (query), getSpendSummary (query).
SpendBySource
SpendBySource is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
source | SpendChargeSource! | |
amount | Float! | The spend in unit. |
Used by 2 operations: getSpendHistory (query), getSpendSummary (query).
SpendChargeSource
SpendChargeSource is an enum type in the Monte Carlo GraphQL API.
What produced spend: a monitor type, a Bayes agent or Agent Observability.
| Value | Description |
|---|---|
TABLE | |
METRIC | |
VALIDATION | |
METRIC_COMPARISON | |
CUSTOM_SQL | |
PERFORMANCE | |
JSON_SCHEMA | |
METRIC_LEGACY | |
FRESHNESS_RULE | |
VOLUME_RULE | |
TRIAGE | |
TROUBLESHOOTING_AGENT | |
PR_AGENT | |
COST_AGENT | |
AGENT_OBSERVABILITY | |
PII_AGENT |
Used by 2 operations: getSpendHistory (query), getSpendSummary (query).
SpendGuardrail
SpendGuardrail is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | The guardrail's id. |
scope | SpendGuardrailScope! | |
domainUuid | UUID | The domain limited. Null for the account guardrail. |
amount | Int! | The limit in unit: monthly for the account guardrail, daily for a domain guardrail. |
unit | SpendUnit! | |
origin | SpendGuardrailOrigin! | |
setBy | String | Display label for the user who set the guardrail. 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. Null when it was set automatically. |
setTime | DateTime! | When the guardrail was set. |
Used by 2 operations: setSpendGuardrail (mutation), getSpendSummary (query).
SpendGuardrailOrigin
SpendGuardrailOrigin is an enum type in the Monte Carlo GraphQL API.
How a guardrail was set.
| Value | Description |
|---|---|
MANUAL | |
RECOMMENDED_AT_ROLLOUT | |
RECOMMENDED_APPLIED |
Used by 2 operations: setSpendGuardrail (mutation), getSpendSummary (query).
SpendUnit
SpendUnit is an enum type in the Monte Carlo GraphQL API.
The unit spend and guardrails are in: credits, or US cents for accounts billed in
dollars.
| Value | Description |
|---|---|
CREDITS | |
USD_CENTS |
Used by 5 operations: setSpendGuardrail (mutation), getPerformancePageInsights (query), getSpendGuardrailRecommendations (query), getSpendHistory (query), getSpendSummary (query).
StorageCandidateTicket
StorageCandidateTicket is an object type in the Monte Carlo GraphQL API.
A Linear issue or Jira ticket for storage optimization candidates or unused tables.
| Field | Type | Description |
|---|---|---|
id | UUID! | Linkage identifier. |
provider | StorageCandidateTicketProvider! | Ticketing provider the ticket was created in. |
identifier | String! | Human-readable ticket key shown in the URL (e.g. ENG-123, COST-45). |
url | String! | Web URL of the created ticket. |
coveredMcons | [String!]! | MCONs of all tables this ticket covers (a ticket can span several). |
createdBy | UserInfoOutput | Display label for the user who created the ticket. 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. |
createdTime | DateTime! | When the ticket was created. |
Used by 4 operations: createJiraTicketForStorageCandidates (mutation), createLinearTicketForStorageCandidates (mutation), getStorageOptimizationCandidates (query), getStorageUnusedTables (query).
StorageCandidateTicketProvider
StorageCandidateTicketProvider is an enum type in the Monte Carlo GraphQL API.
| Value | Description |
|---|---|
LINEAR | |
JIRA |
Used by 4 operations: createJiraTicketForStorageCandidates (mutation), createLinearTicketForStorageCandidates (mutation), getStorageOptimizationCandidates (query), getStorageUnusedTables (query).
StorageOptimizationPageInfo
StorageOptimizationPageInfo is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
hasNextPage | Boolean! | Whether more results are available after this page |
endCursor | String | Cursor to pass as 'after' to fetch the next page |
Used by 2 operations: getStorageOptimizationCandidates (query), getStorageUnusedTables (query).
StorageOptimizationSortDirection
StorageOptimizationSortDirection is an enum type in the Monte Carlo GraphQL API.
Direction a storage optimization list is sorted in.
| Value | Description |
|---|---|
ASC | |
DESC |
Used by 2 operations: getStorageOptimizationCandidates (query), getStorageUnusedTables (query).
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
