跳转到内容
本站为社区维护的非官方中文翻译,与 Cloudflare, Inc. 无关联。本站不提供账户登录,请勿在任何非官方站点输入您的 Cloudflare 账户信息。官方文档:developers.cloudflare.com

提醒历史记录

最后更新 查看 MarkdownAgent 设置

提醒历史记录记录了发送到您账户的提醒。每条记录都包含提醒本身、发送时间和接收对象。

访问提醒历史记录

您可以通过 Cloudflare API 访问提醒历史记录。使用 GET 获取发送到账户的提醒历史记录。根据您的套餐,记录会保留最近 30 天或 90 天。

Syntaxtxt
GET accounts/{account_id}/alerting/v3/history
Examplebash
curl "https://api.cloudflare.com/client/v4/accounts/{account_id}/alerting/v3/history?page=1&per_page=25" \
--header "Authorization: Bearer <API_TOKEN>"

可用性

所有套餐均可使用提醒历史记录。保留时长取决于套餐:

  • 免费版、Pro 和 Business:30 天。
  • Enterprise:90 天。

这篇文档对您有帮助吗?