Domain name for API request: lke.intl.tencentcloudapi.com.
This API is used to get the model list.
A maximum of 20 requests can be initiated per second for this API.
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: ListModel. |
| 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. |
| AppType | Yes | String | Application type; knowledge_qa - knowledge Q&A management; summary - knowledge summary; classifys - knowledge label extraction. |
| Pattern | No | String | Application mode standard: standard; agent; single_workflow. |
| ModelCategory | No | String | Model category: Generate: Generative model Thought: Thinking model |
| LoginUin | No | String | Login to user's root account (required in integrator mode). |
| LoginSubAccountUin | No | String | Login to user's sub-account (required in integrator mode). |
| Parameter Name | Type | Description |
|---|---|---|
| List | Array of ModelInfo | Model list. |
| 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. |
Get the model list.
POST / HTTP/1.1
Host: lke.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ListModel
<Common request parameters>
{
"AppType": "knowledge_qa",
"ModelCategory": "thought",
"Pattern": "agent"
}{
"Response": {
"List": [
{
AliasName": "Fine-tuned Knowledge Large Model - Standard",
"MaxTokens": {
"Default": 4000,
"Max": 8000,
"Min": 1
},
"ModelDesc": "",
"ModelName": "cs-normal",
"PromptWordsLimit": "8K",
"ResourceStatus": 1,
"Temperature": {
"Default": 0.7,
"Max": 1,
"Min": 0
},
"TopP": {
"Default": 0.8,
"Max": 1,
"Min": 0
}
}
],
"RequestId": "53b9fa7e-d4b5-4aec-8229-d56ea3965493"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
文档反馈