Calls
Monitor active calls, retrieve transcripts, and get AI-generated call summaries.
Active Calls
Returns all currently executing call sessions.
http
GET /calls/activeResponse 200
json
{
"active_calls": ["call_abc123", "call_def456"]
}Call Summary
Retrieve an AI-generated structured summary of a completed call. Rymi analyzes the full transcript using Gemini and extracts key insights.
http
GET /calls/:id/summaryResponse 200
json
{
"sentiment": "positive",
"summary": "The client showed interest in the Gold plan and requested a callback tomorrow at 3 PM."
}INFO
In production, the summary is generated by passing the raw transcript through Google Gemini with structured output extraction for sentiment, intent, and key action items.
Call Transcript
Retrieve the raw conversation transcript for a call.
http
GET /calls/:id/transcriptResponse 200
json
{
"transcript": [
{ "id": "t_1", "call_id": "call_123", "type": "user_input", "response": "Hello?", "timestamp": "2026-03-01T10:00:01Z" },
{ "id": "t_2", "call_id": "call_123", "type": "ai_response", "response": "Hi! This is Priya from Rymi...", "timestamp": "2026-03-01T10:00:03Z" }
]
}