Fetching column values of an item through an API

Good afternoon,

I am trying to fetch column values of an item from a board on Monday using the following command:

query { boards(ids:[xxxxxxx]) { items(ids:[xxxxxxx]) { assets{ name public_url } column_values{ id value text } } } }

The query only works when I fetch the “id” of the column, the “value” and “text” fields fails, the below query runs:

query { boards(ids:[xxxxxxxx]) { items(ids:[xxxxxxxxxx]) { assets{ name public_url } column_values{ id } } } }

I want to be able to fetch the other column fields, may you please assist?

I’ve got a solution,

I specified the column id on the query and it worked as I wanted.

query { boards(ids:[xxxxxxxx]) { items(ids:[xxxxxxxxx]) { assets{ name public_url } column_values(ids: "text29"){ text } } } }

1 Like

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