Skip to main content
Question

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


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?

2 replies

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


  • Author
  • Data Voyager
  • 1 reply
  • April 4, 2025

Thanks ​@Adrian Anderson  for your response. It definitely helps me.


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