Skip to main content
GET
列出自动化

权限

需要服务用户在组织级别拥有 ViewOrgAutomations 权限。

过滤

支持按 searchcreator_idenabledevent_typeagent_types 进行过滤 (可重复指定以匹配多个类型中的任一种) 。metadata.<key>=<value> 查询参数可按元数据标签过滤 (精确匹配;多个过滤器之间为 AND 关系) 。 结果按最新优先顺序返回,并采用基于游标的分页 (afterfirst) 。只有在一次未过滤的扫描覆盖整个结果集时,才会返回 total

授权

Authorization
string
header
必填

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

路径参数

org_id
string
必填

组织 ID(前缀:org-)

示例:

"org-abc123def456"

查询参数

after
string | null
first
integer
默认值:100
必填范围: 1 <= x <= 200
search
string | null
creator_id
string | null
enabled
boolean | null
event_type
string | null
agent_types
enum<string>[] | null
可用选项:
new_session,
long_running,
auto_triage,
remediate_finding,
triage_session,
incident_session

响应

成功响应

items
AutomationResponse · object[]
必填
end_cursor
string | null

用于获取下一页的游标;如果这是最后一页,则为 None。

has_next_page
boolean
默认值:false

此页之后是否还有更多项目。

total
integer | null

可选的总数(为提高性能可省略)。