Skip to main content
POST
立即执行自动化规则

调用限制

使用说明

  • 此接口不创建新的触发器配置,而是立即按规则当前配置启动一次真实运行。
  • 服务端会先执行运行前检查;检查通过后创建 manual 类型运行,并异步执行隐藏会话。
  • 成功响应会返回 run_id,并在会话创建完成后返回 session_id,可用它跳转到对应会话查看消息、工具调用与产物。
  • 同一规则手动执行最多每分钟一次;过于频繁会返回 429。

授权

app_key
string
query
必填

App key issued from the Flashduty console. Required on every public API call. Keep it secret — it grants the same access as the owning account.

请求体

application/json
rule_id
string
必填

规则 ID。

响应

Success

Standard response envelope used by every Flashduty public API. On success data contains the endpoint-specific payload and error is absent. On failure error is present and data is absent. request_id is always present and is also mirrored in the Flashcat-Request-Id response header.

request_id
string
必填

Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.

示例:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

error
object

Error payload inside the response envelope. Present only on non-2xx responses.

data
object

Endpoint-specific payload. See each operation's 200 response schema.