blakeblackshear / blakeblackshear/frigate

Possibility to delete events older than x via the API

Open
#1,809 1 comment 1 reaction 0 assignees View on GitHub
enhancement planned
Dominant language
TypeScript
Stars
35.9k
Forks
3.6k
Avg merge
8h 39m
Merged PRs (30d)
122

Description

**Describe what you are trying to accomplish and why in non technical terms**
I would like to delete all events older than X days or hours.

**Describe the solution you'd like**
I would find it very handy to be able to delete all events older than X days or hours via the API (or MQTT or in the web interface). I usually take a quick look at what has happened in the last few days and then the clips could actually be deleted.

**Describe alternatives you've considered**
I could change the retention period and restart Frigate. Then change back and restart again.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing event-deletion behavior through the API, MQTT integration, and web interface; the issue does not name specific files or tests. Confirm how retention-based deletion currently works, then define and verify deletion of events older than a caller-supplied number of days or hours without changing the retention setting.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.