Creates an outbound call session.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Debug
Authorization information
The following table describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles the permission to call this API. Details are as follows:
- Action: the specific permission point.
- Access level: the access level of each action. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the action. Details are as follows:
- For required resource types, an asterisk (*) is added as a prefix.
- For actions that do not support resource-level authorization,
All resourcesis used.
- Condition key: the condition keys defined by the cloud service itself.
- Related action: other permissions required to successfully perform the action. The caller must also have the permissions of the related actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Related action |
|---|---|---|---|---|
| dianjin:CreateDialog | create | *All resources * |
| None |
Request syntax
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| workspaceId | string | Yes | The workspace ID. | llm-xxxxx |
| body | object | No | The request body. | |
| playCode | string | Yes | The playbook code. | live_broadcast_qa |
| channel | string | Yes | The channel. | taobao |
| metaData | object | No | Other information. | null |
| qaLibraryList | array | No | A list of Q&A library IDs. | |
| qaLibraryList | string | No | The Q&A library ID. | d86a4b9cd3 |
| requestId | string | Yes | The request ID. | ebf83826-dc1c-46f8-9759-0fb6da4c8xxx |
| enableLibrary | boolean | No | Specifies whether to enable the intent library. | false |
| selfDirected | boolean | No | Specifies whether to enable autonomous Q&A. | false |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | ResultCode | ||
| success | boolean | Indicates whether the request was successful. | true |
| dataType | string | The data type. | null |
| time | string | The timestamp. | 2024-01-01 00:00:00 |
| errCode | string | The error code. | 0 |
| message | string | The error message. | ok |
| data | object | The response data. | |
| sessionId | string | The session ID. | 1728545917713234 |
| openingRemarks | string | The opening remarks. | Hello, I am an XX customer service agent. |
| requestId | string | The request ID. | 003D019A-1BB3-53EC-A0D2-CE76DA5D73B1 |
| cost | long | The time consumed. | null |
Examples
Success response
JSON format
Error codes
Visit the Error Center to view more error codes.
Change history
| Time | Change summary | Operation |
|---|