Skip to content

Add an API filter for flow/task runs by their end time. #9698

@taylor-curran

Description

@taylor-curran

First check

  • I added a descriptive title to this issue.
  • I used the GitHub search to find a similar request and didn't find it.
  • I searched the Prefect documentation for this feature.

Prefect Version

2.x

Describe the current behavior

We noticed that we can no longer filter flow/task runs by their end time although the end_time of a flow/task run is stored by Prefect and returned with the client API calls. This makes queries like “get all tasks finished after X” quite complex to write as we will have to filter for the end_time of task_runs once we retrieved all past task_runs.

Describe the proposed behavior

Add a filter for flow/task runs by their end time.

Example Use

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAn improvement of an existing featuregood first issueThis issue is good for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions