ListDigitalEmployees - 列出数字员工

更新时间:
复制为 MD 格式

列出资源DigitalEmployee。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

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

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

角色 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

rg-ae******ey

tags

array

Tag

示例

正常返回示例

JSON格式

{
  "requestId": "8FDE2569-626B-5176-9844-28877A*****",
  "nextToken": "xxxxx",
  "total": 56,
  "maxResults": 10,
  "digitalEmployees": [
    {
      "name": "test",
      "defaultRule": "test",
      "description": "test",
      "createTime": "2025-11-04T08:08:57Z",
      "displayName": "test",
      "updateTime": "2025-05-07T02:26:01Z",
      "roleArn": "acs:ram::12345678912:role/testrole",
      "knowledges": {
        "bailian": [
          {
            "workspaceId": "llm-xxxx",
            "indexId": "index-xxxx",
            "region": "cn-beijing",
            "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": "env",
          "value": "test"
        }
      ]
    }
  ]
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情