ListScriptVoiceConfigs
Lists the audio in a legacy canvas scene.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:ListScriptVoiceConfigs |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
af81a389-91f0-4157-8d82-720edd02b66a |
| ScriptId |
string |
Yes |
The ID of the script. |
f95c7ca6-872c-4765-8493-165a8dfc682d |
| PageNumber |
integer |
Yes |
The page number of the page to return. |
1 |
| PageSize |
integer |
Yes |
The number of entries to return on each page. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Code |
string |
The API status code. |
OK |
| Message |
string |
The returned message. |
Success |
| RequestId |
string |
The request ID. |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
Indicates whether the request succeeded. |
true |
| ScriptVoiceConfigs |
object |
The paginated list of script voice configurations. |
|
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| TotalCount |
integer |
The total number of entries. |
100 |
| List |
array<object> |
An array of script voice configuration objects. |
|
|
object |
The details of a script voice configuration. |
||
| Type |
string |
The voice type. |
TTS |
| ScriptVoiceConfigId |
string |
The ID of the voice configuration. |
2c8fa91f-9856-4145-90f2-08252f09bc18 |
| ScriptContent |
string |
The text content of the script. |
请问你是 @name 吗 |
| InstanceId |
string |
The instance ID. |
bdd49242-114c-4045-b1d1-25ccc1756c75 |
| ScriptId |
string |
The script ID. |
a7441a05-43bb-4a2d-acb0-365f245d7a5b |
| ScriptWaveformRelation |
string |
The relationship between the script and the audio file. |
"" |
| Source |
string |
The source of the script. |
DIALOGUE_FLOW |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "Success",
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Success": true,
"ScriptVoiceConfigs": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"List": [
{
"Type": "TTS",
"ScriptVoiceConfigId": "2c8fa91f-9856-4145-90f2-08252f09bc18",
"ScriptContent": "请问你是 @name 吗",
"InstanceId": "bdd49242-114c-4045-b1d1-25ccc1756c75",
"ScriptId": "a7441a05-43bb-4a2d-acb0-365f245d7a5b",
"ScriptWaveformRelation": "\"\"",
"Source": "DIALOGUE_FLOW"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. | |
| 404 | NotExist.Instance | The specified Instance does not exist. | |
| 404 | NotExist.Script | The specified Script does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.