全部產品
Search
文件中心

STAROps:ListDigitalEmployees - 列出數字員工

更新時間:Jun 16, 2026

列出數字員工

介面說明

列出數字員工

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

starops:ListDigitalEmployees

list

*DigitalEmployee

acs:starops:{#regionId}:{#accountId}: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": ""
      }
    }
  ]
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情