Related queries and mutations in Integrations and connections. Each has its own section.
Queries
getLogsIntegrations (query)
getLogsIntegrations 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: General availability
Get the configured Logs integrations
Arguments
| Argument | Type | Description |
|---|---|---|
integrationId | UUID | Filter by integration ID |
Returns
Example
query GetLogsIntegrations {
getLogsIntegrations {
integrationId
integrationName
webhookUrl
integrationType
createdTime
updatedTime
}
}Related types
Mutations
createLogsIntegration (mutation)
createLogsIntegration 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: General availability
Create a Logs integration (for monitor execution logging)
Arguments
| Argument | Type | Description |
|---|---|---|
headers | [WebhookHeaderInput] | List of headers field names and value to be used in the HTTP request |
integrationName | String! | Integration name |
integrationType | LogsIntegrationType | Type of integration, defaults to 'default' |
webhookUrl | String! | The webhook URL |
Returns
CreateLogsIntegration
Example
mutation CreateLogsIntegration($integrationName: String!, $webhookUrl: String!) {
createLogsIntegration(integrationName: $integrationName, webhookUrl: $webhookUrl) {
logsIntegration {
integrationId
integrationName
webhookUrl
integrationType
createdTime
updatedTime
}
}
}Types used only by createLogsIntegration
createLogsIntegrationCreateLogsIntegration
CreateLogsIntegrationObject type.
| Field | Type | Description |
|---|---|---|
logsIntegration | LogsIntegrationOutput | The integration that was created |
Related types
LogsIntegrationOutput, LogsIntegrationType, WebhookHeaderInput
deleteLogsIntegration (mutation)
deleteLogsIntegration 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: General availability
Delete a Logs integration (for monitor execution logging)
Arguments
| Argument | Type | Description |
|---|---|---|
integrationId | UUID! | The integration ID |
Returns
DeleteLogsIntegration
Example
mutation DeleteLogsIntegration($integrationId: UUID!) {
deleteLogsIntegration(integrationId: $integrationId) {
success
}
}Types used only by deleteLogsIntegration
deleteLogsIntegrationDeleteLogsIntegration
DeleteLogsIntegrationObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean |
Related types
updateLogsIntegration (mutation)
updateLogsIntegration 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: General availability
Update a Logs integration (for monitor execution logging)
Arguments
| Argument | Type | Description |
|---|---|---|
headers | [WebhookHeaderInput] | List of headers field names and value to be used in the HTTP request |
integrationId | UUID! | The integration ID |
integrationName | String | Integration name |
integrationType | LogsIntegrationType | Type of integration, defaults to 'default' |
webhookUrl | String | The webhook URL |
Returns
UpdateLogsIntegration
Example
mutation UpdateLogsIntegration($integrationId: UUID!) {
updateLogsIntegration(integrationId: $integrationId) {
logsIntegration {
integrationId
integrationName
webhookUrl
integrationType
createdTime
updatedTime
}
}
}Types used only by updateLogsIntegration
updateLogsIntegrationUpdateLogsIntegration
UpdateLogsIntegrationObject type.
| Field | Type | Description |
|---|---|---|
logsIntegration | LogsIntegrationOutput | The integration that was updated |
Related types
LogsIntegrationOutput, LogsIntegrationType, UUID, WebhookHeaderInput
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
