Log integrations (GraphQL)

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

ArgumentTypeDescription
integrationIdUUIDFilter by integration ID

Returns

[LogsIntegrationOutput]

Example

query GetLogsIntegrations {
  getLogsIntegrations {
    integrationId
    integrationName
    webhookUrl
    integrationType
    createdTime
    updatedTime
  }
}

Related types

LogsIntegrationOutput, UUID

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

ArgumentTypeDescription
headers[WebhookHeaderInput]List of headers field names and value to be used in the HTTP request
integrationNameString!Integration name
integrationTypeLogsIntegrationTypeType of integration, defaults to 'default'
webhookUrlString!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

CreateLogsIntegration

Object type.

FieldTypeDescription
logsIntegrationLogsIntegrationOutputThe 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

ArgumentTypeDescription
integrationIdUUID!The integration ID

Returns

DeleteLogsIntegration

Example

mutation DeleteLogsIntegration($integrationId: UUID!) {
  deleteLogsIntegration(integrationId: $integrationId) {
    success
  }
}

Types used only by deleteLogsIntegration

DeleteLogsIntegration

Object type.

FieldTypeDescription
successBoolean

Related types

UUID

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

ArgumentTypeDescription
headers[WebhookHeaderInput]List of headers field names and value to be used in the HTTP request
integrationIdUUID!The integration ID
integrationNameStringIntegration name
integrationTypeLogsIntegrationTypeType of integration, defaults to 'default'
webhookUrlStringThe webhook URL

Returns

UpdateLogsIntegration

Example

mutation UpdateLogsIntegration($integrationId: UUID!) {
  updateLogsIntegration(integrationId: $integrationId) {
    logsIntegration {
      integrationId
      integrationName
      webhookUrl
      integrationType
      createdTime
      updatedTime
    }
  }
}

Types used only by updateLogsIntegration

UpdateLogsIntegration

Object type.

FieldTypeDescription
logsIntegrationLogsIntegrationOutputThe 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.