Analyze Text
Analyze text content using Deepgram's text analysis API
Headers
Authorization
Query parameters
callback
URL to which we'll make the callback request
callback_method
HTTP method by which the callback request will be made
Allowed values:
custom_topic
Custom topics you want the model to detect within your input audio or text if present Submit up to 100
custom_topic_mode
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:
intents
Recognizes speaker intent throughout a transcript or text
language
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
sentiment
Recognizes the sentiment throughout a transcript or text
summarize
Summarize content. For Listen API, supports string version option. For Read API, accepts boolean only.
tag
Label your requests for the purpose of identification during usage reporting
topics
Detect topics throughout a transcript or text
Request
Analyze a text file
text_request_url
OR
text_request_text
Response
Successful text analysis
metadata
results