Skip to main content

API issue with Updates

  • July 2, 2025
  • 3 replies
  • 156 views

I’ve been trying to implement the from_date & to_date arguments in my queries, but I’m always getting the same error:

array:3 [
  "status" => 400
  "body" => "{"errors":[{"message":"Unknown argument \\"to_date\\" on field \\"Board.updates\\".","locations":[{"line":5,"column":42}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}},{"message":"Unknown argument \\"from_date\\" on field \\"Board.updates\\".","locations":[{"line":5,"column":56}],"extensions":{"code":"GRAPHQL_VALIDATION_FAILED"}}]}"
  "json" => array:1 [
    "errors" => array:2 [
      0 => array:3 [
        "message" => "Unknown argument "to_date" on field "Board.updates"."
        "locations" => array:1 [
          0 => array:2 [
            "line" => 5
            "column" => 42
          ]
        ]
        "extensions" => array:1 [
          "code" => "GRAPHQL_VALIDATION_FAILED"
        ]
      ]
      1 => array:3 [
        "message" => "Unknown argument "from_date" on field "Board.updates"."
        "locations" => array:1 [
          0 => array:2 [
            "line" => 5
            "column" => 56
          ]
        ]
        "extensions" => array:1 [
          "code" => "GRAPHQL_VALIDATION_FAILED"
        ]
      ]
    ]
  ]
]

I am using the API version 2025-07 (as indicates the API reference website), but even trying on the API Playground I get the same error: "Unknown argument “to_date” on field “Board.updates”.

Have any of you tried successfully these new arguments?

This is the code I’m using in my PHP app:

$query = <<<'GRAPHQL'
        query ($boardId: [ID!], $page: Int, $from: ISO8601DateTime, $to: ISO8601DateTime ) {
            boards(ids: $boardId) {
                id
                name
                updates(limit: 100, page: $page, to_date: $to, from_date: $from) {
                    id
                    text_body
                    created_at
                    creator {
                        id
                        name
                    }
                    item_id
                }
            }
        }
        GRAPHQL;

3 replies

dvdsmpsn
Forum|alt.badge.img+1
  • Participating Frequently
  • July 2, 2025

If it doesn’t work on the playground, it won’t work elsewhere.

If it’s documented as working and doesn’t, I’d open a support ticket:

https://support.monday.com/hc/en-us/requests/new?ticket_form_id=13855862562962


rachelatmonday
Forum|alt.badge.img
  • monday.com Team Member
  • July 7, 2025

Hi @robertor,

Did you get your query to work? I just tested it with the new arguments, and it’s working for me!

Best,
Rachel


  • Author
  • New Participant
  • July 7, 2025

Hi @rachelatmonday,

I opened a ticket as @dvdsmpsn suggested, unfortunately the filter by date does not work when the updates are nested with boards or items, only when querying the updates object directly at the root.

Can you close this thread for me? 🙂