Channels
pacc-oct-11-12-2023
pacc-july-11-12-2023
pacc-sept-20-21-2023
pacc-aug-16-2023
pacc-aug-29-30-2023
pacc-may-31-2023
prefect-ai
pacc-clearcover-june-12-2023
pacc-sept-26-27-2023
pacc-july-6-2023
intros-test
livestream-chatter
marvin-in-the-wild
data-ecosystem
geo-israel
pacc-june-14-2023
geo-japan
pacc-london-2023
pacc-sept-13-14-2023
prefect-cloud
ppcc-may-16-2023
prefect-azure
prefect-docker
prefect-recipes
gratitude
geo-nyc
geo-bay-area
geo-boston
geo-london
geo-dc
geo-chicago
geo-berlin
geo-texas
geo-seattle
geo-colorado
pacc-july-17-18-2023
introductions
prefect-server
data-tricks-and-tips
prefect-aws
prefect-gcp
find-a-prefect-job
prefect-dbt
random
events
ask-marvin
show-us-what-you-got
prefect-getting-started
prefect-integrations
prefect-contributors
best-practices-coordination-plane
announcements
prefect-ui
prefect-kubernetes
pacc-aug-22-23-2023
prefect-community
Powered by
#prefect-community
Title
c
Charlie Henry
07/17/2023, 4:18 PM
Is there a way to delete late flows? We have 6,000+ queued up over the weekend and don't want to delete them manually. I turned on some automation to remove them but it doesn't seem to work retroactively
✅ 1
found it
https://prefect-community.slack.com/archives/CL09KU1K7/p1686669412262099?thread_ts=1686650785.248449&cid=CL09KU1K7
t
Taylor Curran
07/17/2023, 6:35 PM
Using our API might be the right call here: Here is an example file:
https://discourse.prefect.io/t/example-of-filtering-task-run-data-with-prefects-rest-api/2957
https://docs.prefect.io/2.10.21/api-ref/rest-api/#interacting-with-the-rest-api
https://docs.prefect.io/2.10.21/api-ref/rest-api-reference/#tag/Flow-Runs/operation/delete_flow_run_flow_runs__id__delete
Post