I placed this question below, a solution was provided and it works well for rest APIs:

For a GraphQL API it returns empty (because of the Query Offset. Without the Query it returns only data):

Is there any tweak that can be applied for the script above to work for GraphQL APIs?

