Related queries and mutations in Catalog and lineage. Each has its own section.
Queries
listTags (query)
listTags 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
List tags.
Arguments
| Argument | Type | Description |
|---|---|---|
pageSize | Int | Page size for each call. If not set, by default it's 50. |
offset | Int | Offset that indicates where to start returning the result. |
tagType | TagType | if set, we'd return tags only of that type. |
Returns
ListTagsOutput
Example
query ListTags {
listTags {
totalCount
}
}Types used only by listTags
listTagsListTagsOutput
ListTagsOutputObject type.
| Field | Type | Description |
|---|---|---|
totalCount | Int | Total count of the tags in a user's account. |
tags | [TagObjectOutput] | Tags list. |
Related types
Mutations
createOrUpdateTag (mutation)
createOrUpdateTag 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
Create or update a tag.
Arguments
Returns
CreateOrUpdateTagMutation
Example
mutation CreateOrUpdateTag {
createOrUpdateTag {
tagObject {
uuid
type
tagName
tagValue
createdAt
updatedAt
}
}
}Types used only by createOrUpdateTag
createOrUpdateTagCreateOrUpdateTagMutation
CreateOrUpdateTagMutationObject type.
| Field | Type | Description |
|---|---|---|
tagObject | TagObjectOutput | Created or updated data operations dashboard |
Related types
TagObjectOutput, TagType, UUID
createOrUpdateTagAssignments (mutation)
createOrUpdateTagAssignments 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
Create or update tags assignments for a list of objects with the same type.
Arguments
Returns
CreateOrUpdateTagAssignmentsMutation
Example
mutation CreateOrUpdateTagAssignments($objectIds: [String]!, $tagType: TagType!, $tagUuids: [UUID]!) {
createOrUpdateTagAssignments(objectIds: $objectIds, tagType: $tagType, tagUuids: $tagUuids) {
success
}
}Types used only by createOrUpdateTagAssignments
createOrUpdateTagAssignmentsCreateOrUpdateTagAssignmentsMutation
CreateOrUpdateTagAssignmentsMutationObject type.
| Field | Type | Description |
|---|---|---|
success | Boolean | Indicates if the assignments are created successfully. |
TagAssignmentObjectType
TagAssignmentObjectTypeEnum type.
| Value | Description |
|---|---|
CUSTOM_RULE_MONITOR | |
METRIC_MONITOR | |
TABLE_MONITOR | |
BULK_MONITOR | |
MONITOR_EXCEPTION | |
JOB_MONITOR |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
