Filtered items exact count

I am trying to fetch total count for my filtered items_page query in which I have filtered my items based on the “last_updated” column.

query {
  boards(ids: [my_id]) {
    items_count,
    items_page (limit: 500, query_params: {rules: [{column_id: "last_updated", compare_value: ["EXACT", "2024-11-05"], operator:greater_than_or_equals, compare_attribute:"UPDATED_AT"}]}) {
      cursor
      items {
        id
        created_at
        state
        updated_at
        board {
          name
          id
          permissions
          workspace_id
          workspace {
            name
          }
          activity_logs(limit: 1) {
            id
            event
            data
            entity
            created_at
          }
        }
        name
        column_values {
          id
          value
          text
        }
        updates {
          text_body
          replies {
            text_body
          }
        }
      }
    }
  }
}

The “items_count” returns the number of items in my board without considering the filters. I want to avoid traversing through all the pagination queries and aggregate the length of “items” array instead I would want the API to return a field showing exact number of items that my filtered query has fetched

Thank You.

Hello there @Gurkirat,

Welcome to the community!!!

This is not possible at the moment, so I have turned your topic into a feature request :muscle:

1 Like

Thanks for the response @Matias.Monday

Happy to help @Gurkirat !

1 Like