tencent cloud

ListQA
Last updated: 2025-10-30 21:48:39
ListQA
Last updated: 2025-10-30 21:48:39

1. API Description

Domain name for API request: lke.intl.tencentcloudapi.com.

This API is used to query Q&A lists.

A maximum of 100 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: ListQA.
Version Yes String Common Params. The value used for this API: 2023-11-30.
Region Yes String Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-jakarta.
BotBizId Yes String Application ID.
PageNumber Yes Integer Page number.
PageSize Yes Integer Page size.
Query No String Query a question.
AcceptStatus.N No Array of Integer Verification status (1: not verified 2: adopted 3: not adopted).
ReleaseStatus.N No Array of Integer Release status (2: pending release; 3: releasing; 4: released; 7: under review; 8: review failed; 9: under manual appeal; 11: manual appeal failed; 12: expired; 13: excessive invalid; 14: excessive invalid recovered).
DocBizId No String Document ID.
Source No Integer Source (1: generated from document; 2: import in batches; 3: manually added).
QueryAnswer No String Query an answer.
CateBizId No String Category ID.
QaBizIds.N No Array of String Q&A business ID list.
QueryType No String Query type: filename; attribute label.

3. Output Parameters

Parameter Name Type Description
Total String Q&A quantity.
WaitVerifyTotal String Quantity of pending verification Q&As.
NotAcceptedTotal String Quantity of not adopted Q&As.
AcceptedTotal String Quantity of adopted Q&As.
PageNumber Integer Page number.
List Array of ListQaItem Q&As details.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Get Q&A List

Get the question and answer list.

Input Example

POST / HTTP/1.1
Host: lke.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ListQA
<Common request parameters>

{
    "BotBizId": "1714970520775950336",
    "PageNumber": 1,
    "PageSize": 50,
    "QaBizIds": [
        "162734",
        "162779"
    ]
}

Output Example

{
    "Response": {
        "AcceptedTotal": "2",
        "List": [
            {
                Answer": "Just name it Soaring Dragon in the Sky
                "CreateTime": "1701420491",
                "DocBizId": "0",
                "FileName": "",
                "FileType": "",
                "IsAllowAccept": false,
                "IsAllowDelete": true,
                "IsAllowEdit": true,
                "QaBizId": "162779",
                "QaCharSize": "14",
                Question": "Help me come up with a name
                "Source": 3,
                SourceDesc": "manual entry
                "Status": 2,
                StatusDesc": "to be released
                "UpdateTime": "1702366925"
            },
            {
"Answer": "My good fur matter 12141"                "CreateTime": "1701419959",
                "DocBizId": "0",
                "FileName": "",
                "FileType": "",
                "IsAllowAccept": false,
                "IsAllowDelete": true,
                "IsAllowEdit": true,
                "QaBizId": "162734",
                "QaCharSize": "13",
                Question": "Your number",
                "Source": 3,
                SourceDesc": "manual entry
                "Status": 2,
                StatusDesc": "Pending release"
                "UpdateTime": "1701939988"
            }
        ],
        "NotAcceptedTotal": "0",
        "PageNumber": 1,
        "RequestId": "b83a51f5-faba-4c2d-9844-fc1a9bd68c26",
        "Total": "2",
        "WaitVerifyTotal": "0"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation Operation failed.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback