ListNluModels
Lists the available conversational models.
Try it now
You can call this API directly in OpenAPI Explorer, which saves you the trouble of calculating signatures. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.
RAM authorization
The following table describes the authorization information of this API. You can use the Action element in a RAM policy statement to grant a RAM user or RAM role the permission to call this API. The details are as follows:
- Operation: the specific permission.
- Access level: the access level of each operation. Valid values: Write, Read, and List.
- Resource type: the resource types that can be authorized in the operation. The details are as follows:
- An asterisk (*) before a resource type indicates that the resource type is required.
- For operations that do not support resource-level authorization,
All resourcesis used.
- Condition keyword: the condition keywords defined by the cloud service itself.
- Related operation: other permissions required to successfully perform the operation. The caller must also have the permissions of the related operations.
Operation | Access level | Resource type | Condition keyword | Related operation |
|---|---|---|---|---|
bailianvoicebot:ListNluModels | list | *All resources
| None | None |
Request syntax
POST HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| BusinessUnitId | string | No | The ID of the Model Studio business space. | llm-3pptowd2olrctsvc |
Response elements
Element | Type | Description | Example |
|---|---|---|---|
object | Schema of Response | ||
| RequestId | string | The request ID. | CF6D3484-19A1-5C77-863B-AC8B5754D37C |
| Code | string | The internal error code. | OK |
| HttpStatusCode | integer | The HTTP status code. | 200 |
| Message | string | The error message. | Instance llm-rj6aqmctjcit4acy does not exist. |
| Data | array<object> | A list of conversational models. | |
object | A conversational model. | ||
| Id | string | The model ID. | qwen-plus |
| Name | string | The model name. | Qwen-Plus |
| Params | array | The list of dynamic error parameters. | |
string | A dynamic error parameter. | llm-xdne77rxe14ziszr |
Examples
Success response
JSON format
{
"RequestId": "CF6D3484-19A1-5C77-863B-AC8B5754D37C",
"Code": "OK",
"HttpStatusCode": 200,
"Message": "Instance llm-rj6aqmctjcit4acy does not exist.",
"Data": [
{
"Id": "qwen-plus",
"Name": "通义千问-Plus"
}
],
"Params": [
"llm-xdne77rxe14ziszr"
]
}
Error codes
Visit the Error Center to view more error codes.
Release notes
For more information, see Change details.