Diarization + sentiment
Analyze sentiment from a diarization output by its diarization ID — overall tone, per-speaker sentiment and trends across the conversation, at the analysis depth you choose.
Endpoint
Authenticate with your API key in the x-api-key header. See Authentication.
| Header | Value |
|---|---|
x-api-key | YOUR_MUNSIT_API_KEY |
channels=2 gives per-speaker turns with per-turn Sentiment events in real time.Request
The diarization record is addressed in the path; the analysis depth goes in the JSON body.
| Path parameter | Type | Required | Description |
|---|---|---|---|
diarizationId | string (UUID) | Yes | Diarization record ID — from a previous Diarization run. |
| Body field | Type | Required | Description |
|---|---|---|---|
analysis_depth | string | No | light, standard, or deep. |
Example request
Run Diarization first, then pass its record ID here.
Response highlights
The analysis covers the whole conversation and each speaker in it.
| Field | What it tells you |
|---|---|
language | Language detected in the analyzed conversation. |
overall_sentiment | Sentiment of the conversation as a whole. |
speaker_sentiment | Sentiment broken down per diarized speaker. |
sentiment_trends | How sentiment evolves across the conversation. |
confidence_score | Confidence of the analysis. |
Go further
The rest of the understanding stack, and where the diarization ID comes from.
Working with an AI assistant? Every page is available as Markdown: add .md to the URL, or send an Accept: text/markdown header. For the whole documentation in one request, point it at llms-full.txt; the page index is llms.txt. Or use Copy Page, top right.
