ListDialogues
History of online inference scenarios.
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.
Authorization information
The following table describes the authorization information for this API. You can use it in the Action element of a RAM permission policy statement to grant a RAM user or RAM role the permission to call this API. For more information, see the following:
-
Action: the specific permission point.
-
Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the operation. For more information, see the following:
- Required resource types are marked with a leading asterisk (*).
- For operations that do not support resource-level authorization,
All Resourcesis used.
-
Condition key: the condition keys defined by the cloud service itself.
-
Dependent action: the other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:ListDialogues | list | *All Resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| AgentKey | string | Yes | Unique identifier for the workspace: AgentKey | xxxxx_p_efm |
| TaskId | string | No | Unique identifier for the task. Note You do not need to specify TaskId by default. The system generates it automatically. When the TaskId of subsequent tasks is the same, these tasks belong to the same conversation group. | xxx |
| StartTime | string | No | Start time. | 2024-01-04 11:46:07 |
| EndTime | string | No | End time. | 2024-01-04 11:46:07 |
| DialogueType | integer | No | Generation type: 1: creation; 2: intelligent search (default). | 2 |
| Current | integer | No | Page number of the current page. | 1 |
| Size | integer | No | Number of items per page. Default value: 10. | 10 |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | Response | ||
| Code | string | Status code. | successful |
| Current | integer | Page number of the current page. | 1 |
| Data | array<object> | Generation history list. | |
| Data | object | Generation history. | |
| Bot | string | Model output. | xx |
| CreateTime | string | Creation date. | 2024-01-04 11:46:07 |
| CreateUser | string | Creator. | xx |
| DialogueType | integer | Generation type: 1: creation; 2: intelligent search (default). | 2 |
| TaskId | string | Task ID. | xx |
| User | string | User input. | x |
| HttpStatusCode | integer | HTTP status code. | 200 |
| Message | string | Error message. | successful |
| RequestId | string | Unique identifier of the request. | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Size | integer | Number of records per page. | 10 |
| Success | boolean | Indicates whether the operation is successful. true indicates success, and false indicates failure. | true |
| Total | integer | Total number of records. | 100 |
Examples
Success response
JSON format
{
"Code": "successful",
"Current": 1,
"Data": [
{
"Bot": "xx",
"CreateTime": "2024-01-04 11:46:07",
"CreateUser": "xx",
"DialogueType": 2,
"TaskId": "xx",
"User": "x"
}
],
"HttpStatusCode": 200,
"Message": "successful",
"RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
"Size": 10,
"Success": true,
"Total": 100
}
Error codes
Visit the Error Center to view more error codes.