Analyze Text

POST

Analyze text content using Deepgram’s text analysis API

Query parameters

callbackstringOptional

URL to which we’ll make the callback request

callback_methodenumOptionalDefaults to POST

HTTP method by which the callback request will be made

Allowed values: POSTPUT
custom_topicstringOptional

Custom topics you want the model to detect within your input audio or text if present Submit up to 100

custom_topic_modeenumOptionalDefaults to extended

Sets how the model will interpret strings submitted to the custom_topic param. When strict, the model will only return topics submitted using the custom_topic param. When extended, the model will return its own detected topics in addition to those submitted using the custom_topic param

Allowed values: extendedstrict
intentsbooleanOptionalDefaults to false

Recognizes speaker intent throughout a transcript or text

languageenumOptionalDefaults to en

The BCP-47 language tag that hints at the primary spoken language. Depending on the Model and API endpoint you choose only certain languages are available

sentimentbooleanOptionalDefaults to false

Recognizes the sentiment throughout a transcript or text

summarizeenumOptional

Summarize content. For Listen API, supports string version option. For Read API, accepts boolean only.

Allowed values: v2v1
topicsbooleanOptionalDefaults to false

Detect topics throughout a transcript or text

Request

This endpoint expects an object.
Text Request URLobject
OR
Text Request Textobject

Response

Successful text analysis

metadataobject
resultsobject

Errors

Built with