EdgeCron API Docs
API 参考重试与死信

获取重试策略

GET /retries/policies/{id}

获取重试策略

调用 `GET /retries/policies/{id}`,获取重试策略。

GET
https://api.edgecron.com/v1/retries/policies/{id}

需要认证

每个请求都需要携带 `X-Key-ID`、`X-Timestamp` 和 `X-Signature`。签名为 `timestamp + "\n" + payload` 的 HMAC-SHA256 小写十六进制结果。

参数

参数位置类型必填说明
idpathinteger资源 ID。

请求体

该接口不需要 JSON 请求体。

响应

所有成功响应都使用 EdgeCron API 统一信封。

{
  "code": 0,
  "message": "success",
  "request_id": "req_abc123",
  "data": {
    "id": 101,
    "app_id": "app_123",
    "name": "billing-webhook",
    "max_attempts": 1,
    "backoff_type": "fixed",
    "initial_delay_sec": 1,
    "max_delay_sec": 1,
    "status": "string",
    "created_at": "2026-07-01T12:00:00Z"
  }
}

结构

参数类型必填说明
idinteger资源 ID。
app_idstring应用 ID。
namestring-
max_attemptsinteger-
backoff_typefixed / exponential / linear可选值:fixed, exponential, linear。
initial_delay_secinteger-
max_delay_secinteger-
statusstring当前生命周期状态。
created_atstring (date-time)创建时间。