Deepgram Audio Intelligence
Audio intelligence is not a separate endpoint. It is five query parameters on /v1/listen, the
same endpoint that returns the transcript. You get the transcript and the analysis in one response,
from one API call. This skill gets a verified request working and states the limits precisely.
Decide first
- Your input is audio (a file, a URL, a call recording) and you want analysis: stay here, use
POST https://api.deepgram.com/v1/listen. - Your input is already text (a transcript, an email, a chat log, a support ticket): the
parameters below do not apply. Use the Read API,
POST /v1/read. Open thetext-intelligenceskill. - You only want the transcript: drop these parameters and open the
speech-to-textskill. - You are streaming live audio: see the matrix (
detect_entitiesonly).
Feature matrix
| Parameter | Prerecorded | Streaming (wss) | Language |
|---|---|---|---|
summarize=v2 (or summarize=true) | yes | no | English only; an explicit non-English language is a 400 (mistake 3 covers detect_language) |
sentiment=true | yes | no | English only |
topics=true | yes | no | English only |
intents=true | yes | no | English only |
detect_entities=true | yes | yes | English only |
detect_entities is the odd one out twice over: it is the only feature that works on the live
socket, and it is the only one that does not exist on the Read API. Streaming entity detection
runs on Nova, Nova-2, Nova-3, and Enhanced; it is not available on Base models or on Flux STT. [2]
Verified request
bashcurl -s -X POST 'https://api.deepgram.com/v1/listen?model=nova-3&smart_format=true&summarize=v2&sentiment=true&topics=true&intents=true&detect_entities=true' \ -H "Authorization: Token $DEEPGRAM_API_KEY" \ -H 'Content-Type: application/json' \ -d '{"url":"https://dpgr.am/spacewalk.wav"}'
Returns 200. The analysis is scattered across the response, not collected in one place:
| Result | Path |
|---|---|
| Summary | results.summary.short (with results.summary.result = "success") |
| Sentiment per segment | results.sentiments.segments[] — text, start_word, end_word, sentiment, sentiment_score |
| Sentiment overall | results.sentiments.average — sentiment, sentiment_score |
| Sentiment per word | results.channels[0].alternatives[0].words[] gains sentiment and sentiment_score |
| Topics | results.topics.segments[].topics[] — topic, confidence_score |
| Intents | results.intents.segments[].intents[] — intent, confidence_score |
| Entities | results.channels[0].alternatives[0].entities[]: label, value, raw_value, confidence, start_word, end_word |
Note the plural: the parameter is sentiment, the result key is sentiments. metadata gains a
summary_info, sentiment_info, topics_info, and intents_info block per enabled feature, each
with model_uuid, input_tokens, and output_tokens. sentiment_score runs from -1 to 1,
and the break point between neutral and positive or negative is 0.333... either side of
zero; confidence_score on topics and intents runs from 0 to 1. [3] Entity labels come back
uppercased (NAME, ORGANIZATION, LOCATION_CITY, MONEY, DATE_INTERVAL, CARDINAL).
value is the formatted text and raw_value is the text as spoken; raw_value is present when
a formatting feature such as smart_format is on. [4] Deepgram documents 59 entity types, and
redact accepts 56 of them: cardinal, ordinal, and percent are detected but are not valid
redact values, and passing one to redact returns a 400. [6]
summarize needs more than 50 words of speech. For a shorter input, summary.short is the
original input returned as-is, and no tokens in or out are billed as summarization usage, so a
summary_info with zero tokens on a short clip is not a failure. [3]
On the live socket, detect_entities=true adds a top-level entities array to Results
messages, next to channel and not inside channel.alternatives[0]. Read entities only from
messages whose is_final is true. Interim results can carry the key too, usually [] and
sometimes populated, and those values are not final. A final result with nothing detected
carries "entities": []. Same field shape as above, raw_value included when formatting is on. [4]
To return complete entities, the server holds a final result until the speaker moves on to
non-entity speech, 3 seconds of silence pass, or a Finalize message arrives. no_delay=true
forces immediate finalization without that wait, and leaves entities missed or incomplete in
many cases. Send no_delay=true only when latency matters more than entity
accuracy. [4]
Narrowing topics and intents
custom_topic and custom_intent (repeatable, up to 100 of each) add your own labels;
custom_topic_mode and custom_intent_mode take extended (default, your labels plus the
model's) or strict (your labels only). strict returns "segments": [] whenever nothing
matches your list, which looks like a broken request but is not. Start with extended. [3]
Common mistakes
- Expecting these to work on streaming.
summarizefails the WebSocket handshake with 400"Summarization is not available for streaming.".topicsandintentsfail it with 403{"err_code":"UNAUTHORIZED_FEATURES_REQUESTED","err_msg":"Project does not have access to the requested feature/s [\"topics\"]."}, which reads as a permissions problem but is not one: the same key's prerecordedtopicsrequests succeed, and the docs matrix lists streaming as unsupported for both. [2]sentimentis worse still: the handshake succeeds and no sentiment is ever returned. Onlydetect_entitiesworks. - Expecting a non-English request to fail loudly. It does not. With
language=eson real Spanish audio,sentiment,topics,intents, anddetect_entitiesreturn HTTP 200 with the transcript, the analysis keys silently absent, and the reason only inmetadata.warnings:[{"parameter":"sentiment","type":"unsupported_language","message":"Sentiment is only supported for English."}], plus"Topics are only supported for English.","Intents are only supported for English.", and"Entity detection is only supported for English.". Readmetadata.warningsbefore you conclude the model found nothing. - Assuming
summarizebehaves the same way. It is the exception whenlanguageis explicit:language=esis a hard 400,{"err_code":"Bad Request","err_msg":"Summarization v2 not supported for non-English languages"}, andlanguage=multigets the same 400. Withdetect_language=trueand non-English speech it behaves like the others: HTTP 200, ametadata.warningsentry with"parameter":"summarize"and"type":"unsupported_language", andresults.summarypresent with"result":"failure"and ashortstring that says the feature is English only. Checksummary.resultbefore you usesummary.short. [3] language=multias a workaround. It is not one. Forsentiment,intents, andtopics,multireturns the analysis when the detected speech is English and drops it with the samemetadata.warningswhen it is not, so the same request succeeds or silently degrades depending on what the caller said.summarizewithlanguage=multiis a 400.summarize=v1. Returns 400"To use the summarize feature, please use 'summarize=true' or 'summarize=v2'. The 'summarize=v1' parameter is deprecated."Usev2;trueis accepted and returns the samesummary.shortshape.- Looking for
results.summary.text. That is the Read API's shape. On/v1/listenthe summary is atresults.summary.short. - Putting any of these on Flux STT.
/v2/listenrejects all five at the handshake with 400{"err_code":"INVALID_QUERY_PARAMETER","err_msg":"Unknown query parameters: detect_entities"}, and the same message namingsummarize,sentiment,topics, orintents. Transcribe with Flux STT, then send the transcript to/v1/read. - Reaching for these to mask PII. Detection returns entities, it does not remove them. Use
redactfor that, which is a speech-to-text parameter and rejectscardinal,ordinal, andpercent(see the entity-type counts above). [6]
Pricing
Enabling these features changes what a request costs. Rates and the billing model change, so read https://deepgram.com/pricing rather than any figure quoted in a skill.
Use a different skill when
- Your input is text rather than audio, or you need the Read API's input limits:
text-intelligenceskill (/v1/read). - You want every parameter and the full response schema:
apiskill,references/listen.md. - You only need transcription, diarization, redaction, or captions:
speech-to-textskill. - You want a runnable demo app:
startersskill. Note there is noaudio-intelligencestarter; thetext-intelligencefeature (13 frameworks) is the Read API app. - You want a snippet under 50 lines:
recipesskill, "Audio Intelligencev1" —summarize,sentiment,topics,intents,entities, in Python, JavaScript, Go, .NET, Java, Rust, and the CLI. [7] - You want language-idiomatic SDK code: install
deepgram-{js,python,java,go,rust,dotnet}-audio-intelligencefrom the matching SDK repository (npx skills add deepgram/deepgram-python-sdk, and so on). - You want to find a docs page:
docsskill. You want the docs in your editor:setup-mcpskill.
Sources
- https://developers.deepgram.com/docs/audio-intelligence (getting started)
- https://developers.deepgram.com/docs/stt-intelligence-feature-overview (the prerecorded/streaming/language matrix, and the streaming entity-detection model footnote)
- https://developers.deepgram.com/docs/summarization, https://developers.deepgram.com/docs/sentiment-analysis, https://developers.deepgram.com/docs/topic-detection, https://developers.deepgram.com/docs/intent-recognition
- https://developers.deepgram.com/docs/detect-entities
- https://developers.deepgram.com/docs/language and https://developers.deepgram.com/docs/models-languages-overview
- https://developers.deepgram.com/docs/supported-entity-types (59 entity types, 56 of them valid
redactvalues) and https://developers.deepgram.com/docs/redaction - https://github.com/deepgram/recipes/blob/main/COVERAGE.md ("Audio Intelligence
v1" section) - https://developers.deepgram.com/reference/speech-to-text/listen-pre-recorded and https://developers.deepgram.com/reference/speech-to-text/listen-streaming
- https://developers.deepgram.com/docs/errors and https://deepgram.com/pricing


