Assigned assets (GraphQL)

Related queries and mutations in Catalog and lineage. Each has its own section.

Queries

getAssignedAssets (query)

getAssignedAssets is a query in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Get assigned assets for a monitor

Arguments

ArgumentTypeDescription
monitorUuidUUID!UUID of the monitor

Returns

[AssignedAssetOutput!]

Example

query GetAssignedAssets($monitorUuid: UUID!) {
  getAssignedAssets(monitorUuid: $monitorUuid) {
    monitorUuid
    tableMcon
    status
  }
}

Related types

AssignedAssetOutput, UUID

Mutations

updateAssignedAssets (mutation)

updateAssignedAssets is a mutation in the Monte Carlo GraphQL API, in Catalog and lineage. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Update asset assignment for a monitor

Arguments

ArgumentTypeDescription
monitorUuidUUID!UUID of the monitor
operationAssignedAssetOperationEnum!ADD to include table in monitoring, REMOVE to exclude it
tableMconString!MCON of the table

Returns

UpdateAssignedAssets

Example

mutation UpdateAssignedAssets($monitorUuid: UUID!, $operation: AssignedAssetOperationEnum!, $tableMcon: String!) {
  updateAssignedAssets(monitorUuid: $monitorUuid, operation: $operation, tableMcon: $tableMcon) {
    assignment {
      monitorUuid
      tableMcon
      status
    }
  }
}

Types used only by updateAssignedAssets

AssignedAssetOperationEnum

Enum type.

ValueDescription
ADD
REMOVE
UpdateAssignedAssets

Object type. Update asset assignment for a monitor (add or remove a table)

FieldTypeDescription
assignmentAssignedAssetOutput(experimental) The updated assignment

Related types

AssignedAssetOutput, UUID

Source: The GraphQL API reference

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