Hi! I have local dagster deployment using docker a...
# ask-community
a
Hi! I have local dagster deployment using docker and PostgreSQL as database for keeping run logs. Is it possible to remove run logs (or all info about runs) older than e.g. 3 months using api? Found in docs for dagster cli
dagster run wipe
and
dagster run delete
, but first removes all logs, as i understand, and second delete only one run by id (which is not ok, if i’d like to remove hundreds of runs).
y
we don’t have an api for this bulk action. i’d recommend using the latter or
DagsterInstance.delete_run(run_id)
but put them in a loop that iterates through the 100s run ids.
👍 1