Agent traces and evaluations: types AgentAutoSetupAccountSetting to GoldenRunStatus (GraphQL)

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.

FieldTypeDescription
enabledBoolean!Whether new agents inherit automatic setup.
canEditBoolean!Whether this caller can change the default across all domains.
writesEnabledBoolean!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.

ValueDescription
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.

ValueDescription
ACCOUNT
AGENT

Used by 2 operations: updateAgentAutoSetup (mutation), getAgentAutoSetupStates (query).

AgentAutoSetupState

AgentAutoSetupState is an object type in the Monte Carlo GraphQL API.

FieldTypeDescription
agentMconString!Canonical MCON of the agent.
traceTableMconString!Canonical span storage MCON.
agentNameString!Exact agent name on this storage.
choiceAgentAutoSetupChoice!The agent's saved choice.
enabledBoolean!Whether automatic setup is enabled after inheritance.
originAgentAutoSetupOrigin!Where the effective value comes from.
canEditBoolean!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.

FieldTypeDescription
sourceTypeString!'trace_table' for user-managed trace tables, 'platform_agent' for platform agents (lowercase raw values).
traceBackendString!Which span store serves the agent's traces: 'clickhouse' for the AO-managed otel store, 'timescale' for everything else (lowercase raw values).
platformAgentTypeStringPlatform integration: 'snowflake' | 'databricks_mlflow_sdk' | 'databricks_mlflow_ka' | 'databricks_genie'. Null for user-managed trace-table agents.
nameStringRegistered agent name (the space_id for Genie agents). For trace-table agents this echoes the caller-supplied agentName; null when unknown.
displayNameStringFriendly display name with agent-name fallback; null when neither is known.
traceTableMconStringThe 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.

FieldTypeDescription
uuidUUID!Stable identifier of the rate.
warehouseUuidUUIDWarehouse the rate applies to. Null is the account-wide rate, which applies to every warehouse without its own rate.
unitCostRateUnit!Billing unit the rate prices.
usageTypeCostRateUsageType!What the rate prices: AGENT for the agent's model calls, COMPUTE for the warehouse compute of the SQL it runs.
amountPerUnitFloat!Price of one unit, in currency.
currencyString!ISO 4217 currency code, such as USD.
createdTimeDateTime!When the rate was created.
updatedTimeDateTime!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.

ValueDescription
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.

ValueDescription
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.

FieldTypeDescription
monitorUuidUUID!
nameString!
scaleMinFloat0 for true/false judges, 1 for 1-5 judges.
scaleMaxFloat1 for true/false judges, 5 for 1-5 judges.
isSelectedBoolean!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.

FieldTypeDescription
uuidUUID!
statusAgentDatasetBuilderExportStatus!
datasetTypeAgentDatasetBuilderDatasetType!
workflowStringNull for an agent without workflows.
conversationCountInt!The conversations exported.
errorStringWhy the export FAILED.
createdTimeDateTime!

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.

ValueDescription
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.

ValueDescription
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.

FieldTypeDescription
conversationIdString!
datasetTypeAgentDatasetBuilderDatasetType!
pinnedByStringDisplay 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.
pinnedAtDateTime!
expiresAtDateTime!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.

FieldTypeDescription
traceTableMconString!
agentNameString!
floorInt!Golden conversations score at least this on every counted 1-5 eval.
ceilingInt!Improvement conversations score at most this on a counted 1-5 eval.
goldenSizeInt!
improvementSizeInt!
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.

FieldTypeDescription
agentMconString!MCON that identifies the agent. Assign it to a domain.
agentNameString!Name of the agent
displayNameString!Name to show for the agent
storageMconString!MCON of the trace table the agent records spans in
sourceTypeAgentSourceType!Source type
lastSeenAtDateTimeWhen 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.

FieldTypeDescription
identifierString!Jira issue key (e.g. ENG-123).
urlString!Web URL of the Jira ticket.
originStringHost 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.
createdTimeDateTime!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.

FieldTypeDescription
identifierString!Human-readable Linear ticket identifier (e.g. ENG-123).
urlString!Web URL of the Linear ticket.
statusStringLatest Linear workflow-state type, synced via webhook. Null on a created ticket until the first sync.
createdTimeDateTime!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.

FieldTypeDescription
identifierString!ServiceNow incident number (e.g. INC0010001).
urlString!Web URL of the ServiceNow incident.
originStringCanonical 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.
createdTimeDateTime!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.

ValueDescription
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.

ValueDescription
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.

FieldTypeDescription
valueString

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.

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.

FieldTypeDescription
spanIdString!Caller-supplied correlation token. Opaque to the engine; echoed back on every result/error. Must be unique within a single request.
traceIdString!Caller-supplied correlation token. Opaque to the engine.
parentSpanIdStringCaller-supplied correlation token. Opaque to the engine.
agentString!Agent identifier; surfaced in engine logs only.
workflowStringOptional workflow name.
taskStringOptional task name within the workflow.
spanNameStringOptional span name.
modelNameStringModel identifier that produced this LLM-call span, if any.
startTimeDateTime!Span start time (UTC).
endTimeDateTime!Span end time (UTC).
promptsJSONStringJSON-encoded array of {role, content} objects sent to the model.
completionsJSONStringJSON-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.

FieldTypeDescription
discoveryModelIdString!Model id for the one-time taxonomy synthesis.
classifyModelIdString!Model id for per-conversation classification (and discovery summaries).
embeddingModelIdStringWarehouse 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.
embeddingInputCharCapInt!Maximum rendered conversation characters sent to the embedding model. Choose a cap within the selected model's token window.
maxClustersInt!Cap on discovered clusters (excludes the Uncategorized bucket).
discoverySampleSizeInt!Number of newest eligible conversations fed to discovery.
discoveryLookbackDaysInt!Maximum history, in days, discovery scans back to fill its sample.
classifyCapPerRunInt!Maximum conversations classified per run, oldest by readiness first.
minConfidenceFloat!Confidence below which a label is dropped. On Intent spaces, the conversation routes to Uncategorized.
userInputCharCapInt!Per-turn cap on user-input characters sent to the model.
agentResponseCharCapInt!Per-turn cap on agent-response characters sent to the model.
minConversationsInt!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.
classifyCadenceMinutesInt!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.
issueWatermarkRangeMinutesInt!Minutes covered by each platform-agent issue-space watermark work item. Minimum 30.
issueWatermarkBatchSizeInt!Maximum adjacent watermark slices produced or consumed together for a platform-agent issue space. Must be a positive integer.
backfillSliceHoursInt!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.
issueInitialBackfillDaysInt!Days of retained history queued when an issue space is first enabled. The queued range is capped by the 30-day retention window.
dailyClassificationBudgetInt!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.
workItemBatchCapInt!Maximum work items one consumer run claims from the space's list. Each item is a chunk of conversations.
collectionLagHoursInt!Settle window in hours before a conversation's last turn counts.
percentileWindowDaysInt!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.
evalScoreThresholdFloat!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.

ValueDescription
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.

ValueDescription
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).

ValueDescription
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.

ValueDescription
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.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[ConversationClusterEdge]!Contains the nodes in this connection.
totalCountInt!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.

FieldTypeDescription
nodeConversationClusterTypeThe item at the end of the edge
cursorString!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.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[ConversationClusteringRunEdge]!Contains the nodes in this connection.
totalCountInt!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.

FieldTypeDescription
nodeConversationClusteringRunTypeThe item at the end of the edge
cursorString!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).

ValueDescription
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.

ValueDescription
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.

ValueDescription
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.

FieldTypeDescription
uuidUUID!Stable run id.
kindConversationClusteringRunKind!Whether this run performed discovery or classification.
stageConversationClusteringRunStageDiscovery sequencing step; null on CLASSIFICATION runs.
statusConversationClusteringRunStatus!Current run status.
attemptInt!Retry counter for this run.
startedAtDateTimeWhen the run started; null before dispatch.
completedAtDateTimeWhen the run finished (success or error); null while running.
conversationsSubmittedInt!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.
errorStringError 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.

FieldTypeDescription
snowflakeModelIdStringSnowflake 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).

FieldTypeDescription
uuidUUID!Stable space id.
agentNameString!Agent (service_name) this space clusters.
scopeWorkflowStringNull = whole agent; else one workflow.
facetClusteringFacet!Which panel tab this space serves; drives lifecycle, config, and read cardinality.
isEnabledBoolean!Whether clustering is active; false means paused (taxonomy retained).
taxonomyVersionInt!Current taxonomy version.
discoveryCompletedAtDateTimeWhen 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.
userGuidanceStringFree-text guidance that steers cluster identity during discovery.
stateConversationClusteringState!Computed enablement state for the (agent, scope).
configClusteringConfig!Discovery and classification settings.
clustersWithheldReasonRawContentWithheldReasonWhy cluster content was withheld, or null when it was not.
clustersConversationClusterConnectionCurrent-version taxonomy clusters, in display order.
runsConversationClusteringRunConnectionDiscovery/classification run history for this space, newest first.
classificationWatermarkDateTimeReadiness time through which every conversation has been examined (the coverage watermark the monitor gate reads); null before the first watermark run.
budgetLimitedBoolean!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.
dailyClassificationBudgetInt!The space's configured daily classification budget (conversations/24h).
trailingDaySpendInt!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.

ValueDescription
OPT_IN
LOW_VOLUME
DISCOVERING
ENABLED
DISABLED
WRITER_UNAVAILABLEDeprecated: 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.

FieldTypeDescription
uuidUUID!Stable cluster id.
clusterKeyString!Stable slug; the join key for per-conversation assignments.
nameString!Human-readable cluster name.
descriptionString!One-line summary of what belongs in this cluster.
classificationCriteriaString!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.
exemplarsWithheldReasonRawContentWithheldReasonWhy 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.
ordinalInt!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.
taxonomyVersionInt!Taxonomy version this cluster belongs to.
derivationClusteringDerivation!How membership is computed: LLM classification or FilterGroup SQL.
sourceClusterSource!Where this cluster came from. USER marks a custom (user-defined) cluster — pinned before discovered clusters and stable across taxonomy refreshes.
createdByStringDisplay 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.
ruleStringThe 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.
conditionFilterGroupThe 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.
sourceMonitorUuidUUIDFor 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.

ValueDescription
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.

ValueDescription
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.

ValueDescription
AGENT
COMPUTE

Used by 2 operations: upsertAgentCostRate (mutation), getAgentCostRates (query).

EvaluationTemplateRef

EvaluationTemplateRef is an input object type in the Monte Carlo GraphQL API.

FieldTypeDescription
templateNameString!Template name; must exist in the transformations catalog.
aliasStringOutput field name for the resulting score. Defaults to the template's configured score field.
promptOverrideStringReplacement 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.

FieldTypeDescription
agentNameString!Agent name to filter by
traceTableMconString!MCON of the trace table or platform agent (aiagent object type) to query
startTimeDateTime!Start of time range (inclusive)
endTimeDateTime!End of time range (inclusive)

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.

FieldTypeDescription
uuidUUID!Public identifier of the baseline.
statusGoldenBaselineStatus!Overall generation outcome.
summaryGenericScalarPer-rule aggregates (mean / pass-rate) over scored cases.
isStaleBoolean!Whether the set's eval configuration has changed since this baseline was generated (regenerate to refresh).
results[GoldenBaselineResult!]!Per-case results.
metricSummaryGoldenMetricSummaryAggregate model / token / tool-call metrics across the baseline's cases. Null for a baseline generated before metric collection, or one that captured no usage.
targetRefStringThe agent REST endpoint path this baseline was generated against.
agentConfigSnapshotGenericScalarThe 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.
createdTimeDateTime!When the baseline was generated.
updatedTimeDateTime!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.

FieldTypeDescription
uuidUUID!Public identifier of the result.
goldenTestCaseUuidUUIDSource test case (null if the case was since deleted).
statusGoldenRunResultStatus!Per-case outcome.
scoredResponseStringThe 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).
errorStringFailure 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.
toolUseCountIntNumber of tool calls the agent made on this case. Null if not captured.
tokenUsageGoldenTokenUsageToken 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.

ValueDescription
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.

FieldTypeDescription
aliasString!Result field name for this rule's score.
templateNameString!Eval template that was applied.
outputTypeString!Score shape: 'number' or 'boolean'.
scoreFloatNumeric score when outputType is 'number'.
booleanScoreBooleanBoolean score when outputType is 'boolean'.
reasoningStringThe 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.
baselineScoreFloatThe baseline aggregate for this rule (mean for numbers, pass-rate for booleans) that a test run's score is compared against.
deltaFloatTest-run score minus baselineScore (case pass/fail as 1.0/0.0 for booleans).
verdictGoldenVerdictPer-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.

FieldTypeDescription
baselineTokenUsageGoldenTokenUsage!The baseline's total token usage.
runTokenUsageGoldenTokenUsage!This run's total token usage.
totalTokensDeltaInt!Run total tokens minus baseline total tokens.
inputTokensDeltaInt!Run input tokens minus baseline input tokens.
outputTokensDeltaInt!Run output tokens minus baseline output tokens.
baselineToolUseCountInt!The baseline's total tool-call count.
runToolUseCountInt!This run's total tool-call count.
toolUseCountDeltaInt!Run tool-call count minus baseline tool-call count.
baselineModels[String!]!Models the baseline used.
runModels[String!]!Models this run used.
modelMatchBoolean!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.

FieldTypeDescription
tokenUsageGoldenTokenUsage!Total token usage across the run's cases.
toolUseCountInt!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.

FieldTypeDescription
userInputString!The context turn's question.
responseStringThe 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.

ValueDescription
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.

FieldTypeDescription
aliasString!Result field name for this rule.
templateNameString!Eval template that was applied.
outputTypeString!Score shape: 'number' or 'boolean'.
countInt!Number of scored cases contributing.
averageFloatMean score when outputType is 'number'.
passRateFloatFraction 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.

ValueDescription
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.