Query for custom fields using API in python

Hi members,

I wanted to query all the fields including custom fields (specific to my company’s use case) and the general ones in the monday items table using the GraphQL Query. I am using the following schema to query all fields belonging to items but this returns only the general fields. How can I go about this issue? Any heads up would be really helpful.

Regards.

Hello there @Panchami_TN,

What would be an example of a field you are not getting?

I want to understand your specific case.

Looking forward to hearing from you :smile:

Cheers,
Matias

Hi Matias,

Thank you very much for replying.

The following is the list of general fields that I obtained when I queired list of all fields in the items table:
Fields in the Item type: [‘id’, ‘updates’, ‘assets’, ‘board’, ‘column_values’, ‘created_at’, ‘creator’, ‘creator_id’, ‘email’, ‘group’, ‘linked_items’, ‘name’, ‘parent_item’, ‘relative_link’, ‘state’, ‘subitems’, ‘subscribers’, ‘updated_at’, ‘url’]

Also this is the query that I am using to obtain all tables in monday:
# Introspection query to fetch the schema
introspection_query = “”"
{

  • __schema {*
  • types {*
  •  name*
    
  •  fields {*
    
  •    name*
    
  •  }*
    
  • }*
  • }*
    }
    “”"

I have attached a screenshot and highlighted some of the custom fields from the items table that may not be in the general list.

Please guide me and let me know if I am on the right track.

Regards,
Panchami

Hello again @Panchami_TN

Would you be able to please fill this form adding as much information as possible to it (such as this query, the screenshot, the link from where you are getting the screenshot, etc) so that our team can take a look into it?

Hi Matias,

I have filled the form. So we are currently using Alpha Serve to integrate Monday.com data with Tableau to setup our progress dashboards. The custom fields could be arising due to that.

Hello again,

Matias here!

Thank you for that! Our team will take a look into it via the opened ticket :smile: