Skip to main content
GET
获取自动化

权限

需要服务用户具备组织级 ViewOrgAutomations 权限。

授权

Authorization
string
header
必填

服务用户凭据(前缀:cog_)

路径参数

automation_id
string
必填
org_id
string
必填

组织 ID(前缀:org-)

示例:

"org-abc123def456"

响应

成功响应

actions
(AutomationStartSessionAction · object | AutomationMessageSessionAction · object | AutomationMonitorSessionAction · object)[]
必填
automation_id
string
必填
created_at
integer
必填
created_by
ActorResponse · object
必填

归因于某项操作或资源的用户或服务用户主体。

enabled
boolean
必填
name
string
必填
triggers
AutomationTriggerResponse · object[]
必填
updated_at
integer
必填
concurrency
AutomationConcurrency · object | null
last_edited_by
ActorResponse · object | null

归因于某项操作或资源的用户或服务用户主体。

last_invocation
AutomationLastInvocation · object | null
limits
AutomationLimits · object | null
metadata
Metadata · object
notifications
AutomationNotifications · object | null
run_as
AutomationRunAsOrganization · object

启动的会话使用的身份。organization:组织的自动化身份(应用中的系统用户)— 会话使用系统权限,因此无法选择通过个人(用户作用域)连接安装的 MCP 服务器;将自动化切换为 organization 会将这些服务器从可选项中移除。creator:个人自动化 — 使用创建者自身的权限运行,且仅创建者和组织管理员可见;由服务用户创建的自动化不允许使用此值。创建时必填;更新时设为 null 将重置为 organization。

security_profile
AutomationSecurityProfileResponse · object | null

自动化的安全 Profile 绑定及解析后适用的 Profile。组织未启用安全 Profile 时为 null。

session_settings
AutomationSessionSettings · object | null

应用于此自动化生成的每个会话(包括监控 会话)。

template_id
string | null
tools
AutomationTools · object | null