Archives Architecture
The archive area is the tenant-scoped operational view over archive objects already collected or retained by IntegraMon. It focuses on visibility, download, deletion, and statistical review.
Related pages
Functional role
The archive area answers:
- which archives exist for a tenant
- which are still available versus already deleted
- how large they are
- how many messages they contain
Primary APIs
GET /api/cpi/archive/config/<config_id>/GET /api/cpi/archive/config/<config_id>/<filename>/POST /api/cpi/archive/config/<config_id>/<filename>/delete/GET /api/cpi/archive/config/<config_id>/download_all/GET /api/cpi/configs/<config_id>/archives/statistics/
Persistence
Archives are stored in backend/src/cpi/models.py as cpiArchive, including metadata such as file name, path, size, status, created time, deleted time, and message count.