/v1/readAnalyze text contentAnalyze text content using Deepgrams text analysis API
Parameters
callbackstringqueryURL to which we'll make the callback request
callback_methodstringqueryHTTP method by which the callback request will be made
sentimentbooleanqueryRecognizes the sentiment throughout a transcript or text
summarizevaluequerySummarize content. For Listen API, supports string version option. For Read API, accepts boolean only.
oneOf · 2 options
V1ReadPostParametersSummarize0
tagvaluequeryLabel your requests for the purpose of identification during usage reporting
oneOf · 2 options
topicsbooleanqueryDetect topics throughout a transcript or text
custom_topicvaluequeryCustom topics you want the model to detect within your input audio or text if present Submit up to `100`.
oneOf · 2 options
custom_topic_modestringquerySets 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
intentsbooleanqueryRecognizes speaker intent throughout a transcript or text
custom_intentvaluequeryCustom intents you want the model to detect within your input audio if present
oneOf · 2 options
custom_intent_modestringquerySets how the model will interpret intents submitted to the `custom_intent` param. When `strict`, the model will only return intents submitted using the `custom_intent` param. When `extended`, the model will return its own detected intents in the `custom_intent` param.
languagestringqueryThe [BCP-47 language tag](https://tools.ietf.org/html/bcp47) that hints at the primary spoken language. Depending on the Model and API endpoint you choose only certain languages are available
Request body
Analyze a text file
application/json
ReadV1Request
oneOf · 2 options
ReadV1RequestUrl
urlstring · urirequiredA URL pointing to the text source
ReadV1RequestText
textstringrequiredThe plain text to analyze
{
"url": "https://example.com"
}Responses
ReadV1Response
The standard text response
metadataobjectrequiredShow child attributes
metadataobjectShow child attributes
createdstring · date-timeintents_infoobjectShow child attributes
input_tokensintegermodel_uuidstring · uuidoutput_tokensintegerlanguagestringrequest_idstring · uuidsentiment_infoobjectShow child attributes
input_tokensintegermodel_uuidstring · uuidoutput_tokensintegersummary_infoobjectShow child attributes
input_tokensintegermodel_uuidstring · uuidoutput_tokensintegertopics_infoobjectShow child attributes
input_tokensintegermodel_uuidstring · uuidoutput_tokensintegerresultsobjectrequiredShow child attributes
intentsobjectOutput whenever `intents=true` is used
sentimentsobjectOutput whenever `sentiment=true` is used
summaryobjectOutput whenever `summary=true` is used
Show child attributes
resultsobjectShow child attributes
summaryobjectShow child attributes
textstringtopicsobjectOutput whenever `topics=true` is used
{
"metadata": {
"metadata": {
"created": "2026-06-09T00:00:00Z",
"intents_info": {
"input_tokens": 0,
"model_uuid": "00000000-0000-0000-0000-000000000000",
"output_tokens": 0
},
"language": "string",
"request_id": "00000000-0000-0000-0000-000000000000",
"sentiment_info": {
"input_tokens": 0,
"model_uuid": "00000000-0000-0000-0000-000000000000",
"output_tokens": 0
},
"summary_info": {
"input_tokens": 0,
"model_uuid": "00000000-0000-0000-0000-000000000000",
"output_tokens": 0
},
"topics_info": {
"input_tokens": 0,
"model_uuid": "00000000-0000-0000-0000-000000000000",
"output_tokens": 0
}
}
},
"results": {
"intents": {
"segments": [
{
"end_word": 0,
"intents": [
{
"confidence_score": "string",
"intent": "string"
}
],
"start_word": 0,
"text": "string"
}
]
},
"sentiments": {
"average": {
"sentiment": "string",
"sentiment_score": 0
},
"segments": [
{
"end_word": 0,
"sentiment": "string",
"sentiment_score": 0,
"start_word": 0,
"text": "string"
}
]
},
"summary": {
"results": {
"summary": {
"text": "string"
}
}
},
"topics": {
"segments": [
{
"end_word": 0,
"start_word": 0,
"text": "string",
"topics": [
{
"confidence_score": "string",
"topic": "string"
}
]
}
]
}
}
}ErrorResponse
oneOf · 3 options
ErrorResponseTextError
ErrorResponseLegacyError
err_codestringThe error code
err_msgstringThe error message
request_idstringThe request ID
ErrorResponseModernError
categorystringThe category of the error
detailsstringA description of the error
messagestringA message about the error
request_idstringThe unique identifier of the request
{
"err_code": "string",
"err_msg": "string",
"request_id": "string"
}