{ "id": "7f3d8e00-a1b2-4c3d-9e4f-567890abcdef", "agent_id": "550e8400-e29b-41d4-a716-446655440000", "agent_name": "Sarah - Receptionist", "from_number": "+16045551234", "to_number": "+14155551234", "direction": "inbound", "status": "completed", "duration": 125, "recording_url": "https://storage.supabase.co/v1/object/public/recordings/7f3d8e00.mp3", "transcript": "Agent: Hello, this is Sarah from Acme Dental. How can I help you today?\n\nCaller: Hi, I'd like to book an appointment for a cleaning.\n\nAgent: Of course! I have availability this Thursday at 2pm or Friday at 10am. Which works better for you?", "sentiment": "positive", "call_summary": "Caller requested a dental cleaning appointment. Agent offered Thursday 2pm or Friday 10am slots.", "metadata": null, "started_at": "2024-01-15T10:30:15Z", "ended_at": "2024-01-15T10:32:20Z", "created_at": "2024-01-15T10:30:00Z"}
Calls
Get Call
Retrieve details of a specific call including transcript and recording
{ "id": "7f3d8e00-a1b2-4c3d-9e4f-567890abcdef", "agent_id": "550e8400-e29b-41d4-a716-446655440000", "agent_name": "Sarah - Receptionist", "from_number": "+16045551234", "to_number": "+14155551234", "direction": "inbound", "status": "completed", "duration": 125, "recording_url": "https://storage.supabase.co/v1/object/public/recordings/7f3d8e00.mp3", "transcript": "Agent: Hello, this is Sarah from Acme Dental. How can I help you today?\n\nCaller: Hi, I'd like to book an appointment for a cleaning.\n\nAgent: Of course! I have availability this Thursday at 2pm or Friday at 10am. Which works better for you?", "sentiment": "positive", "call_summary": "Caller requested a dental cleaning appointment. Agent offered Thursday 2pm or Friday 10am slots.", "metadata": null, "started_at": "2024-01-15T10:30:15Z", "ended_at": "2024-01-15T10:32:20Z", "created_at": "2024-01-15T10:30:00Z"}
Get detailed information about a call, including its status, transcript, summary, and recording URL.
{ "id": "7f3d8e00-a1b2-4c3d-9e4f-567890abcdef", "agent_id": "550e8400-e29b-41d4-a716-446655440000", "agent_name": "Sarah - Receptionist", "from_number": "+16045551234", "to_number": "+14155551234", "direction": "inbound", "status": "completed", "duration": 125, "recording_url": "https://storage.supabase.co/v1/object/public/recordings/7f3d8e00.mp3", "transcript": "Agent: Hello, this is Sarah from Acme Dental. How can I help you today?\n\nCaller: Hi, I'd like to book an appointment for a cleaning.\n\nAgent: Of course! I have availability this Thursday at 2pm or Friday at 10am. Which works better for you?", "sentiment": "positive", "call_summary": "Caller requested a dental cleaning appointment. Agent offered Thursday 2pm or Friday 10am slots.", "metadata": null, "started_at": "2024-01-15T10:30:15Z", "ended_at": "2024-01-15T10:32:20Z", "created_at": "2024-01-15T10:30:00Z"}