Trillet AI logo

Get Active Call Details

Retrieve detailed information about a specific active call including participants, transcript, and sentiment.

GEThttps://api.trillet.ai/v2/api/active-calls/{roomName}

Headers

x-api-keystringrequired

API key used for authenticating requests to the API.

x-workspace-idstringrequired

Workspace identifier for the API.

Path Parameters

roomNamestringrequired

The LiveKit room name of the active call.

Response Fields

idstring

Unique identifier for the active call.

roomNamestring

The LiveKit room name.

customerPhonestring

Customer's phone number.

customerNamestring

Customer's name if available.

aiAgentNamestring

Name of the AI agent handling the call.

durationnumber

Current call duration in seconds.

sentimentstring

Current detected sentiment.

transcriptarray

Live transcript of the conversation.

participantsarray

Array of call participants with metadata.

{
  "id": "665a1b2c3d4e5f6a7b8c9d0e",
  "roomName": "call-abc123",
  "customerPhone": "+14155551234",
  "customerName": "John Doe",
  "aiAgentName": "Customer Support Agent",
  "duration": 145,
  "sentiment": "positive",
  "transcript": [
    { "role": "agent", "content": "Hello! How can I help you today?" },
    { "role": "customer", "content": "I need help with my account." }
  ],
  "participants": [
    {
      "identity": "agent-001",
      "isAgent": true,
      "metadata": {},
      "joinedAt": "2024-06-01T10:00:00.000Z"
    }
  ]
}