Get Segment Analytics
Get aggregated analytics for a specific segment including sentiment, safety metrics, topics, keywords, and an LLM-generated summary.
Requires Growth+ plan or higher.
Rate limited based on your plan’s maxAnalysesPerHour. Cached results (less than 2 hours old) do not consume rate limit points.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The segment ID to get analytics for.
Query Parameters
Filter analytics by product ID.
Filter analytics by version ID.
Response
Segment analytics retrieved successfully
Average sentiment across all conversations.
Average change in user sentiment.
Average frustration level.
Average struggle level.
Average commercial intent.
Topics discussed across conversations.
Topic groups across conversations.
Keywords extracted from conversations.
LLM-generated summary of the segment.
Number of hallucinations detected.
Number of jailbreak attempts detected.
Number of user bias detections.
Number of model bias detections.
Number of user toxicity detections.
Number of model toxicity detections.
Total number of conversations in the segment.
Total number of participants in the segment.
Average conversation quality index.
Average conversation rating.

