AgentResource

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

智能体资源的统一表示,可以是智能体运行时(AgentRuntime)或工作流(Flow)。使用 resourceType 字段区分资源类型,并通过 runtime 或 flow 字段获取完整的资源详细信息。

resourceType

string

资源类型标识符,用于区分资源是智能体运行时(AgentRuntime)还是工作流(Flow)

AgentRuntime

runtime AgentRuntime

当 resourceType 为 AgentRuntime 时,此字段包含完整的智能体运行时对象,包括所有配置和状态信息;当 resourceType 为 Flow 时,此字段为空

flow Flow

当 resourceType 为 Flow 时,此字段包含完整的工作流对象,包括所有配置和状态信息;当 resourceType 为 AgentRuntime 时,此字段为空

latestVersion

object

资源的最新发布版本摘要,包含版本号、描述和创建时间。如果资源没有已发布版本,则此字段为空

version

string

最新发布的版本号

3

description

string

该版本的描述信息

修复了消息处理的并发问题

createdAt

string

版本发布时间,采用 ISO 8601 格式

2025-03-15T08:30:00Z

publisher

string

版本发布者(仅 AgentRuntime 类型资源返回)

admin