Get all Board IDs

Hi,
I want to get all the Board IDs via API my account sees on monday.com. However some of them are missing.
I have an API-key, and I use the query:
‘query {boards () { name id }}’

I got around 25 IDs back, but my Workspaces got far more than that.
What could be the problem?

In the meantime, I found a “solution”.
If I use the

‘query {boards (limit:500) { name id }}’

syntax, it’s working. But it is very interesting that I have to set a limit in order to get all the IDs.
Why is that?

1 Like

The default number of boards to return is 25 per the docs. You can optionally override this limit using the limit argument, as you’ve found.

2 Likes

Thank you, riosd!
Now I understood.

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