跳转到主要内容
POST
/
monitors
/
statistics
/
logs
列出监控统计日志
curl --request POST \
  --url https://api.pubrio.com/monitors/statistics/logs \
  --header 'Content-Type: application/json' \
  --header 'pubrio-api-key: <api-key>' \
  --data '
{
  "monitor_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "per_page": 25,
  "page": 1,
  "profile_id": 123
}
'
{
  "data": {
    "pagination": {
      "page": 1,
      "per_page": 25,
      "total_entries": 45,
      "total_pages": 2,
      "total_display_pages": 2,
      "is_timeout": false
    },
    "monitor_logs": [
      {
        "monitor_log_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "monitor_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "parent_monitor_log_id": "",
        "detection_mode": "company_first",
        "signal_type": [
          "jobs",
          "news",
          "advertisements"
        ],
        "destination_type": "email",
        "response_status_code": 200,
        "status": "success",
        "error_message": "",
        "total_signals": 25,
        "total_companies": 11,
        "total_people": 32,
        "trigger_credit": 15,
        "total_company_credit": 11,
        "total_people_credit": 33,
        "redeem_email_credit": 0,
        "redeem_phone_credit": 0,
        "total_credit": 59,
        "retry_attempt": 0,
        "processing_time_ms": 97952,
        "created_at": "2026-04-05T18:28:05.000Z",
        "retry_logs": [],
        "is_retry_succeed": false
      },
      "..."
    ]
  }
}

授权

pubrio-api-key
string
header
必填

一个唯一的 API 令牌,用于标识您通过 API 执行的操作以及相应的权限和操作。您可以在 设置 部分创建该令牌。

请求体

application/json
monitor_id
string<uuid>

要检索日志的监控唯一标识符。

per_page
integer
默认值:25

每页结果数。默认为 25。

page
integer
默认值:1

分页页码。默认为 1。

profile_id
integer

可选。发起请求的团队标识符。由于 API 密钥已包含您的工作区信息,此参数不再是必填项。如果提供,该 ID 有助于将查找与特定团队(工作区)关联,实现数据检索和额度追踪。

更多信息请参见团队标签下的 user details 端点。

响应

成功响应,包含分页的监控日志列表。

data
object