docs(TSP-1348): add deletion audit events to streaming-events page#722
docs(TSP-1348): add deletion audit events to streaming-events page#722claude[bot] wants to merge 1 commit into
Conversation
- Add new `conversation_deleted` event (single and bulk, chat app) - Add new `workforce_task_deleted` event (now covers chat app deletions, not just bulk Workforce UI deletes) - Add `workforce_type` field to `workforce_deleted` event (direct vs cascade) Closes gap where customers with active OTel integrations were missing deletion events. References: TSP-1348, RelevanceAI/relevance-api-node#16143 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🎯 Vibe checkReviewed: 1 file (1 with issues, 0 clean) Scores
Score key: 🟢 9–10, 🟡 6–8, 🔴 1–5. ✨ Overall vibe: The page is a solid, comprehensive technical reference — it covers setup, PII redaction, prompt injection detection, and span/log schemas with enough detail for an engineering team to get up and running. The main gaps are capitalization consistency (agent/tool/workforce product terms are lowercase throughout the new deletion-event sections) and a couple of structural choices that make the PII section harder to scan than it needs to be. 🔧 Issues (6)
🧩 Component suggestions (2)
🏗️ Page structure (1)
✅ Clean files (0)No fully clean files — only one file reviewed. 🔋 Credit usage
Files read: |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Summary
conversation_deletedaudit event — fires when an agent conversation is deleted (single deletions from the chat app and bulk deletions)workforce_task_deletedaudit event — now covers chat-app deletions in addition to the previously documented bulk Workforce UI deletionsworkforce_typefield to theworkforce_deletedevent — distinguishes direct deletions from cascade deletions triggered by deleting a chat taskContext
PR relevance-api-node#16143 closed major gaps in customer-facing OpenTelemetry audit event coverage for deletion operations. Customers with active OTel integrations were previously missing these events. This docs update reflects the new coverage.
Linear: https://linear.app/relevance/issue/TSP-1348/
Test plan
conversation_deletedsection follows the same structure as other event typesworkforce_task_deletedappears under Workforce eventsworkforce_typeis correctly added to theworkforce_deletedtable🤖 Generated with Claude Code