提醒历史记录记录了发送到您账户的提醒。每条记录都包含提醒本身、发送时间和接收对象。
您可以通过 Cloudflare API 访问提醒历史记录。使用 GET 获取发送到账户的提醒历史记录。根据您的套餐,记录会保留最近 30 天或 90 天。
GET accounts/{account_id}/alerting/v3/historycurl "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 天。