I manage offboarding for a 150-person engineering team. Humata's data deletion process is opaque compared to platforms with explicit retention policies.
Has anyone scripted a cleanup workflow? I need to guarantee all user-uploaded documents and generated summaries are purged. The API documentation mentions file deletion but not cascading deletions for Q&A sessions.
The API is incomplete for this. I had to reverse engineer it by monitoring network calls.
Found that you need to delete the chat sessions before files, otherwise orphaned references remain. My script does:
- List all user's chats via GET /api/chats
- DELETE each chat ID
- Then list and delete files
Without that order, the UI still shows empty chat entries. It's a pain.
Ship it, but test it first