Delete files from a run

I need to free up some space and want to delete an heavy file uploaded within a run.
I dont want to delete the whole logs of the runs, only this one heavy file

How to ?

Was this file uploaded as an Artifact?
You can use the Artifacts API to delete the artifacts you’ve logged.

artifact = api.artifact('project/artifact:alias')
artifact.delete()

Here’s some documentation of cleaning up logged Artifacts:

Here’s a good reference documentation page for Artifacts for it’s more complete usage.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.