アウトバウンドタスク
Get task details
GET
/openapi/tasks/{taskID}リクエスト
パラメータ
taskIDstring必須パスパラメータ · Task ID
レスポンス
200 OK
idinteger必須
任务ID
createdAtstring必須
任务创建时间
updatedAtstring必須
任务更新时间
namestring必須
任务名称
statusstring必須
任务状态
pendingrunningstop.operatestop.timeoutstop.abnormaldonetotalinteger必須
任务号码总数
progressinteger必須
Percentage
collectionRateinteger必須
Percentage
optionobject必須
任务选项
numberFileMetaobject必須
号码integer必須
备注integer必須
姓名integer必須
numbersinteger[]必須
startDatestring必須
开始日期
startTimestring[][]必須
任务执行时间段
retryCountinteger必須
重试次数
retryIntervalinteger必須
重试间隔时间
summarystring必須
任务总结
suggestionstring必須
任务建议
assistantVidinteger必須
使用的助手版本ID
assistantobject必須
使用的助手
idinteger必須
projectIdinteger必須
namestring必須
versionIdinteger必須
scenestring必須
speakerIdinteger必須
websocketUrlstring必須
websocketTokenstring必須
listenerIdinteger必須
welcomestring必須
promptstring必須
collectobject[]必須
[].questionstring
[].answersstring[]
knowledgestring必須
createdAtstring必須
updatedAtstring必須
creatorobject必須
emailstring必須
deletedAtnull必須
idOldVersionboolean必須
usageCountinteger必須
creatorIdinteger必須
サンプルコード
curl -X GET 'https://openapi.voicefox.ai/openapi/tasks/{taskID}' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json'レスポンス例
{
"id": 0,
"createdAt": "任务创建时间",
"updatedAt": "任务更新时间",
"name": "任务名称",
"status": "pending",
"total": 0,
"progress": 0,
"collectionRate": 0,
"option": {
"numberFileMeta": {
"号码": 0,
"备注": 0,
"姓名": 0
},
"numbers": [
0
],
"startDate": "开始日期",
"startTime": [
[
"string"
]
],
"retryCount": 0,
"retryInterval": 0
},
"summary": "任务总结",
"suggestion": "任务建议",
"assistantVid": 0,
"assistant": {
"id": 0,
"projectId": 0,
"name": "string",
"versionId": 0,
"scene": "string",
"speakerId": 0,
"websocketUrl": "string",
"websocketToken": "string",
"listenerId": 0,
"welcome": "string",
"prompt": "string",
"collect": [
{
"question": "string",
"answers": [
"string"
]
}
],
"knowledge": "string",
"createdAt": "string",
"updatedAt": "string",
"creator": {
"email": "string"
},
"deletedAt": null,
"idOldVersion": false,
"usageCount": 0,
"creatorId": 0
}
}