Related queries and mutations in Agents and deployments. Each has its own section.
Queries
getDeploymentInfo (query)
getDeploymentInfo is a query in the Monte Carlo GraphQL API, in Agents and deployments. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Deprecated: Use getDeploymentInfoV2 instead
DEPRECATED. Get the current deployment environment information for the current
authorized user
Returns
DeploymentInfo
Example
query GetDeploymentInfo {
getDeploymentInfo {
awsAccountId
awsRegion
tenantId
deploymentType
integrationGatewayUrl
}
}Types used only by getDeploymentInfo
getDeploymentInfoDeploymentInfo
DeploymentInfoObject type. Deployment environment information
| Field | Type | Description |
|---|---|---|
awsAccountId | String! | AWS Account ID |
awsRegion | String! | AWS Region |
tenantId | String! | Tenant ID |
deploymentType | String! | Environment Deployment Type |
integrationGatewayUrl | String! | Integration Gateway URL |
getHostingInfo (query)
getHostingInfo is a query in the Monte Carlo GraphQL API, in Agents and deployments. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: General availability
Get the current hosting environment information for the current
authorized user
Arguments
| Argument | Type | Description |
|---|---|---|
envConfiguration | AwsEnvConfiguration | Type of env configuration to get the hosting information for (primary/secondary). If not specified, primary is assumed |
Returns
HostingInformation
Example
query GetHostingInfo {
getHostingInfo {
availableEnvConfigurations
}
}Types used only by getHostingInfo
getHostingInfoActiveNodeDetails
ActiveNodeDetailsObject type. Active node information
| Field | Type | Description |
|---|---|---|
name | String! | Node Name |
stackArn | String! | Stack ARN |
uuid | UUID! | Node UUID |
codeVersion | String! | Code Version |
templateVersion | String! | Template Version |
privateCidr | [String]! | Private CIDR |
privateIpAddresses | [String]! | List of Private IP addresses |
AwsEnvConfiguration
AwsEnvConfigurationEnum type.
| Value | Description |
|---|---|
primary | |
secondary |
AwsInformation
AwsInformationObject type. AWS information
| Field | Type | Description |
|---|---|---|
accountId | String! | AWS Account ID |
region | String! | AWS Region |
secondaryRegion | String | AWS Secondary Region |
isSecondary | Boolean! | Is this the Secondary Region? |
envConfiguration | AwsEnvConfiguration! | Active AWS Environment Configuration |
AwsPrivateLinkDetails
AwsPrivateLinkDetailsObject type. AWS Private Link information
| Field | Type | Description |
|---|---|---|
accountId | String! | AWS Account ID |
mcdPrincipal | String! | MCD Principal |
regions | [AwsPrivateLinkRegionDetails]! | List of AWS Private Link regions |
AwsPrivateLinkRegionDetails
AwsPrivateLinkRegionDetailsObject type. AWS Private Link region information
| Field | Type | Description |
|---|---|---|
region | String! | AWS Region |
connectionVpcId | String! | Connection VPC ID |
dataStoreVpcEndpointId | String! | Data Store VPC Endpoint ID |
agentVpcEndpointId | String! | Agent VPC Endpoint ID |
AzureInformation
AzureInformationObject type. Azure information
| Field | Type | Description |
|---|---|---|
subscriptionId | String! | Azure Subscription ID |
subscriptionName | String! | Azure Subscription Name |
primaryRegion | String | Azure Region |
secondaryRegion | String | Azure Secondary Region |
CollectionDetails
CollectionDetailsObject type. Collection platform information
| Field | Type | Description |
|---|---|---|
awsAccountId | String! | AWS Account ID |
awsRegion | String! | AWS Region |
privateLinkDetails | PrivateLinkDetails | Private Link information |
activeNodeDetails | [ActiveNodeDetails] | List of active nodes |
openTelemetryCollectorDetails | OpenTelemetryCollectorDetails | OpenTelemetry collector information |
HostingDomainDetails
HostingDomainDetailsObject type. Hosting domain information
| Field | Type | Description |
|---|---|---|
ui | String! | Frontend URL |
api | String! | GraphQL API URL |
integrations | String! | Integrations Gateway URL |
oauthApi | String! | OAuth GraphQL API URL |
m2mTokenUrl | String | OAuth M2M (client-credentials) token URL |
m2mInstanceScope | String | OAuth scope clients must request for the global gateway to route to this instance |
HostingInformation
HostingInformationObject type. Hosting information
| Field | Type | Description |
|---|---|---|
domainDetails | HostingDomainDetails! | Hosting domain information |
loginDetails | LoginDetails! | Login information |
infrastructureDetails | InfrastructureDetails! | Infrastructure information |
networkDetails | NetworkDetails! | Network information |
collectionDetails | CollectionDetails | Collection platform information |
orchestratorDetails | OrchestratorDetails | Orchestrator connectivity information |
availableEnvConfigurations | [AwsEnvConfiguration]! | List of enabled configurations (primary/secondary) |
InfrastructureDetails
InfrastructureDetailsObject type. Infrastructure information
| Field | Type | Description |
|---|---|---|
cloudDesignation | String! | Cloud Designation |
tenantId | String! | Tenant ID |
hostingType | String! | Environment Hosting Type |
aws | AwsInformation! | AWS information |
azure | AzureInformation | Azure information |
LoginDetails
LoginDetailsObject type. Login information
| Field | Type | Description |
|---|---|---|
sso | SsoDetails! | SSO information |
NetworkDetails
NetworkDetailsObject type. Network information
| Field | Type | Description |
|---|---|---|
collectionPublicIpAddresses | [String]! | List of public IP addresses used by the collection platform |
saasPublicIpAddresses | [String]! | List of public IP addresses used by the SaaS platform |
externalWebhookPublicIpAddresses | [String]! | List of public IP addresses used by the webhooks |
dataPlatformPublicIpAddresses | [String]! | List of public IP addresses used by the data platform |
OpenTelemetryCollectorDetails
OpenTelemetryCollectorDetailsObject type. OpenTelemetry collector information
| Field | Type | Description |
|---|---|---|
taskRoleArn | String | OTEL Collector ECS Task Role ARN |
s3VpceId | String | OTEL Collector S3 VPC Endpoint ID |
OrchestratorDetails
OrchestratorDetailsObject type. Orchestrator connectivity information
| Field | Type | Description |
|---|---|---|
endpoint | String! | Orchestrator endpoint URL |
privateLinkEndpoint | String | Orchestrator Private Link endpoint URL |
publicIpAddresses | [String]! | List of static public IP addresses used by the orchestrator |
awsPrivateEndpointServiceName | String | AWS VPC Endpoint Service name for the orchestrator |
azureApplicationGatewayResourceId | String | Azure Application Gateway resource ID for Private Link |
azureApplicationGatewaySubResource | String | Azure Application Gateway sub-resource for Private Link |
PrivateLinkDetails
PrivateLinkDetailsObject type. Private Link information
| Field | Type | Description |
|---|---|---|
aws | AwsPrivateLinkDetails! | AWS Private Link information |
SsoDetails
SsoDetailsObject type. SSO information
| Field | Type | Description |
|---|---|---|
entityId | String! | SSO Entity ID |
ssoUrl | String! | ACS endpoint URL / SSO URL |
Related types
getPlatformServices (query)
getPlatformServices is a query in the Monte Carlo GraphQL API, in Agents and deployments. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
List of platform services linked to the account
Arguments
| Argument | Type | Description |
|---|---|---|
serviceUuid | UUID | UUID of the platform service to return |
agentUuid | UUID | UUID of the active agent in the platform service to return |
deploymentType | DataCollectorDeploymentTypeExtendedEnum | Deployment type of the platform service to return |
connectionTypes | [ConnectionTypeEnum] | Only return platform services containing connections with these types |
connectionUuids | [UUID] | Only return platform services containing connections with these UUIDs |
supportsConnectionType | ConnectionTypeEnum | Only return platform services supporting the specified connection type |
supportsAgentType | AgentTypeEnum | Only return platform services supporting the specified agent type |
supportsAgentPlatform | PlatformTypeEnum | Only return platform services supporting the specified platform type |
Returns
[PlatformServiceObject]
Example
query GetPlatformServices {
getPlatformServices {
uuid
name
}
}Types used only by getPlatformServices
getPlatformServicesDataCollectorDeploymentTypeExtendedEnum
DataCollectorDeploymentTypeExtendedEnumEnum type.
| Value | Description |
|---|---|
CLOUD_V1 | |
CLOUD_V2_P | |
CLOUD_V2_M | |
REMOTE_V1 | |
REMOTE_V1_5 | |
REMOTE_V2_IA | |
REMOTE_V2_EA |
PlatformServiceAgent
PlatformServiceAgentObject type. Platform service agent information
| Field | Type | Description |
|---|---|---|
uuid | UUID | UUID of the agent |
endpoint | String | Agent endpoint |
agentType | AgentTypeEnum | Agent type |
platform | PlatformTypeEnum | Agent platform |
createdOn | DateTime | Agent creation date |
wrapper | String | Agent wrapper |
lastUpdatedOn | DateTime | Agent last update date |
version | String | Agent version |
wrapperVersion | String | Agent wrapper version |
enabled | Boolean | Agent enabled |
health | PlatformServiceAgentHealth | Agent health. Null for data-store agents, which show no health. |
PlatformServiceAgentHealth
PlatformServiceAgentHealthObject type. Latest health of a remote agent. Egress agents (Generic, Snowflake) are checked every 5 minutes from the operations they poll for. All other remote agents are checked hourly by pinging them.
| Field | Type | Description |
|---|---|---|
status | PlatformServiceAgentHealthStatus! | HEALTHY: reachable and processing. STALLED: connected but not completing operations. DISCONNECTED: not polling, or the last reachability check failed. UNKNOWN: no recent data. |
checkedOn | DateTime | When the operation facts were last refreshed |
lastReachableOn | DateTime | Last successful reachability check |
lastReachabilityCheckedOn | DateTime | Last reachability check |
lastReachabilityError | String | Error from the last failed reachability check. Requires edit access. |
lastPollOn | DateTime | Last time the agent polled for operations |
lastHeartbeatOn | DateTime | Last heartbeat from the agent |
lastResultOn | DateTime | Last operation result from the agent |
lastTimeoutOn | DateTime | Last operation that timed out |
pendingOperations | Int | Operations waiting for the agent |
runningOperations | Int | Operations the agent is running |
oldestPendingAgeSeconds | Int | Age in seconds of the oldest operation waiting for the agent |
completedLastHour | Int | Operations completed in the last hour |
timedOutLastHour | Int | Operations timed out in the last hour |
instanceCount | Int | Running agent instances |
PlatformServiceAgentHealthStatus
PlatformServiceAgentHealthStatusEnum type.
| Value | Description |
|---|---|
HEALTHY | |
STALLED | |
DISCONNECTED | |
UNKNOWN |
PlatformServiceConnection
PlatformServiceConnectionObject type. Platform service connection information
| Field | Type | Description |
|---|---|---|
uuid | UUID | UUID of the connection |
resourceUuid | UUID | UUID of the resource containing the connection |
name | String | Connection name |
connectionType | ConnectionTypeEnum | Connection type |
subtype | ConnectionSubtypeEnum | Connection subtype |
createdOn | DateTime | Connection creation date |
identifiers | GenericScalar | Connection identifiers |
integrationType | IntegrationType | The kind of integration this connection's type belongs to |
connectionTypeDisplayName | String | Customer-facing name of the connection type, such as "Snowflake". Null for per-account custom connector types and unknown types. |
PlatformServiceDeployment
PlatformServiceDeploymentObject type. Platform service deployment information
| Field | Type | Description |
|---|---|---|
deploymentType | DataCollectorDeploymentTypeExtendedEnum | Deployment type |
platform | PlatformServicePlatform | Platform information |
agent | PlatformServiceAgent | Agent information |
PlatformServiceObject
PlatformServiceObjectObject type. Platform service information
| Field | Type | Description |
|---|---|---|
uuid | UUID | UUID of the platform service |
deployment | PlatformServiceDeployment | Deployment information |
connections | [PlatformServiceConnection] | List of connections |
supportStatus | PlatformServiceSupportStatus | Detailed information about support for the features requested using supports* parameters |
name | String | Name of the platform service |
PlatformServicePlatform
PlatformServicePlatformObject type.
| Field | Type | Description |
|---|---|---|
resources | [String] | Platform resources |
ipAddresses | [String] | Platform IP addresses |
dataStoreEncryption | StorageEncryptionType | Type of storage encryption for the data store |
createdOn | DateTime | Service creation date |
lastUpdatedOn | DateTime | Service last update date |
assignedOn | DateTime | Service last update date |
codeVersion | String | Service code version |
templateVersion | String | Service template version |
executionRoles | [String] | Service execution roles |
PlatformServiceSupportCode
PlatformServiceSupportCodeEnum type.
| Value | Description |
|---|---|
SUPPORTED | The service supports the requested attributes |
UPDATE_REQUIRED | The service needs to be updated to support the requested attributes |
REMOTE_AGENT_NOT_SUPPORTED | Remote agents not supported by the service |
DATA_STORE_NOT_SUPPORTED | Data stores not supported by the service |
NEW_CONNECTIONS_NOT_SUPPORTED | New connections not supported by the service |
PlatformServiceSupportStatus
PlatformServiceSupportStatusObject type. Information about the support for required features (connection type, agent platform, etc.).
| Field | Type | Description |
|---|---|---|
code | PlatformServiceSupportCode | Support code, SUPPORTED indicates the required features are all supported. |
details | GenericScalar | Additional details related to the support status code, such as required minimum version, etc. |
Related types
AgentTypeEnum, ConnectionSubtypeEnum, ConnectionTypeEnum, DateTime, GenericScalar, IntegrationType, PlatformTypeEnum, StorageEncryptionType, UUID
Mutations
generateBridgeToken (mutation)
generateBridgeToken is a mutation in the Monte Carlo GraphQL API, in Agents and deployments. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Generate a signed JWT for mc-bridge authentication
Returns
BridgeTokenOutput
Example
mutation GenerateBridgeToken {
generateBridgeToken {
token
expiresAt
}
}Types used only by generateBridgeToken
generateBridgeTokenBridgeTokenOutput
BridgeTokenOutputObject type.
| Field | Type | Description |
|---|---|---|
token | String! | JWT string |
expiresAt | DateTime! | Token expiration timestamp |
Related types
updatePlatformService (mutation)
updatePlatformService is a mutation in the Monte Carlo GraphQL API, in Agents and deployments. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: General availability
Update platform service attributes.
Arguments
| Argument | Type | Description |
|---|---|---|
name | String | New service name |
serviceUuid | UUID! | UUID of the platform service to update |
Returns
UpdatePlatformService
Example
mutation UpdatePlatformService($serviceUuid: UUID!) {
updatePlatformService(serviceUuid: $serviceUuid) {
ok
}
}Types used only by updatePlatformService
updatePlatformServiceUpdatePlatformService
UpdatePlatformServiceObject type. Update platform service attributes.
| Field | Type | Description |
|---|---|---|
ok | Boolean | Boolean indicating if the operation was successful |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
