- Where
- Console, Settings, Data and privacy (Retention)
- Who can do it
- Owners
In detail
Logs are useful for a while and then become a liability: positions show where drivers were, message logs hold phone numbers and email addresses. Retention deletes them once they are old enough not to matter.
| Log | Default | Shortest you can set | Notes |
|---|---|---|---|
| Vehicle positions | 90 days | 2 days | The trail used by the live map and route replay. |
| API request log | 90 days | 1 day | One line per API call. |
| Webhook deliveries | 30 days | 1 day | Deliveries still waiting to be retried are kept. |
| Message log | 180 days | 7 days | Messages still queued are kept. Messages about sample parcels go after 2 days. |
The longest period you can set for any log is 3,650 days.
How the clean-up runs
The clean-up runs about once an hour while the console or the API is in use, and deletes entries older than each period. Run clean-up now applies the saved periods straight away. The screen shows when it last ran and how much it removed.
What is kept
Shipments with their events, proof of delivery, invoices and the audit log are not covered by these periods. They stay while the workspace exists, because they are your business records and often the evidence in a dispute. They are deleted when the workspace is closed.