列出數字員工
介面說明
列出數字員工
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
starops:ListDigitalEmployees |
list |
*DigitalEmployee
|
無 | 無 |
請求文法
GET /digital-employee HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| maxResults |
integer |
否 |
分頁大小 預設值: 20 最大值: 100 |
10 |
| nextToken |
string |
否 |
下一次查詢的令牌。 |
xxxxxx |
| name |
string |
否 |
數字員工名稱。 |
test |
| employeeType |
string |
否 |
數字員工類型。 |
custom |
| displayName |
string |
否 |
數字員工顯示名稱。 |
test |
| tags |
array |
否 |
標籤 |
|
| Tag |
否 |
標籤 |
||
| resourceGroupId |
string |
否 |
資源群組 ID |
rg-ae******ey |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| requestId |
string |
請求 ID。 |
8FDE2569-626B-5176-9844-28877A***** |
| nextToken |
string |
下一次查詢的令牌。 |
xxxxx |
| total |
integer |
總記錄數 |
56 |
| maxResults |
integer |
最大返回結果數 |
10 |
| digitalEmployees |
array<object> |
數字員工列表 |
|
|
array<object> |
數字員工 |
||
| name |
string |
數字員工名稱。 |
test |
| defaultRule |
string |
數字員工預設規則。 |
test |
| description |
string |
數字員工描述資訊。 |
test |
| createTime |
string |
建立時間。 |
2025-11-04T08:08:57Z |
| displayName |
string |
數字員工顯示名稱。 |
test |
| updateTime |
string |
修改時間。 |
2025-05-07T02:26:01Z |
| roleArn |
string |
RAM 角色 ARN。 |
acs:ram::12345678912:role/testrole |
| knowledges |
object |
知識庫列表 |
|
| bailian |
array<object> |
百練知識庫列表。 |
|
|
object |
百練知識庫列表。 |
||
| workspaceId |
string |
百練工作空間 ID。 |
llm-xxxx |
| indexId |
string |
百練索引 ID。 |
index-xxxx |
| region |
string |
知識庫地區。 |
cn-beijing |
| attributes |
string |
知識庫屬性。 |
test |
| sop |
array<object> |
SOP 知識庫列表 |
|
|
object |
SOP 知識庫 |
{ "type": "oss", "basePath": "docs/", "region": "cn-hangzhou", "endpoint": "oss-cn-hangzhou.aliyuncs.com", "bucket": "my-sop-bucket", "description": "sls sop" } |
|
| employeeType |
string |
數字員工類型。 |
custom |
| resourceGroupId |
string |
資源群組 ID |
rg-ae******ey |
| tags |
array |
標籤 |
|
| Tag |
標籤 |
||
| attributes |
object |
||
|
string |
樣本
正常返回樣本
JSON格式
{
"requestId": "8FDE2569-626B-5176-9844-28877A*****\n",
"nextToken": "xxxxx",
"total": 56,
"maxResults": 10,
"digitalEmployees": [
{
"name": "test",
"defaultRule": "test",
"description": "test",
"createTime": "2025-11-04T08:08:57Z\n",
"displayName": "test",
"updateTime": "2025-05-07T02:26:01Z\n",
"roleArn": "acs:ram::12345678912:role/testrole\n",
"knowledges": {
"bailian": [
{
"workspaceId": "llm-xxxx\n",
"indexId": "index-xxxx\n",
"region": "cn-beijing\n",
"attributes": "test"
}
],
"sop": [
{
"type": "oss",
"basePath": "docs/",
"region": "cn-hangzhou",
"endpoint": "oss-cn-hangzhou.aliyuncs.com",
"bucket": "my-sop-bucket",
"description": "sls sop"
}
]
},
"employeeType": "custom",
"resourceGroupId": "rg-ae******ey",
"tags": [
{
"key": "test-key",
"value": "test-value"
}
],
"attributes": {
"key": ""
}
}
]
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。