获取请求
GET
/v1 /projects/ {project_id} /requests/ {request_id}检索发送到指定项目的 Deepgram API 的指定请求的详细信息
请求参数
Path 参数
project_id
string
必需
您要检索其指定请求的项目的唯一标识符。 (通用唯一标识)
request_id
string
必需
您要检索的请求的唯一标识符。 (通用唯一标识)
示例代码
返回响应
成功(200)
禁止访问(403)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
request_id
string
必需
created
string
必需
path
string
必需
api_key_id
string
必需
response
object
必需
details
object
必需
code
integer
必需
completed
string
必需
callback
object
必需
attempts
integer
必需
code
integer
必需
completed
string
必需
示例
成功示例
{
"request_id": "uuid",
"created": "YYYY-MM-DDThh:mm:ss.sTZD",
"path": "string",
"api_key_id": "uuid",
"response": {
"details": {
"usd": 0,
"duration": 0,
"total_audio": 0,
"channels": 0,
"streams": 0,
"models": [
"string"
],
"method": "string",
"tags": [
"string"
],
"features": [
"string"
],
"config": {
"alternatives": 0,
"callback": "string",
"diarize": true,
"keywords": [
"string"
],
"language": "string",
"model": "string",
"multichannel": true,
"ner": true,
"numerals": true,
"profanity_filter": true,
"punctuate": true,
"redact": [
"string"
],
"search": [
"string"
],
"utterances": true
}
},
"code": 0,
"completed": "YYYY-MM-DDThh:mm:ss.sTZD"
},
"callback": {
"attempts": 0,
"code": 0,
"completed": "YYYY-MM-DDThh:mm:ss.sTZD"
}
}
最后修改时间: 7 个月前