How can I download the files in files gallery using Monday API?

Hi, everyone, Hope you had a wonderful :jack_o_lantern:Halloween​:jack_o_lantern:
Currently, I am developing automations using Monday API.
And I want to download the files which are in the files gallery in the item.

I would appreciate it if someone could help me.
Thanks.

Try this to get the public_url of files that are in the gallery:

{
  items(ids: "12345678") {
    assets(assets_source: gallery) {
      id
      name
      public_url
    }
  }
}

Check for further details:

Also, a similar & related question: