| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 400 | 154000 | Bad request, please check your request body | 请求不合法,请检查参数 |
| 403 | 154003 | Please check you have the correct access | 检查是否申请正确权限 |
| 500 | 155000 | Internal error | 内部错误,请联系我们 |
curl --location --request GET '/helpdesk/v1/agent_skills/' \
--header 'Authorization: Bearer <token>'{
"code": 0,
"msg": "success",
"data": {
"agent_skill": {
"id": "test-skill-id",
"name": "skill-name",
"rules": [
{
"id": "test-skill-id",
"selected_operator": 8,
"operator_options": [
3
],
"operand": {
"selected_departments": [
{
"id": "部门ID",
"name": "IT"
}
]
},
"category": 3,
"display_name": "中文知识库分类"
}
],
"agent_ids": [
"ou_ea21d7f018e1155d960e40d33191f966"
],
"is_default": false,
"agents": [
{
"id": "ou_ea651a5c09e2d01af8acd34059f5359b",
"avatar_url": "https://avatar-url.com/test.png",
"name": "test-user"
}
]
}
}
}