跳到正文

列出各动作的执行结果​

GET
/triggers/{id}/executions

Records sorted by completion time descending then record ID; use action_index for configured action order. The limit counts action records, not events. History of owned soft-deleted rules remains readable; an owned rule with no retained history returns [], while an absent or other-owner rule returns 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": 0,
  
  
"trigger_id": "string",
  
  
"event_id": "string",
  
  
"trigger_revision": 0,
  
  
"source_type": "string",
  
  
"action_type": "string",
  
  
"input": {
  
  
  
"id": "string",
  
  
  
"type": "trigger.fired",
  
  
  
"trigger_id": "string",
  
  
  
"revision": 0,
  
  
  
"source": {
  
  
  
  
"type": "string",
  
  
  
  
"config": {
  
  
  
  
  
"additionalProperties": "string"
  
  
  
  
}
  
  
  
},
  
  
  
"occurred_at": "string",
  
  
  
"data": null,
  
  
  
"queries": {
  
  
  
  
"additionalProperties": "string"
  
  
  
}
  
  
},
  
  
"output": null,
  
  
"status": "string",
  
  
"attempts": 0,
  
  
"error": "string",
  
  
"at": "string",
  
  
"action_index": 0
  
}
]

试验场​

授权
变量
键
值

示例​