GraphQL - how can I get data from all groups except for one?

I’m trying to use GraphQL and export from a specific board all data ( group name,id, items, columns values ) except for a specific group and I can’t find a way to do that in a query. the query I use is:

query {
    boards (ids: 1512837503) {
        groups {
            title
            id
    items(limit:100) {
    name
      column_values {
        value
        text
        title
      }
        }
    }
}
}

The output is too large and I don’t need the data in a specific group. Is there a way to add an exception of one group?

Thanks!

Hi @helly,

Welcome to the community! :smiley:

groups only accepts one argument that allows you to return data from specific group IDs. You could essentially try your request in reverse - add all group IDs except for the one you don’t need data from.

1 Like