Related queries and mutations in Integrations and connections. Each has its own section.
Queries
getCustomBiConnectors (query)
getCustomBiConnectors is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List custom BI connector types visible to the account, grouped by agent. Optionally filter by agent UUID.
Arguments
| Argument | Type | Description |
|---|---|---|
agentUuid | UUID | Filter to connectors registered by a specific agent. |
Returns
[AgentCustomBiConnectors!]
Example
query GetCustomBiConnectors {
getCustomBiConnectors {
agentUuid
}
}Types used only by getCustomBiConnectors
getCustomBiConnectorsAgentCustomBiConnectors
AgentCustomBiConnectorsObject type. Custom BI connectors grouped under a single agent.
| Field | Type | Description |
|---|---|---|
agentUuid | UUID! | UUID of the agent that owns these connectors. |
customBiConnectors | [CustomBiConnector!]! | Custom BI connector types registered by this agent. |
CustomBiConnector
CustomBiConnectorObject type. A custom BI connector type registered for an account.
| Field | Type | Description |
|---|---|---|
id | String! | Unique connection type identifier. |
name | String! | Display name for the connector. |
jobTypes | [String!]! | Job types this connector supports (e.g. BI_REPORTS). |
lastUpdatedTime | DateTime | When the connector's manifest was last synced. |
iconUrl | String | Agent-supplied remote URL for the connector's icon, or null if none was registered. Consumers should fall back to a default icon on load error. |
Related types
getCustomConnectors (query)
getCustomConnectors is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List custom warehouse connector types visible to the account, grouped by agent. Optionally filter by agent UUID. For ETL connector types, use getCustomEtlConnectors; for BI connector types, use getCustomBiConnectors.
Arguments
| Argument | Type | Description |
|---|---|---|
agentUuid | UUID | Filter to connectors registered by a specific agent. |
Returns
[AgentCustomConnectors!]
Example
query GetCustomConnectors {
getCustomConnectors {
agentUuid
}
}Types used only by getCustomConnectors
getCustomConnectorsAgentCustomConnectors
AgentCustomConnectorsObject type. Custom connectors grouped under a single agent.
| Field | Type | Description |
|---|---|---|
agentUuid | UUID! | UUID of the agent that owns these connectors. |
customConnectors | [CustomConnector!]! | Custom connector types registered by this agent. |
CustomConnector
CustomConnectorObject type. A custom connector type registered for an account.
| Field | Type | Description |
|---|---|---|
id | String! | Unique connection type identifier. |
name | String! | Display name for the connector. |
capabilities | CustomConnectorCapabilities! | Supported features derived from the connector's manifest. |
jobTypes | [String!]! | Job types this connector supports (e.g. METADATA, QUERY_LOGS, SQL_QUERY). |
lastUpdatedTime | DateTime | When the connector's manifest was last synced. |
CustomConnectorCapabilities
CustomConnectorCapabilitiesObject type. Supported features for a custom connector, derived from its manifest.
| Field | Type | Description |
|---|---|---|
supportsMetadata | Boolean! | Whether the connector supports metadata collection. |
supportsQueryLogs | Boolean! | Whether the connector supports query log collection. |
supportsLineage | Boolean! | Whether the connector supports lineage extraction. |
supportsFieldLineage | Boolean! | Whether the connector supports field-level lineage. |
supportsSchema | Boolean! | Whether the connector supports schema collection. |
supportsFreshness | Boolean! | Whether the connector supports freshness monitoring. |
supportsVolumeRows | Boolean! | Whether the connector supports row-count volume monitoring. |
supportsVolumeBytes | Boolean! | Whether the connector supports byte-size volume monitoring. |
supportsCustomSqlMonitor | Boolean! | Whether the connector supports custom SQL monitors. |
supportsFullQueryLanguage | Boolean! | Whether the connector supports the full query language. |
supportsStatsMonitor | Boolean! | Whether the connector supports stats monitors. |
supportsComparisonMonitor | Boolean! | Whether the connector supports comparison monitors. |
supportsValidationMonitor | Boolean! | Whether the connector supports validation monitors. |
supportsJsonSchemaMonitor | Boolean! | Whether the connector supports JSON schema monitors. |
supportsTransform | Boolean! | Whether the connector supports transforms. |
supportsAgentMonitor | Boolean! | Whether the connector supports agent monitors. |
supportsAgentTrajectoryMonitor | Boolean! | Whether the connector supports agent trajectory monitors. |
supportsNonMetadataSizeCollection | Boolean! | Whether the connector supports size collection without metadata. |
supportsMetricMonitorsOnUnknownTypes | Boolean! | Whether the connector supports metric monitors on unknown field types. |
Related types
getCustomEtlConnectors (query)
getCustomEtlConnectors is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List custom ETL connector types visible to the account, grouped by agent. Optionally filter by agent UUID.
Arguments
| Argument | Type | Description |
|---|---|---|
agentUuid | UUID | Filter to connectors registered by a specific agent. |
Returns
[AgentCustomEtlConnectors!]
Example
query GetCustomEtlConnectors {
getCustomEtlConnectors {
agentUuid
}
}Types used only by getCustomEtlConnectors
getCustomEtlConnectorsAgentCustomEtlConnectors
AgentCustomEtlConnectorsObject type. Custom ETL connectors grouped under a single agent.
| Field | Type | Description |
|---|---|---|
agentUuid | UUID! | UUID of the agent that owns these connectors. |
customEtlConnectors | [CustomEtlConnector!]! | Custom ETL connector types registered by this agent. |
CustomEtlConnector
CustomEtlConnectorObject type. A custom ETL connector type registered for an account.
| Field | Type | Description |
|---|---|---|
id | String! | Unique connection type identifier. |
name | String! | Display name for the connector. |
jobTypes | [String!]! | Job types this connector supports (e.g. ETL). |
lastUpdatedTime | DateTime | When the connector's manifest was last synced. |
iconUrl | String | Agent-supplied remote URL for the connector's icon, or null if none was registered. Consumers should fall back to a default icon on load error. |
terminology | Terminology | Per-connector display-noun overrides for the ETL group/job/task tiers, or null if the connector did not register any. |
Related types
Mutations
addCustomBiConnector (mutation)
addCustomBiConnector is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Add a connection for a custom BI connector type.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionName | String | Friendly name for the connection. |
connectionType | String! | Custom BI connector connection type ID. |
key | String! | Credentials key from testCustomConnector. |
name | String | Friendly name for the BI container. |
Returns
AddCustomBiConnector
Example
mutation AddCustomBiConnector($connectionType: String!, $key: String!) {
addCustomBiConnector(connectionType: $connectionType, key: $key) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addCustomBiConnector
addCustomBiConnectorAddCustomBiConnector
AddCustomBiConnectorObject type. Add a connection for a custom BI connector type. Creates a BI container, connection, and schedules BI asset collection. Requires a credentials key from testCustomConnector with validationName='save_credentials'.
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
addCustomConnector (mutation)
addCustomConnector is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Add a connection for a custom connector type.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionName | String | Friendly name for the connection. |
connectionType | String! | Custom connector connection type ID. |
jobTypes | [String!] | Override default job types from the manifest. |
key | String! | Credentials key from testCustomConnector. |
name | String | Friendly name for the warehouse. |
warehouseUuid | UUID | Add the connection to an existing warehouse instead of creating a new one. |
Returns
AddCustomConnector
Example
mutation AddCustomConnector($connectionType: String!, $key: String!) {
addCustomConnector(connectionType: $connectionType, key: $key) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addCustomConnector
addCustomConnectorAddCustomConnector
AddCustomConnectorObject type. Add a connection for a custom connector type. Creates a warehouse, connection, and schedules jobs based on the custom type's manifest capabilities. Requires a credentials key from testCustomConnector with validationName='save_credentials'.
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
addCustomEtlConnector (mutation)
addCustomEtlConnector is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Add a connection for a custom ETL connector type.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionName | String | Friendly name for the connection. |
connectionType | String! | Custom ETL connector connection type ID. |
key | String! | Credentials key from testCustomConnector. |
name | String | Friendly name for the ETL container. |
Returns
AddCustomEtlConnector
Example
mutation AddCustomEtlConnector($connectionType: String!, $key: String!) {
addCustomEtlConnector(connectionType: $connectionType, key: $key) {
connection {
id
createdTime
updatedTime
deletedAt
uuid
type
subtype
name
deletionProtection
jobTypes
credentialsS3Key
integrationGatewayCredentialsKey
data
identifiers
createdOn
updatedOn
isActive
disabledOn
ctpConfig
resolvedConnectionType
}
}
}Types used only by addCustomEtlConnector
addCustomEtlConnectorAddCustomEtlConnector
AddCustomEtlConnectorObject type. Add a connection for a custom ETL connector type. Creates an ETL container, connection, and schedules ETL asset collection. Requires a credentials key from testCustomConnector with validationName='save_credentials'.
| Field | Type | Description |
|---|---|---|
connection | Connection |
Related types
createOrUpdateCustomIntegration (mutation)
createOrUpdateCustomIntegration is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Create a custom integration with per-capability connections.
Arguments
| Argument | Type | Description |
|---|---|---|
lineage | CapabilityConfigInput | Lineage capability configuration (mode: COLLECT, REUSE, or PUSH). Omit to leave unchanged (lineage is still inferred from query logs automatically). |
metadata | CapabilityConfigInput | Metadata capability configuration (mode: COLLECT, REUSE, or PUSH). Omit to leave unchanged. |
monitors | CapabilityConfigInput | Monitors capability configuration (mode: COLLECT or REUSE). PUSH is not supported. Omit to leave unchanged. |
name | String | Display name for the integration. Required when creating a new integration; optional on update. |
queryLogs | CapabilityConfigInput | Query logs capability configuration (mode: COLLECT, REUSE, or PUSH). Omit to leave unchanged. |
warehouseUuid | UUID | UUID of an existing custom-integration warehouse to update. When omitted, a new warehouse is created. |
Returns
CreateOrUpdateCustomIntegration
Example
mutation CreateOrUpdateCustomIntegration {
createOrUpdateCustomIntegration {
result {
warehouseUuid
}
}
}Types used only by createOrUpdateCustomIntegration
createOrUpdateCustomIntegrationCapabilityConfigInput
CapabilityConfigInputInput object type. Configuration for a single capability in a custom integration.
COLLECT:connectionType,credentialsKey, anddeploymentId
are required.REUSE:reuseCapabilityis required.PUSH: configure this capability for push-via-API. On create no
connection is provisioned; on update it soft-deletes the existing
connection (or strips its job types if the connection is shared). No
other fields are used. Not supported for themonitorscapability.
Omitting this input (null) means "leave unchanged" on update, or "not
configured" on create (push via API is always available, and lineage
inference from query logs is automatic).
| Field | Type | Description |
|---|---|---|
mode | CapabilityMode! | How this capability is configured: collect a new connection, reuse an existing one, or push (transition to push mode). |
connectionType | String | Native connection type ID (e.g. 'spark', 'snowflake'). Required when mode is COLLECT. |
credentialsKey | String | Temporary credentials key from a prior test mutation. Required when mode is COLLECT. |
deploymentId | UUID | Data collector UUID to use for this connection. Required when mode is COLLECT. |
reuseCapability | ReusableCapability | Which previously configured capability's connection to reuse. Required when mode is REUSE. |
CapabilityMode
CapabilityModeEnum type. How a capability is configured in a custom integration.
| Value | Description |
|---|---|
COLLECT | |
REUSE | |
PUSH |
CreateOrUpdateCustomIntegration
CreateOrUpdateCustomIntegrationObject type. Create or update a custom integration warehouse with per-capability connections. Each capability can collect via a new connection, reuse a previously configured connection, or be left unconfigured. Pass warehouseUuid to update an existing integration.
| Field | Type | Description |
|---|---|---|
result | CreateOrUpdateCustomIntegrationResult! | The created or updated integration warehouse and connections. |
CreateOrUpdateCustomIntegrationResult
CreateOrUpdateCustomIntegrationResultObject type. Result of creating or updating a custom integration.
| Field | Type | Description |
|---|---|---|
warehouseUuid | UUID! | UUID of the created or updated warehouse. |
connections | [CustomIntegrationConnection!]! | Connections created or updated, with their capability assignments. |
CustomIntegrationConnection
CustomIntegrationConnectionObject type. A connection created as part of a custom integration.
| Field | Type | Description |
|---|---|---|
capability | String! | Which capability this connection serves (metadata, query_logs, lineage, monitors). |
connection | Connection! | The connection object. |
ReusableCapability
ReusableCapabilityEnum type. Which previously configured capability to reuse a connection from.
| Value | Description |
|---|---|
METADATA | |
QUERY_LOGS | |
LINEAGE |
Related types
testCustomConnector (mutation)
testCustomConnector is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Test or save self-hosted credentials for a custom connector type.
Arguments
| Argument | Type | Description |
|---|---|---|
connectionDetails | SelfHostedCredentialsConnectionDetails! | Self-hosted credential parameters. |
validationName | String! | Name of the validation test to run. Use 'save_credentials' to persist and receive a key. |
Returns
TestCustomConnector
Example
mutation TestCustomConnector($connectionDetails: SelfHostedCredentialsConnectionDetails!, $validationName: String!) {
testCustomConnector(connectionDetails: $connectionDetails, validationName: $validationName) {
key
}
}Types used only by testCustomConnector
testCustomConnectorTestCustomConnector
TestCustomConnectorObject type. Test or save self-hosted credentials for a custom connector type. Uses the agent's data collector for validation. Pass validationName='save_credentials' to persist credentials and receive a key for use with addCustomConnector.
| Field | Type | Description |
|---|---|---|
key | String | Credentials key returned when validationName is 'save_credentials'. Pass this to addCustomConnector. |
validationResult | TestCredentialsV2Response | Result of the validation. |
Related types
SelfHostedCredentialsConnectionDetails, TestCredentialsV2Response
triggerConnectionManifestJob (mutation)
triggerConnectionManifestJob is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Trigger a connection-manifest job for an agent.
Arguments
| Argument | Type | Description |
|---|---|---|
agentUuid | UUID! | UUID of the agent to request manifests from. |
Returns
TriggerConnectionManifestJob
Example
mutation TriggerConnectionManifestJob($agentUuid: UUID!) {
triggerConnectionManifestJob(agentUuid: $agentUuid) {
success
}
}Types used only by triggerConnectionManifestJob
triggerConnectionManifestJobTriggerConnectionManifestJob
TriggerConnectionManifestJobObject type. Trigger a connection-manifest job for an agent. The agent reports its supported custom connector types and their capabilities, which are persisted for use during onboarding.
| Field | Type | Description |
|---|---|---|
success | Boolean! | Whether the job was triggered successfully. |
Related types
updateCustomConnector (mutation)
updateCustomConnector is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Update credentials for an existing custom connector connection.
Arguments
| Argument | Type | Description |
|---|---|---|
changes | SelfHostedCredentialsConnectionDetails! | Updated self-hosted credential parameters. |
connectionId | UUID! | UUID of the connection to update. |
replace | Boolean | Set true to replace credentials. Otherwise merges. Default: false. |
Returns
UpdateCustomConnector
Example
mutation UpdateCustomConnector($changes: SelfHostedCredentialsConnectionDetails!, $connectionId: UUID!) {
updateCustomConnector(changes: $changes, connectionId: $connectionId) {
success
key
}
}Types used only by updateCustomConnector
updateCustomConnectorUpdateCustomConnector
UpdateCustomConnectorObject type. Update self-hosted credentials for an existing custom connector connection. Merges or replaces credentials on the connection.
| Field | Type | Description |
|---|---|---|
success | Boolean | Whether the update succeeded. |
key | String | New credentials key after update. |
Related types
SelfHostedCredentialsConnectionDetails, UUID
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
