How to Query column values of all items and filter by column ids

Hi Monday Community,
I am trying to create a query to get all the values from a board but only from 5 columns. is there a query to get all items and values from specific board from specific column’s

query12 = '{items (limit: 500) {column_values {title value}}}'

currently trying to use the column_values query but unable to filter the data.

Hello @William_O and welcome to the community!

I hope you like it here :muscle:

You can use a query like this one:

{
  boards(ids: 1234567890) {
    items(limit: 50) {
      column_values(ids: ["text", "date_1"]) {
        title
        value
      }
    }
  }
}

Hope it helps!

Cheers,
Matias