ListScriptRecording

Updated at:

Query the list of recording files. Use this operation in small model scenarios.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

outboundbot:ListScriptRecording

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

Instance ID of the recording

c209abb3-6804-4a75-b2c7-dd55c8c61b6a

ScriptId

string

Yes

Scenario ID of the recording

d004cfd2-6a81-491c-83c6-cbe186620c95

UuidsJson

string

No

Recording ID list

Note

This is a list of unique recording IDs. If left blank, all recordings display.

["d17d5bfa-4972-4389-9718-f9602edabe48"]

StatesJson

string

No

Recording status

  • Validating: 1

  • Validation failed: 2

  • Processing: 3

  • Processing failed: 4

  • Reviewing: 5

  • Review failed: 6

  • Publish failed: 7

  • Published: 8

  • Pending publish: 9

[ "8" ]

Search

string

No

Search criteria: Search by recording name or content.

您好

PageNumber

integer

Yes

Page number

1

PageSize

integer

Yes

Number of entries per page

10

RefIdsJson

string

No

Recording ID list (JSON format), same as UuidsJson

["d9fad189-760b-47b9-837f-aeabb4fc9109\"]

Response elements

Element

Type

Description

Example

object

HttpStatusCode

integer

HTTP status code

200

RequestId

string

Request ID

254EB995-DEDF-48A4-9101-9CA5B72FFBCC

Success

boolean

Success

true

Code

string

API status

OK

Message

string

API message

Success

PageSize

integer

Number of entries per page

10

PageNumber

integer

Page number

1

TotalCount

integer

Total count

99

ScriptRecordings

array<object>

Recording list

object

RecordingContent

string

Recording content

您好!

State

integer

Recording status

8

StorageUuid

string

Storage UUID

393674ed-3b5d-db44-0fda-615d05210178

StateExtend

string

State extension

InstanceId

string

Instance ID

ff0fb845-9f90-46d3-9716-d36b8a1e753a

GmtModified

integer

Update time

1654601332000

ScriptId

string

Scenario ID of the recording

6019b692-fd9e-4adb-8877-cef6a297b234

Uuid

string

Unique ID of the recording

0a77386e-6402-8d23-4adf-6ec13b3f404d

GmtUpload

integer

Recording upload time

1654601332000

RecordingDuration

integer

Recording duration, in seconds.

10

RecordingName

string

Recording name

hello.wav

GmtCreate

integer

Creation time.

1744963749000

InnerId

string

The ID of the recording file within the instance

000003

RefId

string

The unique ID of the recording.

0a77386e-6402-8d23-4adf-6ec13b3f404d

Examples

Success response

JSON format

{
  "HttpStatusCode": 200,
  "RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC\n",
  "Success": true,
  "Code": "OK",
  "Message": "Success",
  "PageSize": 10,
  "PageNumber": 1,
  "TotalCount": 99,
  "ScriptRecordings": [
    {
      "RecordingContent": "您好!",
      "State": 8,
      "StorageUuid": "393674ed-3b5d-db44-0fda-615d05210178\n",
      "StateExtend": "无",
      "InstanceId": "ff0fb845-9f90-46d3-9716-d36b8a1e753a",
      "GmtModified": 1654601332000,
      "ScriptId": "6019b692-fd9e-4adb-8877-cef6a297b234",
      "Uuid": "0a77386e-6402-8d23-4adf-6ec13b3f404d\n",
      "GmtUpload": 1654601332000,
      "RecordingDuration": 10,
      "RecordingName": "hello.wav",
      "GmtCreate": 1744963749000,
      "InnerId": "000003\n",
      "RefId": "0a77386e-6402-8d23-4adf-6ec13b3f404d\n"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.