<#3983 Support filter by state in ListTasks /api/v...
# flyte-github
c
#3983 Support filter by state in ListTasks /api/v1/tasks Issue created by ursucarina ### Describe the bug Filtering by state not supported by ListTasks ### Expected behavior
/api/v1/tasks/flytesnacks/development?limit=1000&sort_by.key=created_at&sort_by.direction=ASCENDING
should support filtering by state (archived), similar to how the named_entities api does it: `/api/v1/named_entities/1/flytesnacks/development?`*filters=eq(state,0)*`&token=&limit=10000&sort_by.direction=ASCENDING&sort_by.key=name` ### Additional context to reproduce No response ### Screenshots No response ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte