Retrieves the Q&A results generated by the SubmitChatQuestion API.
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 RAM policy statements 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 in the operation. Details are as follows:
- Required resource types are marked with a leading asterisk (*).
- For operations that do not support resource-level authorization,
All Resourcesis 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 also have the permissions of the dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| dianjin:GetChatQuestionResp | none | *All Resources * |
| None |
Request syntax
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| workspaceId | string | Yes | Workspace ID | llm-xxxxx |
| body | object | No | Request body | |
| sessionId | string | Yes | Session ID | 237645726354 |
| batchId | string | Yes | Question batch ID | 1869307330227937280 |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | Result | ||
| success | boolean | Indicates whether the operation is successful | true |
| dataType | string | Data type | null |
| time | string | Timestamp | 2024-01-01 00:00:00 |
| errCode | string | Error code | 0 |
| message | string | Error message | ok |
| data | object | Response data | |
| currentState | string | Current state[INIT (Initialization), PROCESSING (Processing), COMPLETED (Completed)] | PROCESSING |
| questionList | array<object> | Question list | |
| questionList | object | Question | |
| sessionId | string | Session ID | 1732846760323001 |
| userId | string | Unique ID of the user who asked the question in the live streaming room | 39847834568436 |
| userName | string | Name of the user who asked the question in the live streaming room | Zhang* |
| content | string | Question content | What is the weather like today |
| gmtCreate | string | Original question time | 2024-11-17 10:05:00 |
| type | string | Question type[PRODUCT_QA (Audio submission), GOSSIP (Operation submission), UNKNOWN (Unknown)] | PRODUCT_QA |
| reply | string | Reply content, the content of the reply | Thank you for your support! |
| oriContent | string | Original question | What is the weather like today |
| requestId | string | Request ID | 44BD277A-87F9-5310-8D63-3E6645F1DA85 |
| cost | long | Time consumed | null |
Examples
Success response
JSON format
Error codes
Visit the Error Center to view more error codes.
Release notes
| Change time | Change summary | Operation |
|---|