GraphQL schema out of sync with real schema

The GraphQL schema is available at https://api.monday.com/v2/get_schema. Unfortunately, this seems out of sync with the schema that you get when you perform an introspection query using the live API.

For example, according to the above schema, NumbersValue has these two fields:

  """
  The board's unique identifier.
  """
  board_id: ID!
  """
  The item's unique identifier.
  """
  item_id: ID!

However, if I perform an introspection query like the GraphQL playground does, then I can see that neither of these fields actually exists.

If I try to run a query that uses these fields, then it fails in the same way:

{
  boards(ids:[XXX]) {
    items_page {
      items {
        column_values {
          ... on NumbersValue {
            board_id
          }
        }
      }
    }
  }
}

Gives:

{
  "errors": [
    {
      "message": "Cannot query field \"board_id\" on type \"NumbersValue\".",
      "locations": [
        {
          "line": 7,
          "column": 13
        }
      ],
      "extensions": {
        "code": "GRAPHQL_VALIDATION_FAILED"
      }
    }
  ],
  "account_id": XXX
}

Can you please synchronise the get_schema endpoint so that it accurately describes the schema? Thanks.

Hello there @migwell and welcome to the community!

Would you be able to please fill this form adding a link to this topic so that our technical team can take a look into it?

1 Like

I can confirm I see the same thing.