Types used by more than one operation in Agent traces and evaluations. Each type has its own section.
AgentAutoSetupAccountSetting
AgentAutoSetupAccountSetting is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
enabled | Boolean! | Whether new agents inherit automatic setup. |
canEdit | Boolean! | Whether this caller can change the default across all domains. |
writesEnabled | Boolean! | False when automatic setup writes are not yet available for this account. |
Used by 2 operations: updateAgentAutoSetupAccountSetting (mutation), getAgentAutoSetupAccountSetting (query).
AgentAutoSetupChoice
AgentAutoSetupChoice is an enum type in the Monte Carlo GraphQL API.
DEFAULT follows the account setting. ON and OFF override it.
| Value | Description |
|---|---|
DEFAULT | |
ON | |
OFF |
Used by 3 operations: createOrUpdatePlatformAgent (mutation), updateAgentAutoSetup (mutation), getAgentAutoSetupStates (query).
AgentAutoSetupOrigin
AgentAutoSetupOrigin is an enum type in the Monte Carlo GraphQL API.
The setting that determines whether automatic setup is enabled.
| Value | Description |
|---|---|
ACCOUNT | |
AGENT |
Used by 2 operations: updateAgentAutoSetup (mutation), getAgentAutoSetupStates (query).
AgentAutoSetupState
AgentAutoSetupState is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
agentMcon | String! | Canonical MCON of the agent. |
traceTableMcon | String! | Canonical span storage MCON. |
agentName | String! | Exact agent name on this storage. |
choice | AgentAutoSetupChoice! | The agent's saved choice. |
enabled | Boolean! | Whether automatic setup is enabled after inheritance. |
origin | AgentAutoSetupOrigin! | Where the effective value comes from. |
canEdit | Boolean! | Whether this caller has permission to change this agent's choice. |
Used by 2 operations: updateAgentAutoSetup (mutation), getAgentAutoSetupStates (query).
AgentClassificationOutput
AgentClassificationOutput is an object type in the Monte Carlo GraphQL API.
Classification of an AI-observability agent: its origin (user trace
table vs platform agent), platform integration, and which span store
serves its traces.
| Field | Type | Description |
|---|---|---|
sourceType | String! | 'trace_table' for user-managed trace tables, 'platform_agent' for platform agents (lowercase raw values). |
traceBackend | String! | Which span store serves the agent's traces: 'clickhouse' for the AO-managed otel store, 'timescale' for everything else (lowercase raw values). |
platformAgentType | String | Platform integration: 'snowflake' | 'databricks_mlflow_sdk' | 'databricks_mlflow_ka' | 'databricks_genie'. Null for user-managed trace-table agents. |
name | String | Registered agent name (the space_id for Genie agents). For trace-table agents this echoes the caller-supplied agentName; null when unknown. |
displayName | String | Friendly display name with agent-name fallback; null when neither is known. |
traceTableMcon | String | The agent's span-storage mcon — the real trace-table mcon, or the synthetic aiagent mcon for Snowflake platform agents. |
Used by 2 operations: getAgentClassification (query), getAgentMetadataV2 (query).
AgentCostRate
AgentCostRate is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Stable identifier of the rate. |
warehouseUuid | UUID | Warehouse the rate applies to. Null is the account-wide rate, which applies to every warehouse without its own rate. |
unit | CostRateUnit! | Billing unit the rate prices. |
usageType | CostRateUsageType! | What the rate prices: AGENT for the agent's model calls, COMPUTE for the warehouse compute of the SQL it runs. |
amountPerUnit | Float! | Price of one unit, in currency. |
currency | String! | ISO 4217 currency code, such as USD. |
createdTime | DateTime! | When the rate was created. |
updatedTime | DateTime! | When the rate was last changed. |
Used by 2 operations: upsertAgentCostRate (mutation), getAgentCostRates (query).
AgentDatasetBuilderContentStatus
AgentDatasetBuilderContentStatus is an enum type in the Monte Carlo GraphQL API.
RUNNING: the warehouse read is in flight, so ask again. UNAVAILABLE: nothing came back. FAILED: the read failed.
| Value | Description |
|---|---|
RUNNING | |
COMPLETED | |
UNAVAILABLE | |
FAILED |
Used by 2 operations: getAgentDatasetBuilderExportFile (query), getAgentDatasetBuilderPreview (query).
AgentDatasetBuilderDatasetType
AgentDatasetBuilderDatasetType is an enum type in the Monte Carlo GraphQL API.
GOLDEN holds the agent's best-scored conversations, IMPROVEMENT its worst.
| Value | Description |
|---|---|
GOLDEN | |
IMPROVEMENT |
Used by 7 operations: pinAgentDatasetBuilderConversation (mutation), startAgentDatasetBuilderExport (mutation), getAgentDatasetBuilderCandidates (query), getAgentDatasetBuilderExport (query), getAgentDatasetBuilderPreview (query), getAgentDatasetBuilderSummary (query), getConversationThreadV2 (query).
AgentDatasetBuilderEvalMonitor
AgentDatasetBuilderEvalMonitor is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
monitorUuid | UUID! | |
name | String! | |
scaleMin | Float | 0 for true/false judges, 1 for 1-5 judges. |
scaleMax | Float | 1 for true/false judges, 5 for 1-5 judges. |
isSelected | Boolean! | Whether the monitor's scores count toward the datasets. |
Used by 3 operations: updateAgentDatasetBuilderSettings (mutation), getAgentDatasetBuilderCandidates (query), getAgentDatasetBuilderSettings (query).
AgentDatasetBuilderExport
AgentDatasetBuilderExport is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | |
status | AgentDatasetBuilderExportStatus! | |
datasetType | AgentDatasetBuilderDatasetType! | |
workflow | String | Null for an agent without workflows. |
conversationCount | Int! | The conversations exported. |
error | String | Why the export FAILED. |
createdTime | DateTime! |
Used by 2 operations: startAgentDatasetBuilderExport (mutation), getAgentDatasetBuilderExport (query).
AgentDatasetBuilderExportStatus
AgentDatasetBuilderExportStatus is an enum type in the Monte Carlo GraphQL API.
QUEUED and RUNNING: the export query is in flight, so ask again. COMPLETED: the file can be downloaded. FAILED: see error. STALE: the export stopped moving for 30 minutes, so start a new one.
| Value | Description |
|---|---|
QUEUED | |
RUNNING | |
COMPLETED | |
FAILED | |
STALE |
Used by 2 operations: startAgentDatasetBuilderExport (mutation), getAgentDatasetBuilderExport (query).
AgentDatasetBuilderFormat
AgentDatasetBuilderFormat is an enum type in the Monte Carlo GraphQL API.
JSONL: one JSON object per line. ADK: a Google ADK eval set. CORTEX_SQL: a .sql file that creates and loads a table for Cortex Agent evaluations. GENIE_JSON: Genie benchmark questions.
| Value | Description |
|---|---|
JSONL | |
ADK | |
CORTEX_SQL | |
GENIE_JSON |
Used by 2 operations: getAgentDatasetBuilderExportFile (query), getAgentDatasetBuilderPreview (query).
AgentDatasetBuilderPin
AgentDatasetBuilderPin is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
conversationId | String! | |
datasetType | AgentDatasetBuilderDatasetType! | |
pinnedBy | String | Display label for the user who pinned it. 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 that user was deleted. |
pinnedAt | DateTime! | |
expiresAt | DateTime! | 30 days after the conversation started. The pin stops counting then. |
Used by 2 operations: pinAgentDatasetBuilderConversation (mutation), getConversationThreadV2 (query).
AgentDatasetBuilderSettings
AgentDatasetBuilderSettings is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
traceTableMcon | String! | |
agentName | String! | |
floor | Int! | Golden conversations score at least this on every counted 1-5 eval. |
ceiling | Int! | Improvement conversations score at most this on a counted 1-5 eval. |
goldenSize | Int! | |
improvementSize | Int! | |
evalMonitors | [AgentDatasetBuilderEvalMonitor!]! | Every live conversation eval monitor on the agent. |
Used by 3 operations: updateAgentDatasetBuilderSettings (mutation), getAgentDatasetBuilderCandidates (query), getAgentDatasetBuilderSettings (query).
AgentDomainCandidate
AgentDomainCandidate is an object type in the Monte Carlo GraphQL API.
An agent that can be assigned to a domain on its own.
| Field | Type | Description |
|---|---|---|
agentMcon | String! | MCON that identifies the agent. Assign it to a domain. |
agentName | String! | Name of the agent |
displayName | String! | Name to show for the agent |
storageMcon | String! | MCON of the trace table the agent records spans in |
sourceType | AgentSourceType! | Source type |
lastSeenAt | DateTime | When the agent last produced a trace. Null for platform agents. |
Used by 2 operations: getAgentDomainCandidates (query), getAgentDomainCandidatesByMcon (query).
AgentHealthIssueJiraTicket
AgentHealthIssueJiraTicket is an object type in the Monte Carlo GraphQL API.
A Jira ticket created for an agent-health issue.
Present means a ticket already exists for this issue (keyed on the issue's
stable identity, so it persists across pipeline runs); absent means none has
been created yet. Field names mirror AgentHealthIssueLinearTicket so a
shared ticket pill can render either provider.
| Field | Type | Description |
|---|---|---|
identifier | String! | Jira issue key (e.g. ENG-123). |
url | String! | Web URL of the Jira ticket. |
origin | String | Host of the Jira instance the ticket lives on — the creating integration's server-URL host (e.g. acme.atlassian.net). Null when the integration has since been removed and the origin can no longer be derived; a consumer validating the ticket URL against this origin should fail closed (reject the link) on null. |
createdTime | DateTime! | When the Jira ticket was created from this issue. |
Used by 2 operations: createJiraTicketForAgentHealthIssue (mutation), getReinforcementLoopV2Issues (query).
AgentHealthIssueLinearTicket
AgentHealthIssueLinearTicket is an object type in the Monte Carlo GraphQL API.
A Linear ticket created for, or linked to, an agent-health issue.
Present means a ticket already exists for this issue (keyed on the issue's
stable identity, so it persists across pipeline runs); absent means none has
been created yet.
| Field | Type | Description |
|---|---|---|
identifier | String! | Human-readable Linear ticket identifier (e.g. ENG-123). |
url | String! | Web URL of the Linear ticket. |
status | String | Latest Linear workflow-state type, synced via webhook. Null on a created ticket until the first sync. |
createdTime | DateTime! | When the Linear ticket was created from, or linked to, this issue. |
Used by 3 operations: createLinearTicketForAgentHealthIssue (mutation), linkReinforcementLoopIssueTicket (mutation), getReinforcementLoopV2Issues (query).
AgentHealthIssueServiceNowTicket
AgentHealthIssueServiceNowTicket is an object type in the Monte Carlo GraphQL API.
A ServiceNow incident created for an agent-health issue.
Present means an incident already exists for this issue (keyed on the issue's
stable identity, so it persists across pipeline runs); absent means none has
been created yet. Field names mirror AgentHealthIssueJiraTicket so a
shared ticket pill can render either provider.
| Field | Type | Description |
|---|---|---|
identifier | String! | ServiceNow incident number (e.g. INC0010001). |
url | String! | Web URL of the ServiceNow incident. |
origin | String | Canonical host of the ServiceNow instance the incident lives on — always derived from the creating integration's instance name (e.g. acme.service-now.com), never from any custom incident-link URL pattern. Null when the integration has since been removed and the origin can no longer be derived; a consumer validating the ticket URL against this origin should fail closed (reject the link) on null. |
createdTime | DateTime! | When the ServiceNow incident was created from this issue. |
Used by 2 operations: createServiceNowTicketForAgentHealthIssue (mutation), getReinforcementLoopV2Issues (query).
AgentHealthPriority
AgentHealthPriority is an enum type in the Monte Carlo GraphQL API.
Impact bucket of an issue, a distinct axis from severity. HIDDEN applies
to RL V2 issues only and is served only with includeHidden.
| Value | Description |
|---|---|
CRITICAL | |
HIGH | |
MEDIUM | |
LOW | |
HIDDEN |
Used by 2 operations: submitReinforcementLoopIssueFeedback (mutation), getReinforcementLoopV2Issues (query).
AgentSourceType
AgentSourceType is an enum type in the Monte Carlo GraphQL API.
Source type indicating where agent data originates from.
| Value | Description |
|---|---|
TRACE_TABLE | |
PLATFORM_AGENT |
Used by 5 operations: getAgentDomainCandidates (query), getAgentDomainCandidatesByMcon (query), getAgentMetadataV2 (query), getAgentObservabilityBillingInfo (query), getAgentReadableIdentity (query).
AgentSpanFieldFilterInput
AgentSpanFieldFilterInput is an input object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
value | String |
Used by 8 operations: createOrUpdateAgentEvaluationMonitor (mutation), createOrUpdateAgentMetricMonitor (mutation), createOrUpdateAgentTrajectory (mutation), createOrUpdateAgentValidation (mutation), evaluateAgentMonitorDataSource (query), getAgentConversationSampleV2 (query), getAgentSpanSample (query), getAgentSpanSampleV2 (query).
AgentSpanFilterInput
AgentSpanFilterInput is an input object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
agent | AgentSpanFieldFilterInput | |
workflow | AgentSpanFieldFilterInput | |
task | AgentSpanFieldFilterInput | |
spanName | AgentSpanFieldFilterInput |
Used by 8 operations: createOrUpdateAgentEvaluationMonitor (mutation), createOrUpdateAgentMetricMonitor (mutation), createOrUpdateAgentTrajectory (mutation), createOrUpdateAgentValidation (mutation), evaluateAgentMonitorDataSource (query), getAgentConversationSampleV2 (query), getAgentSpanSample (query), getAgentSpanSampleV2 (query).
AgentSpanInput
AgentSpanInput is an input object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
spanId | String! | Caller-supplied correlation token. Opaque to the engine; echoed back on every result/error. Must be unique within a single request. |
traceId | String! | Caller-supplied correlation token. Opaque to the engine. |
parentSpanId | String | Caller-supplied correlation token. Opaque to the engine. |
agent | String! | Agent identifier; surfaced in engine logs only. |
workflow | String | Optional workflow name. |
task | String | Optional task name within the workflow. |
spanName | String | Optional span name. |
modelName | String | Model identifier that produced this LLM-call span, if any. |
startTime | DateTime! | Span start time (UTC). |
endTime | DateTime! | Span end time (UTC). |
prompts | JSONString | JSON-encoded array of {role, content} objects sent to the model. |
completions | JSONString | JSON-encoded array of {role, content} objects returned by the model. |
Used by 2 operations: recordPreflightRun (mutation), runAgentEvaluations (mutation).
ClusteringConfig
ClusteringConfig is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
discoveryModelId | String! | Model id for the one-time taxonomy synthesis. |
classifyModelId | String! | Model id for per-conversation classification (and discovery summaries). |
embeddingModelId | String | Warehouse embedding model producing 1024 dimensions. Defaults to snowflake-arctic-embed-l-v2.0-8k for Cortex and databricks-gte-large-en for Genie. Applies to platform intent spaces. |
embeddingInputCharCap | Int! | Maximum rendered conversation characters sent to the embedding model. Choose a cap within the selected model's token window. |
maxClusters | Int! | Cap on discovered clusters (excludes the Uncategorized bucket). |
discoverySampleSize | Int! | Number of newest eligible conversations fed to discovery. |
discoveryLookbackDays | Int! | Maximum history, in days, discovery scans back to fill its sample. |
classifyCapPerRun | Int! | Maximum conversations classified per run, oldest by readiness first. |
minConfidence | Float! | Confidence below which a label is dropped. On Intent spaces, the conversation routes to Uncategorized. |
userInputCharCap | Int! | Per-turn cap on user-input characters sent to the model. |
agentResponseCharCap | Int! | Per-turn cap on agent-response characters sent to the model. |
minConversations | Int! | Minimum historical conversation count before clustering activates: on intent spaces, the discovery activation floor; on issue spaces, the minimum conversations in the percentile trailing window before percentile clusters assign. |
classifyCadenceMinutes | Int! | Minimum minutes between COMPLETED runs of a kind before the orchestrator dispatches the next — it paces a space's runs (on intent spaces, classification and pre-taxonomy discovery dispatch; on issue spaces, rule evaluation). A run that left claimable backlog re-dispatches on the next tick. A single failed run is retried on the next tick rather than waiting out this interval; consecutive failures back off exponentially, capped at this interval. |
issueWatermarkRangeMinutes | Int! | Minutes covered by each platform-agent issue-space watermark work item. Minimum 30. |
issueWatermarkBatchSize | Int! | Maximum adjacent watermark slices produced or consumed together for a platform-agent issue space. Must be a positive integer. |
backfillSliceHours | Int! | Hours covered by each BACKFILL and lookback work item. Wider than a watermark range because this work drains in the background; bounded so one item's rule matches still fit a single read. |
issueInitialBackfillDays | Int! | Days of retained history queued when an issue space is first enabled. The queued range is capped by the 30-day retention window. |
dailyClassificationBudget | Int! | Maximum conversations classified per trailing 24 hours, summed from COMPLETED runs' processed counts (bootstrap sweeps included; rule evaluation is exempt). At or over budget the space isn't dispatched — the coverage watermark holds and scanning resumes oldest-first when budget frees, so nothing is dropped, only delayed. |
workItemBatchCap | Int! | Maximum work items one consumer run claims from the space's list. Each item is a chunk of conversations. |
collectionLagHours | Int! | Settle window in hours before a conversation's last turn counts. |
percentileWindowDays | Int! | Trailing window, in days, over which issue-space percentile thresholds (e.g. p95 duration) are resolved each run. Issue spaces only — rejected on intent spaces. |
evalScoreThreshold | Float! | Fallback bar for numeric evals whose monitor has no fixed alert threshold, as a score above 1 and up to 5. It moves to the same place on each judge's scale, and a higher value fails more conversations. Conversations scoring on the failing side of it join that eval's issue cluster. Issue spaces only — rejected on intent spaces. |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ClusteringDerivation
ClusteringDerivation is an enum type in the Monte Carlo GraphQL API.
How a cluster's membership is computed. Mirrors the model's ClusterDerivation.
| Value | Description |
|---|---|
LLM | |
RULE |
Used by 8 operations: createOrUpdateConversationClusteringSpace (mutation), createOrUpdateCustomConversationCluster (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), updateReinforcementLoopSelector (mutation), getConversationClustering (query), getConversationClusteringSpaces (query), getReinforcementLoopSelectors (query).
ClusteringFacet
ClusteringFacet is an enum type in the Monte Carlo GraphQL API.
Which panel tab a space serves. Mirrors the model's ClusteringSpaceFacet.
| Value | Description |
|---|---|
INTENT | |
ISSUE |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ClusterSource
ClusterSource is an enum type in the Monte Carlo GraphQL API.
Where a cluster came from: LLM discovery (AUTO) or a user definition (USER).
| Value | Description |
|---|---|
AUTO | |
USER |
Used by 6 operations: createOrUpdateConversationClusteringSpace (mutation), createOrUpdateCustomConversationCluster (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ComputationId
ComputationId is an enum type in the Monte Carlo GraphQL API.
A pricing method in the book. Selects which rate table a lookup reads.
| Value | Description |
|---|---|
SNOWFLAKE_CORTEX_TOKEN_RATE |
Used by 3 operations: upsertLlmPriceBookOverride (mutation), getLlmPriceBook (query), getLlmPriceBookOverrides (query).
ConversationClusterConnection
ConversationClusterConnection is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [ConversationClusterEdge]! | Contains the nodes in this connection. |
totalCount | Int! | Total clusters in the current taxonomy version. |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ConversationClusterEdge
ConversationClusterEdge is an object type in the Monte Carlo GraphQL API.
A Relay edge containing a ConversationCluster and its cursor.
| Field | Type | Description |
|---|---|---|
node | ConversationClusterType | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ConversationClusteringRunConnection
ConversationClusteringRunConnection is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [ConversationClusteringRunEdge]! | Contains the nodes in this connection. |
totalCount | Int! | Total runs recorded for the space. |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ConversationClusteringRunEdge
ConversationClusteringRunEdge is an object type in the Monte Carlo GraphQL API.
A Relay edge containing a ConversationClusteringRun and its cursor.
| Field | Type | Description |
|---|---|---|
node | ConversationClusteringRunType | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ConversationClusteringRunKind
ConversationClusteringRunKind is an enum type in the Monte Carlo GraphQL API.
Whether a run performed taxonomy discovery or conversation assignment.
CLASSIFICATION covers both flavors of assignment run: an intent space's LLM
classification batch, and an issue space's rule evaluation (which submits no
conversations to an LLM — its conversationsSubmitted stays 0).
| Value | Description |
|---|---|
DISCOVERY | |
CLASSIFICATION |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ConversationClusteringRunStage
ConversationClusteringRunStage is an enum type in the Monte Carlo GraphQL API.
DISCOVERY-run sequencing only; null on CLASSIFICATION runs.
| Value | Description |
|---|---|
SUMMARIZE | |
SYNTHESIZE |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ConversationClusteringRunStatus
ConversationClusteringRunStatus is an enum type in the Monte Carlo GraphQL API.
Current lifecycle state of a run.
| Value | Description |
|---|---|
RUNNING | |
COMPLETED | |
ERROR |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ConversationClusteringRunType
ConversationClusteringRunType is an object type in the Monte Carlo GraphQL API.
One discovery or classification execution for a clustering space.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Stable run id. |
kind | ConversationClusteringRunKind! | Whether this run performed discovery or classification. |
stage | ConversationClusteringRunStage | Discovery sequencing step; null on CLASSIFICATION runs. |
status | ConversationClusteringRunStatus! | Current run status. |
attempt | Int! | Retry counter for this run. |
startedAt | DateTime | When the run started; null before dispatch. |
completedAt | DateTime | When the run finished (success or error); null while running. |
conversationsSubmitted | Int! | Conversations the run classified and persisted — the daily classification budget's spend unit, stamped after the assignment write. Always 0 on a rule-evaluation run, which has no LLM batch. |
error | String | Error message; set only when status is ERROR. |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ConversationClusteringSettings
ConversationClusteringSettings is an object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
snowflakeModelId | String | Snowflake Cortex model id clustering runs on this account's Snowflake agents. Null: the warehouse default (llama3.1-70b). |
Used by 2 operations: updateConversationClusteringSettings (mutation), getConversationClusteringSettings (query).
ConversationClusteringSpaceType
ConversationClusteringSpaceType is an object type in the Monte Carlo GraphQL API.
A configured clustering space for an (agent, scope).
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Stable space id. |
agentName | String! | Agent (service_name) this space clusters. |
scopeWorkflow | String | Null = whole agent; else one workflow. |
facet | ClusteringFacet! | Which panel tab this space serves; drives lifecycle, config, and read cardinality. |
isEnabled | Boolean! | Whether clustering is active; false means paused (taxonomy retained). |
taxonomyVersion | Int! | Current taxonomy version. |
discoveryCompletedAt | DateTime | When the current taxonomy completed discovery; null while still discovering. Permanently null on an issue space, which never runs discovery — use state, not this field, to decide whether an issue space has cards to read. |
userGuidance | String | Free-text guidance that steers cluster identity during discovery. |
state | ConversationClusteringState! | Computed enablement state for the (agent, scope). |
config | ClusteringConfig! | Discovery and classification settings. |
clustersWithheldReason | RawContentWithheldReason | Why cluster content was withheld, or null when it was not. |
clusters | ConversationClusterConnection | Current-version taxonomy clusters, in display order. |
runs | ConversationClusteringRunConnection | Discovery/classification run history for this space, newest first. |
classificationWatermark | DateTime | Readiness time through which every conversation has been examined (the coverage watermark the monitor gate reads); null before the first watermark run. |
budgetLimited | Boolean! | True when the trailing-24h classification spend is at the daily budget AND backlog remains — classification is paused by budget, not caught up. Scanning resumes oldest-first when budget frees. |
dailyClassificationBudget | Int! | The space's configured daily classification budget (conversations/24h). |
trailingDaySpend | Int! | Conversations classified over the trailing 24 hours (completed runs). |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ConversationClusteringState
ConversationClusteringState is an enum type in the Monte Carlo GraphQL API.
Enablement state for an (agent, scope, facet). OPT_IN / LOW_VOLUME are
surfaced by the windowed panel read (P7) and arise only on intent spaces; this read
emits DISABLED / DISCOVERING / ENABLED from Postgres alone (no volume count).
DISCOVERING means taxonomy discovery is in progress on an intent space; an issue
space never runs discovery, so there it is the window between opt-in and the first
rule-evaluation run seeding the space's rule clusters.
| Value | Description |
|---|---|
OPT_IN | |
LOW_VOLUME | |
DISCOVERING | |
ENABLED | |
DISABLED | |
WRITER_UNAVAILABLE | Deprecated: Not emitted; kept for older clients.. |
Used by 5 operations: createOrUpdateConversationClusteringSpace (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ConversationClusterType
ConversationClusterType is an object type in the Monte Carlo GraphQL API.
One cluster in a space's current taxonomy version.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Stable cluster id. |
clusterKey | String! | Stable slug; the join key for per-conversation assignments. |
name | String! | Human-readable cluster name. |
description | String! | One-line summary of what belongs in this cluster. |
classificationCriteria | String! | What belongs in this cluster and how it differs from its siblings. |
exemplars | [String!]! | Representative user asks for this cluster. Empty when data sampling is disabled for the owning warehouse or the caller lacks raw-data access. |
exemplarsWithheldReason | RawContentWithheldReason | Why exemplars were withheld, or null when they were not. Read alongside exemplars: an empty list with a null reason means the cluster has none, and an empty list with a reason means the caller may not see the ones it has. Only NO_CONTENT_PERMISSION is fixed by a role grant. |
ordinal | Int! | Position within the cluster's source group — custom (USER) and discovered (AUTO) clusters carry independent sequences, so values repeat across groups. The connection's order (custom first, then discovered) is authoritative; don't re-sort by this field alone. |
taxonomyVersion | Int! | Taxonomy version this cluster belongs to. |
derivation | ClusteringDerivation! | How membership is computed: LLM classification or FilterGroup SQL. |
source | ClusterSource! | Where this cluster came from. USER marks a custom (user-defined) cluster — pinned before discovered clusters and stable across taxonomy refreshes. |
createdBy | String | Display label for the user who created this cluster. 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 on discovered clusters. |
rule | String | The cluster's membership criteria rendered for display, e.g. "duration_seconds greater than 42.0" for a plain-threshold rule cluster. An eval-monitor-derived cluster renders the literal "[custom SQL condition]" instead of a readable rule, and a percentile-derived cluster renders its still-unresolved marker rather than the resolved threshold. Null on LLM-derived clusters. |
condition | FilterGroup | The cluster's criteria as a filter tree — the payload the ops-agent hand-off carries. For an eval-monitor- or percentile-derived cluster this may hold a marker-bearing FilterSql or literal rather than an executable predicate. Null on LLM-derived clusters. |
sourceMonitorUuid | UUID | For an eval-monitor-derived issue cluster, the monitor it tracks. |
Used by 6 operations: createOrUpdateConversationClusteringSpace (mutation), createOrUpdateCustomConversationCluster (mutation), refreshConversationClusteringSpace (mutation), requestConversationClusteringBackfill (mutation), getConversationClustering (query), getConversationClusteringSpaces (query).
ConversationFilterFieldName
ConversationFilterFieldName is an enum type in the Monte Carlo GraphQL API.
Field names for conversation filters.
| Value | Description |
|---|---|
WORKFLOW | |
STATUS | |
HAS_ERRORS | |
TURNS | |
TOTAL_TOKENS | |
COST | |
QUERY_COST | |
TOTAL_COST | |
DURATION | |
ACTIVE_DURATION | |
INTENT_CLUSTER | |
FEEDBACK_RATING | |
HAS_FEEDBACK_COMMENT |
Used by 2 operations: getConversationsFilters (query), getConversationsFiltersData (query).
CostRateUnit
CostRateUnit is an enum type in the Monte Carlo GraphQL API.
The billing unit a cost rate prices.
| Value | Description |
|---|---|
SNOWFLAKE_CREDIT | |
DATABRICKS_DBU |
Used by 2 operations: upsertAgentCostRate (mutation), getAgentCostRates (query).
CostRateUsageType
CostRateUsageType is an enum type in the Monte Carlo GraphQL API.
The kind of usage a cost rate prices. Platforms bill these at different prices.
| Value | Description |
|---|---|
AGENT | |
COMPUTE |
Used by 2 operations: upsertAgentCostRate (mutation), getAgentCostRates (query).
EvaluationTemplateRef
EvaluationTemplateRef is an input object type in the Monte Carlo GraphQL API.
| Field | Type | Description |
|---|---|---|
templateName | String! | Template name; must exist in the transformations catalog. |
alias | String | Output field name for the resulting score. Defaults to the template's configured score field. |
promptOverride | String | Replacement prompt body that overrides the template's catalog prompt. May reference Jinja-style placeholders that the engine substitutes with the span's prompts and completions. |
Used by 2 operations: recordPreflightRun (mutation), runAgentEvaluations (mutation).
GetConversationsFiltersDataInput
GetConversationsFiltersDataInput is an input object type in the Monte Carlo GraphQL API.
Input parameters for the getConversationsFiltersData query.
Used by 2 operations: getConversationClustering (query), getConversationsFiltersData (query).
GoldenBaseline
GoldenBaseline is an object type in the Monte Carlo GraphQL API.
A golden set's current baseline — one run of its eval rules over its cases.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Public identifier of the baseline. |
status | GoldenBaselineStatus! | Overall generation outcome. |
summary | GenericScalar | Per-rule aggregates (mean / pass-rate) over scored cases. |
isStale | Boolean! | Whether the set's eval configuration has changed since this baseline was generated (regenerate to refresh). |
results | [GoldenBaselineResult!]! | Per-case results. |
metricSummary | GoldenMetricSummary | Aggregate model / token / tool-call metrics across the baseline's cases. Null for a baseline generated before metric collection, or one that captured no usage. |
targetRef | String | The agent REST endpoint path this baseline was generated against. |
agentConfigSnapshot | GenericScalar | The Cortex agent's raw configuration captured when the baseline was generated, for comparing setup against a test run. Withheld (null) from callers without access to the underlying raw customer data; null when it could not be captured. |
createdTime | DateTime! | When the baseline was generated. |
updatedTime | DateTime! | When the baseline was last written. |
Used by 2 operations: generateGoldenBaseline (mutation), getGoldenBaseline (query).
GoldenBaselineResult
GoldenBaselineResult is an object type in the Monte Carlo GraphQL API.
One case's scored result within a baseline.
| Field | Type | Description |
|---|---|---|
uuid | UUID! | Public identifier of the result. |
goldenTestCaseUuid | UUID | Source test case (null if the case was since deleted). |
status | GoldenRunResultStatus! | Per-case outcome. |
scoredResponse | String | The live agent response that was judged. Withheld (null) from callers without access to the underlying raw customer data. |
scores | [GoldenEvalScore!]! | Per-rule scores (empty unless the case was SCORED). |
error | String | Failure detail: the case's error when status is ERROR, or the first rule-level error when the case scored only partially (some rules errored). Withheld (null) from callers without access to the underlying raw customer data. |
toolUseCount | Int | Number of tool calls the agent made on this case. Null if not captured. |
tokenUsage | GoldenTokenUsage | Token consumption for this case's agent run, summed across all models used. Null when the run captured no usage data. |
Used by 2 operations: generateGoldenBaseline (mutation), getGoldenBaseline (query).
GoldenBaselineStatus
GoldenBaselineStatus is an enum type in the Monte Carlo GraphQL API.
Overall outcome of a baseline generation over a golden set's cases.
COMPLETED: every case scored (also the result for an empty set).
PARTIAL: at least one case scored and at least one was unavailable or errored.
ERROR: no case scored.
PENDING: reserved for symmetry; never returned by the synchronous
generateGoldenBaseline mutation. Unlike the sibling GoldenRunStatus (test runs),
baseline generation has no RUNNING state — it only ever writes a terminal status.
| Value | Description |
|---|---|
COMPLETED | |
PARTIAL | |
ERROR | |
PENDING |
Used by 2 operations: generateGoldenBaseline (mutation), getGoldenBaseline (query).
GoldenEvalScore
GoldenEvalScore is an object type in the Monte Carlo GraphQL API.
One eval rule's score for a single case.
| Field | Type | Description |
|---|---|---|
alias | String! | Result field name for this rule's score. |
templateName | String! | Eval template that was applied. |
outputType | String! | Score shape: 'number' or 'boolean'. |
score | Float | Numeric score when outputType is 'number'. |
booleanScore | Boolean | Boolean score when outputType is 'boolean'. |
reasoning | String | The LLM judge's brief explanation for the score. On a test run this can echo the live dev-agent response, so it is withheld (null) from callers without access to the underlying raw customer data. |
baselineScore | Float | The baseline aggregate for this rule (mean for numbers, pass-rate for booleans) that a test run's score is compared against. |
delta | Float | Test-run score minus baselineScore (case pass/fail as 1.0/0.0 for booleans). |
verdict | GoldenVerdict | Per-rule comparison verdict on a test run (REGRESSED / HELD / IMPROVED). |
Used by 4 operations: generateGoldenBaseline (mutation), startGoldenTestRun (mutation), getGoldenBaseline (query), getGoldenTestRuns (query).
GoldenMetricComparison
GoldenMetricComparison is an object type in the Monte Carlo GraphQL API.
A run's model / token / tool-call metrics compared to the baseline's.
Deltas are run minus baseline (signed); a token or tool-call count has no natural
tolerance band, so these are raw counts rather than REGRESSED / HELD / IMPROVED verdicts.
| Field | Type | Description |
|---|---|---|
baselineTokenUsage | GoldenTokenUsage! | The baseline's total token usage. |
runTokenUsage | GoldenTokenUsage! | This run's total token usage. |
totalTokensDelta | Int! | Run total tokens minus baseline total tokens. |
inputTokensDelta | Int! | Run input tokens minus baseline input tokens. |
outputTokensDelta | Int! | Run output tokens minus baseline output tokens. |
baselineToolUseCount | Int! | The baseline's total tool-call count. |
runToolUseCount | Int! | This run's total tool-call count. |
toolUseCountDelta | Int! | Run tool-call count minus baseline tool-call count. |
baselineModels | [String!]! | Models the baseline used. |
runModels | [String!]! | Models this run used. |
modelMatch | Boolean! | Whether this run used the same set of models as the baseline. |
Used by 2 operations: startGoldenTestRun (mutation), getGoldenTestRuns (query).
GoldenMetricSummary
GoldenMetricSummary is an object type in the Monte Carlo GraphQL API.
A run's aggregate model / token / tool-call metrics, summed across its cases.
| Field | Type | Description |
|---|---|---|
tokenUsage | GoldenTokenUsage! | Total token usage across the run's cases. |
toolUseCount | Int! | Total tool calls the agent made across the run's cases. |
models | [String!]! | Distinct model names the run used (sorted). |
Used by 2 operations: generateGoldenBaseline (mutation), getGoldenBaseline (query).
GoldenPriorTurn
GoldenPriorTurn is an object type in the Monte Carlo GraphQL API.
A preceding conversation turn captured as fixed context for a test case.
| Field | Type | Description |
|---|---|---|
userInput | String! | The context turn's question. |
response | String | The context turn's original response, replayed as history. |
Used by 2 operations: addConversationToGoldenSet (mutation), getGoldenTestCases (query).
GoldenRunResultStatus
GoldenRunResultStatus is an enum type in the Monte Carlo GraphQL API.
Per-case outcome within a golden run.
| Value | Description |
|---|---|
SCORED | |
UNAVAILABLE | |
ERROR |
Used by 4 operations: generateGoldenBaseline (mutation), startGoldenTestRun (mutation), getGoldenBaseline (query), getGoldenTestRuns (query).
GoldenRunRuleSummary
GoldenRunRuleSummary is an object type in the Monte Carlo GraphQL API.
One eval rule's aggregate over a run's scored cases.
| Field | Type | Description |
|---|---|---|
alias | String! | Result field name for this rule. |
templateName | String! | Eval template that was applied. |
outputType | String! | Score shape: 'number' or 'boolean'. |
count | Int! | Number of scored cases contributing. |
average | Float | Mean score when outputType is 'number'. |
passRate | Float | Fraction passing when outputType is 'boolean'. |
Used by 2 operations: startGoldenTestRun (mutation), getGoldenTestRuns (query).
GoldenRunStatus
GoldenRunStatus is an enum type in the Monte Carlo GraphQL API.
Lifecycle of a golden test run.
PENDING → RUNNING → a terminal state. COMPLETED: every case scored.
PARTIAL: some cases scored, some errored. ERROR: none scored (or the whole
run was unavailable). RUNNING is reserved for the future asynchronous execution
path; the synchronous run transitions through it in one request.
| Value | Description |
|---|---|
PENDING | |
RUNNING | |
COMPLETED | |
PARTIAL | |
ERROR |
Used by 2 operations: startGoldenTestRun (mutation), getGoldenTestRuns (query).
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
