Collibra (GraphQL)

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

Queries

getCollibraDomainsForTableSearchName (query)

getCollibraDomainsForTableSearchName 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

Get Collibra domain information for a table search name

Arguments

ArgumentTypeDescription
tableSearchNameString!Table search name in Collibra format (e.g., '>project>dataset>table')

Returns

[CollibraDomainSearchResponse]

Example

query GetCollibraDomainsForTableSearchName($tableSearchName: String!) {
  getCollibraDomainsForTableSearchName(tableSearchName: $tableSearchName) {
    collibraTableAssetId
    collibraTableAssetDomainId
    collibraSchemaAssetId
    collibraDatabaseAssetId
    collibraDatabaseAssetDomainId
  }
}

Types used only by getCollibraDomainsForTableSearchName

CollibraDomainSearchResponse

Object type. Collibra domain search response for table search name

FieldTypeDescription
collibraTableAssetIdString!Collibra table asset ID
collibraTableAssetDomainIdString!Collibra table asset domain ID
collibraSchemaAssetIdStringCollibra schema asset ID
collibraDatabaseAssetIdStringCollibra database asset ID
collibraDatabaseAssetDomainIdStringCollibra database asset domain ID

getCollibraMonitorNote (query)

getCollibraMonitorNote 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

Collibra monitor note. Has extra debug information about table relationships if they could not be found

Arguments

ArgumentTypeDescription
monitorUuidString!Monitor uuid

Returns

CollibraMonitorNoteResponse

Example

query GetCollibraMonitorNote($monitorUuid: String!) {
  getCollibraMonitorNote(monitorUuid: $monitorUuid) {
    monitorUuid
    collibraNote
  }
}

Types used only by getCollibraMonitorNote

CollibraMonitorNoteResponse

Object type. Collibra monitor note response.

FieldTypeDescription
monitorUuidString!Monitor uuid
collibraNoteStringCollibra note

getCollibraMonitorTableSearchNames (query)

getCollibraMonitorTableSearchNames 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

Get table search names for a monitor in Collibra format

Arguments

ArgumentTypeDescription
monitorUuidString!Monitor uuid

Returns

[String]

Example

query GetCollibraMonitorTableSearchNames($monitorUuid: String!) {
  getCollibraMonitorTableSearchNames(monitorUuid: $monitorUuid)
}

getCollibraPing (query)

getCollibraPing 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

Collibra ping

Arguments

ArgumentTypeDescription
serverUrlStringOptional server url. Otherwise taken from existing integration
usernameStringOptional Basic Auth username. Otherwise taken from existing integration
passwordStringOptional Basic Auth password. Otherwise taken from existing integration
credentialsTypeCollibraCredentialsTypeOptional auth mode for the ping. Required when testing OAuth credentials pre-save; for Basic Auth it is inferred from the username/password fields.
clientIdStringOptional OAuth client_id. Used together with client_secret for OAuth pings
clientSecretStringOptional OAuth client_secret. Used together with client_id for OAuth pings

Returns

CollibraPingResponse

Example

query GetCollibraPing {
  getCollibraPing {
    ping
  }
}

Types used only by getCollibraPing

CollibraPingResponse

Object type. Collibra ping information

FieldTypeDescription
pingBoolean!True if got response from Collibra using credentials

Related types

CollibraCredentialsType

Mutations

createOrUpdateCollibraIntegration (mutation)

createOrUpdateCollibraIntegration 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 or update Collibra integration

Arguments

ArgumentTypeDescription
automaticSyncDisabledBoolean('If incremental sync and full sync are disabled for monitors in this account',)
clientIdStringOAuth client_id for OAUTH_CLIENT_CREDENTIALS auth mode; if not provided on update, previous value will be used
clientSecretStringOAuth client_secret for OAUTH_CLIENT_CREDENTIALS auth mode; if not provided on update, previous value will be used
credentialsTypeCollibraCredentialsTypeAuth mode for the integration (BASIC_AUTH or OAUTH_CLIENT_CREDENTIALS). Defaults to BASIC_AUTH for new integrations.
domainUuidUUIDDomain uuid in Collibra where monitors will be syncronized. Can only be set once during creation
integrationNameStringShort text to describe the integration
integrationUuidUUIDThe integration to update
passwordString('The Collibra service account password for Basic Auth; if not provided, previous value will be used',)
serverUrlStringThe url for your Collibra instance
usernameString('The Collibra service account username for Basic Auth; if not provided, previous value will be used',)
warehouseDomainMappingJSONStringCustom warehouse domain mapping defines which Collibra domains contain warehouse tables. MC warehouse UUID is the key and the Collibra domain UUID is the value

Returns

CreateOrUpdateCollibraIntegration

Example

mutation CreateOrUpdateCollibraIntegration {
  createOrUpdateCollibraIntegration {
    collibraIntegration {
      uuid
      integrationName
      serverUrl
      username
      createdTime
      updatedTime
      domainUuid
      warehouseDomainMapping
      credentialsType
      clientId
      id
      mcDomainMapping
    }
  }
}

Types used only by createOrUpdateCollibraIntegration

CreateOrUpdateCollibraIntegration

Object type.

FieldTypeDescription
collibraIntegrationCollibraIntegration

Related types

CollibraCredentialsType, CollibraIntegration, JSONString, UUID

deleteCollibraIntegration (mutation)

deleteCollibraIntegration 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

Delete Collibra integration

Arguments

ArgumentTypeDescription
integrationUuidUUID!The integration to update

Returns

DeleteCollibraIntegration

Example

mutation DeleteCollibraIntegration($integrationUuid: UUID!) {
  deleteCollibraIntegration(integrationUuid: $integrationUuid) {
    deleted
  }
}

Types used only by deleteCollibraIntegration

DeleteCollibraIntegration

Object type.

FieldTypeDescription
deletedBoolean

Related types

UUID

setCollibraMcDomainMapping (mutation)

setCollibraMcDomainMapping 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

Replace the MC domain → Collibra domain mappings for a Collibra integration. All existing mappings for the integration are deleted and replaced with the provided set.

Arguments

ArgumentTypeDescription
integrationUuidUUID!The Collibra integration whose MC domain mappings to replace
mcDomainMappingJSONString!Mapping of MC domain UUIDs (keys) to Collibra domain UUIDs (values). Replace-all: every existing mapping for the integration is deleted and replaced with this set. Pass an empty object to clear all mappings. MC domain UUIDs must belong to the caller's account.

Returns

SetCollibraMcDomainMapping

Example

mutation SetCollibraMcDomainMapping($integrationUuid: UUID!, $mcDomainMapping: JSONString!) {
  setCollibraMcDomainMapping(integrationUuid: $integrationUuid, mcDomainMapping: $mcDomainMapping) {
    collibraIntegration {
      uuid
      integrationName
      serverUrl
      username
      createdTime
      updatedTime
      domainUuid
      warehouseDomainMapping
      credentialsType
      clientId
      id
      mcDomainMapping
    }
  }
}

Types used only by setCollibraMcDomainMapping

SetCollibraMcDomainMapping

Object type.

FieldTypeDescription
collibraIntegrationCollibraIntegration!

Related types

CollibraIntegration, JSONString, UUID

syncMonitorsToCollibra (mutation)

syncMonitorsToCollibra 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

Sync MC monitors to Collibra

Arguments

ArgumentTypeDescription
monitorUuids[UUID]!UUIDs of monitors to sync to Collibra.

Returns

SyncMonitorsToCollibra

Example

mutation SyncMonitorsToCollibra($monitorUuids: [UUID]!) {
  syncMonitorsToCollibra(monitorUuids: $monitorUuids) {
    jobId
  }
}

Types used only by syncMonitorsToCollibra

SyncMonitorsToCollibra

Object type.

FieldTypeDescription
jobIdUUID

Related types

UUID

Source: The GraphQL API reference

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