Trillet AI logo

Get Call Insights

Get AI-generated insights for an active call, including sentiment analysis and key topics.

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

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

sentimentstring

Overall sentiment of the conversation (e.g., "positive", "neutral", "negative").

topicsarray

Key topics discussed in the call.

summarystring

AI-generated summary of the conversation so far.

suggestionsarray

AI-generated suggestions for the agent.

{
  "sentiment": "positive",
  "topics": ["account inquiry", "billing"],
  "summary": "Customer is asking about their recent invoice and payment options.",
  "suggestions": [
    "Offer to email a detailed invoice breakdown",
    "Mention the available payment plans"
  ]
}