跳到正文

列出已保存的来源事件​

GET
/triggers/{id}/events

All sources, including pending, claimed, filtered, cooldown-skipped and cancelled events. Ordered by created_at descending then id; returns [] when there are no retained events. An event ID is shared by all its action execution records. Owned soft-deleted rules remain readable; absent or other-owner rules return 404.

授权​

APIKey

Remote cp-auth key with automation scope; never pass it in the URL. /healthz and CORS preflight are anonymous.

类型
API Key (header: CP-X-API-KEY)

参数​

查询参数

limit

Values outside 1..100, or malformed values, use 20.

类型
integer
默认
20

响应​

Success

application/json
JSON
[
  
{
  
  
"id": "string",
  
  
"trigger_id": "string",
  
  
"revision": 0,
  
  
"data": {
  
  
  
"additionalProperties": "string"
  
  
},
  
  
"status": "string",
  
  
"created_at": "string",
  
  
"source_type": "string",
  
  
"occurred_at": "string"
  
}
]

试验场​

授权
变量
键
值

示例​