AS AgentScopeAPI 手册 / API Reference

AgentscopePermissionsEndpoint

@Endpoint(id = "agentscope-permissions") public class AgentscopePermissionsEndpoint
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopePermissionsEndpoint.java:39–113

Agentscope 权限端点,承载智能体的部署、调度与服务化运行。位于 io.agentscope.spring.boot.admin.endpoint 包。核心成员包括 listAll、getOne、AgentscopePermissionsEndpoint。

GET /actuator/agentscope-permissions: enumerate the permission posture of every registered ReActAgent.

Read-only — mutating rules requires changes in agentscope-core to support live rule edits, which is tracked in ADMIN_OPS_API_PLAN.md.

构造器摘要Constructor Summary

构造器Constructor说明Description
public AgentscopePermissionsEndpoint(AgentRegistry registry)
初始化 `AgentscopePermissionsEndpoint` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public List<Map<String, Object>> listAll()
列出所有。
Lists the all.
public Map<String, Object> getOne(String agentId)
获取 `getOne`。
Returns the one.

构造器详情Constructor Detail

AgentscopePermissionsEndpoint

public AgentscopePermissionsEndpoint(AgentRegistry registry)

初始化 AgentscopePermissionsEndpoint 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
registryAgentRegistry注册表(类型 `AgentRegistry`)。The registry.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopePermissionsEndpoint.java:44–46

方法详情Method Detail

listAll

public List<Map<String, Object>> listAll()

列出所有。

Lists the all.

返回Returns List<Map<String, Object>>
返回列出>。Returns list.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopePermissionsEndpoint.java:48–58

getOne

public Map<String, Object> getOne(String agentId)

获取 getOne。

Returns the one.

参数Parameters
名称Name类型Type说明Description
agentIdString智能体标识(类型 `String`)。The agent id.
返回Returns Map<String, Object>
返回映射。Returns map.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopePermissionsEndpoint.java:60–71
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.