Skip to main content
Question

How to get the DQ rule dimension name for each rule via API.

  • March 26, 2025
  • 1 reply
  • 7 views

I am able to fetch all the rule details like name, label, id, stewardship etc. But I am unable to get the dimension of the rule. I don’t find any entity relation between rule and DQ dimension.
 

Could anyone please help me on this?

Did this topic help you find an answer to your question?

Forum|alt.badge.img+1

Hi ​@Hanish N .

Does the following help?

query getRulesWithDqDimension {
  rules(
    versionSelector: {publishedVersion: true}
  ) {
    edges {
      node {
        gid
        publishedVersion {
          name
          description
          implementation {
            storedVersion {
              dqDimension {
                gid
                storedVersion {
                  _displayName
                }
                type
              }
            }
          }
        }
      }
    }
  }
}

If you’re looking for something else, please provide some more details.

Kind regards,
Adrian


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings