GET /sections/:section_gid/tasks?limit=10 no longer returning Completed Tasks?

This started happening sometime in the past few weeks. We’ve been using this endpoint to get the most recent tasks from a section.

But now it only returns the most recent incomplete tasks.

data": [
    {
      "gid": "1202628152759955",
      "completed": false
    },
    {
      "gid": "1202628147646630",
      "completed": false
    },
....

Hi @Pavan_Shah , welcome to the forum!

I just tried it, and the query by section is working as expected.

You can’t query all “completed” tasks, but you can query “all” and “incomplete”, using these examples:

all:
/sections/123456789/tasks?completed_since=1900-01-01

incomplete:
/sections/123456789/tasks?completed_since=2099-01-01

The default behavior if not providing the completed_since parameter, is to return all tasks.

1 Like