What Are Conversations?
Conversations represent individual interactions between customers and AI agents. This includes phone calls, chat sessions, and other communication channels that our agents handle.TODO: Conversation Data Model
Team Input Needed: We need to document the actual conversation structure in our database
- What fields does a conversation have? (id, agent_id, start_time, duration, etc.)
- How do we store conversation transcripts?
- What metadata do we capture? (caller_id, outcome, sentiment, etc.)
- How do we handle audio recordings? (storage, privacy, retention)
TODO: Conversation States and Lifecycle
Questions for the team:- What are the different conversation states? (ringing, active, completed, etc.)
- How do we handle failed or dropped calls?
- Can conversations be transferred between agents?
- How do we track conversation quality/success metrics?
TODO: Real-Time Monitoring
Questions for the team:- Can we monitor active conversations in real-time?
- What real-time data is available? (transcript, audio, metrics)
- How do we handle live intervention/takeover by humans?
- What alerts/notifications are available for conversation issues?
TODO: Available Endpoints
Once we confirm what endpoints exist, we’ll document:GET /v1/conversations- List conversations (with filtering)GET /v1/conversations/{id}- Get conversation detailsGET /v1/conversations/{id}/transcript- Get conversation transcriptGET /v1/conversations/{id}/audio- Get audio recording (if available)GET /v1/conversations/active- List active conversations (if available)
TODO: Filtering and Search
Questions for the team:- How can we filter conversations? (by agent, client, date range, outcome)
- What search capabilities exist? (transcript search, caller search)
- How do we handle pagination for large conversation lists?
- What sorting options are available?
TODO: Privacy and Compliance
Questions for the team:- What data privacy rules apply to conversations?
- How long do we retain conversation data?
- Can customers request conversation deletion?
- What compliance requirements do we need to meet? (GDPR, HIPAA, etc.)
TODO: Integration with Voice Providers
Questions for the team:- How do we sync conversation data from ElevenLabs?
- What about Retell.ai conversation data?
- How do we handle provider-specific metadata?
- Can we correlate conversations across different providers?