I can't seem to figure out the basic use case of getting the value for a column that is in a selected item/pulse

I see how to query all values from all items (items apparently used to be called pulses? because the webhook gives me pulseId and pulseName). I am using something like this:

items(limit: 50) { column_values { id value type title } } }

but i can’t find anywhere in the doc how to return the value of a text type column that i have added that is called ‘property_id’ that is in a chosen item (or pulse).

some other related questions about this query:

  • seems like the item id (or pulseId) for the item would be included or able to be included in this query… i can’t see how to do that even.

  • also, when i query all items like above, it doesn’t show a value in any of my property_id items… even though i have some entered on a few items/pulses.

i’m a noob on monday, so i’m sure i’m just missing how to perform this seemingly basic function of getting the value of a column for a certain item.

try these…

{ items(limit: 50) {id name column_values { id value type title } } }
{ items(ids: 123456789) {id name column_values { id value type title } } }
{ items(ids: 123456789) {id name column_values(ids:property_id) { id value type title } } }

thanks jcorrell, that should help me since i am getting the id from the webhook. (assuming the pulseId is the same as the items ids:

for other use-cases where i may not have the item id, it seems difficult to find the right item. seems that the only way to load all of the data on the board (with your first query but a higher limit) and then spin down the list until you find the item you’re looking for. seems expensive.

is there a way to search for an item id based on the name of the item? or the value of one of the columns? or the value of a info box note where i could store the property_id?
*info boxes don’t seem to be exposed to the api. i put one on an item and put a file attachement too, but assets{id name} doesn’t return anything.

query {items_by_colum_values (board_id: 20178755, column_id: “date”, column_value: “2019-02-06”) {id
name
}}

From https://monday.com/developers/v2#queries-section-items-by-column-values

is this what you are looking for?

YES! this also works to find the item by it’s column_id: “name”
thanks for all the help getting started @basdebruin and @JCorrell.