Pull Group against an item using Monday API

Hi Guys,

I am new to Monday API. I am using the following query to pull the data of boards and the items in that board:

{boards(ids:“Id of the board here”) { name id description board_kind permissions updated_at items { name column_values{title id type text value additional_info } } } }

Now, I also want to know the group of the item. But I am not able to create a query which returns the group name of the item. Can anyone please guide me here?

Thanks,
Mayank

Hello @mayankhb,
Welcome to the community :slight_smile:
Try this:

{
  boards(ids: 1234) {
    name
    id
    description
    board_kind
    permissions
    updated_at
    items {
      name
      column_values {
        title
        id
        type
        text
        value
        additional_info
      }
      group {
        id
        title
      }
    }
  }
}

Remember to apply limit to your items to avoid running into issues because the complexity of your query can grow exponentially.

1 Like

Thanks a ton my friend. It worked!!!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.