Last Updated on : 2026-02-26 09:17:25download
Based on the device ID, get the list of languages supported by the specified device.
GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/languages
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| device_id | String | path | true | The ID of the specified device. |
| Parameter name | Type | Description |
|---|---|---|
| has_default | boolean | Indicates whether it is the default language. |
| lang_name | String | The name of the specified language. |
| lang_code | String | The code of the specified language. |
GET: /v1.0/cloud/agent/ai/chat/b/devices/{device_id}/languages
{
"device_id": "123***"
}
{
"result": [
{
"has_default": false
"lang_name": "Hunan dialect",
"lang_code": "zh_hn"
},
{
"has_default": false
"lang_name": "Minnan dialect",
"lang_code": "zh_mn"
},
{
"has_default": false
"lang_name": "English",
"lang_code": "en"
},
{
"has_default": true
"lang_name": "Chinese",
"lang_code": "zh"
}
],
"success": true,
"t": 1753162485939
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback