Skip to main content
GET
https://api.trillet.ai
/
v2
/
api
/
active-calls
/
{roomName}
/
insights
Get Call Insights
curl --request GET \
  --url https://api.trillet.ai/v2/api/active-calls/{roomName}/insights \
  --header 'x-api-key: <api-key>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "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"
  ]
}

Headers

x-api-key
string
required
API key used for authenticating requests to the API.
x-workspace-id
string
required
Workspace identifier for the API.

Path Parameters

roomName
string
required
The LiveKit room name of the active call.

Response Fields

sentiment
string
Overall sentiment of the conversation (e.g., “positive”, “neutral”, “negative”).
topics
array
Key topics discussed in the call.
summary
string
AI-generated summary of the conversation so far.
suggestions
array
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"
  ]
}