dbt, part 2 of 2 (GraphQL)

Related queries and mutations in Integrations and connections. Each has its own section.

Mutations

updateDbtProjectInfo (mutation)

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

Set extra information about dbt project

Arguments

ArgumentTypeDescription
remoteUrlStringRemote location of the project sources
subdirectoryStringSubdirectory of the project sources
uuidUUID!dbt project id

Returns

UpdateDbtProjectInfo

Example

mutation UpdateDbtProjectInfo($uuid: UUID!) {
  updateDbtProjectInfo(uuid: $uuid) {
    project {
      createdTime
      updatedTime
      uuid
      accountId
      projectId
      projectName
      source
      remoteUrl
      subdirectory
      config
      lastModelImport
      lastTestImport
      name
      lastWebhookReceived
      id
      dbtJobCount
      generateAlertsForModelFailures
      generateAlertsForTestFailures
      generateAlertsForTestWarnings
      generateAlertsForSnapshotFailures
    }
  }
}

Types used only by updateDbtProjectInfo

UpdateDbtProjectInfo

Object type. Set extra information about dbt project

FieldTypeDescription
projectDbtProjectdbt project after the update

Related types

DbtProject, UUID

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.