Skip to main content

ListSearchTaskDialogues

Retrieves the task details for MiaoSou search generation tasks.

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 of the 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: refers to the specific permission point.
  • Access level: refers to the access level of each operation. Valid values: Write, Read, or List.
  • Resource type: refers to the resource types that support authorization for the operation. Details are as follows:
    • For required resource types, an asterisk (*) is added as a prefix.
    • For operations that do not support resource-level authorization, All Resources is used.
  • Condition key: refers to the condition keys defined by the cloud service itself.
  • Dependent action: refers to other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:ListSearchTaskDialogueslist
*All Resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
WorkspaceIdstringYes

The unique identifier of the Alibaba Cloud Model Studio workspace: Obtain a workspace ID

xxxx
PageSizeintegerNo

The number of results to return.

10
TaskIdstringNo

The unique ID of the task.

Note You do not need to specify TaskId by default. The system generates it automatically. When subsequent tasks specify the same TaskId, these tasks belong to the same group of conversations.
xxxx
PageNumberintegerNo

The number of the current page.

1

Response parameters

NameTypeDescriptionExample value
object

The response.

Dataarray<object>

Business data

Dataobject

Business data

SessionIdstring

The unique ID of a single-turn conversation.

xxxx
OriginSessionIdstring

The original session ID.

xxxx
TaskIdstring

The unique ID of the task.

xxxx
Ratingstring

Thumbs up or thumbs down.

thumbsUp
Tagsarray

The tags.

Tagstring

The tag information.

xx
Textstring

The customer feedback.

xxx
GoodTextstring

The generated content that the customer rated as good.

xxx
Promptstring

The input prompt.

xxx
CreateTimestring

The creation date.

2024-11-25 13:33:01
DialogueTypeinteger

The type of generation.

24
ResponseBodyStrstring

The response result string.

{}
ChatConfigobject

The configuration.

GenerateTechnologystring

The type of generation.

copilotReference
SearchParamobject
SearchSourcesarray<object>

The search sources.

SearchSourceobject

The search source.

Codestring

The type.

x'x
Namestring

The description.

x
DatasetNamestring

The unique ID.

xx
DialogueTypeinteger

The request type.

24
GenerateLevelstring

The generation level.

concise
EndToEndboolean

Indicates whether the process is end-to-end.

SearchModelsarray

The search type.

SearchModelstring

The search type.

TextGenerate
PageNumberinteger

The number of the current page.

1
PageSizeinteger

The number of entries per page.

10
TotalCountinteger

The total number of entries.

100
RequestIdstring

The unique ID of the request.

1813ceee-7fe5-41b4-87e5-982a4d18cca5
Successboolean

Indicates whether the request succeeded: true for success, false for failure

true
Codestring

The status code.

NoData
Messagestring

The error message.

success
HttpStatusCodeinteger

The HTTP status code.

200

Examples

Success response JSON format
{
  "Data": [
    {
      "SessionId": "xxxx",
      "OriginSessionId": "xxxx",
      "TaskId": "xxxx",
      "Rating": "thumbsUp",
      "Tags": [
        "xx"
      ],
      "Text": "xxx",
      "GoodText": "xxx",
      "Prompt": "xxx",
      "CreateTime": "2024-11-25 13:33:01",
      "DialogueType": 24,
      "ResponseBodyStr": {},
      "ChatConfig": {
        "GenerateTechnology": "copilotReference",
        "SearchParam": {
          "SearchSources": [
            {
              "Code": "x'x",
              "Name": "x",
              "DatasetName": "xx"
            }
          ],
          "EndTime": "",
          "StartTime": "",
          "MultimodalSearchTypes": [
            ""
          ]
        },
        "DialogueType": 24,
        "GenerateLevel": "concise",
        "EndToEnd": true,
        "SearchModels": [
          "TextGenerate"
        ]
      }
    }
  ],
  "PageNumber": 1,
  "PageSize": 10,
  "TotalCount": 100,
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true,
  "Code": "NoData",
  "Message": "success",
  "HttpStatusCode": 200
}

Error codes

Visit the Error Center to view more error codes.