curl "https://api.scanova.io/user-logs/?status=completed" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"id": 482,
"status": "completed",
"result_file": "https://cdn.example.com/media/user_logs/results/1042/2026/09/Logs_09072026143210.csv",
"completed_on": "2026-09-07T14:32:10Z",
"created": "2026-09-07T14:31:55Z",
"created_by_name": "Anuj Sharma"
},
{
"id": 481,
"status": "failed",
"result_file": null,
"completed_on": null,
"created": "2026-09-06T09:12:00Z",
"created_by_name": "ops@scanova.io"
}
]
}
用户日志与活动
列出用户日志导出历史
GET /user-logs/
GET
/
user-logs
/
curl "https://api.scanova.io/user-logs/?status=completed" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"id": 482,
"status": "completed",
"result_file": "https://cdn.example.com/media/user_logs/results/1042/2026/09/Logs_09072026143210.csv",
"completed_on": "2026-09-07T14:32:10Z",
"created": "2026-09-07T14:31:55Z",
"created_by_name": "Anuj Sharma"
},
{
"id": 481,
"status": "failed",
"result_file": null,
"completed_on": null,
"created": "2026-09-06T09:12:00Z",
"created_by_name": "ops@scanova.io"
}
]
}
在管理 API 主机 (
在任务达到
api.scanova.io) 上列出账户的日志导出任务,使用您的原始管理 API 密钥进行身份验证。
GET https://api.scanova.io/user-logs/
Authorization: 401f7ac837da42b97f613d789819ff93537bee6a
string
按任务状态筛选:
new、completed 或 failed。string
在导出用户的名字、姓氏和电子邮件中搜索。
string
按
created、completed_on 或 status 排序 —— 前缀 - 表示降序。默认值为 -created。integer
页码。
curl "https://api.scanova.io/user-logs/?status=completed" \
-H "Authorization: 401f7ac837da42b97f613d789819ff93537bee6a"
{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"id": 482,
"status": "completed",
"result_file": "https://cdn.example.com/media/user_logs/results/1042/2026/09/Logs_09072026143210.csv",
"completed_on": "2026-09-07T14:32:10Z",
"created": "2026-09-07T14:31:55Z",
"created_by_name": "Anuj Sharma"
},
{
"id": 481,
"status": "failed",
"result_file": null,
"completed_on": null,
"created": "2026-09-06T09:12:00Z",
"created_by_name": "ops@scanova.io"
}
]
}
不存在按 id 单独查询导出任务状态的端点 —— 请改为查询此列表(按
status 筛选,或搜索/排序以找到特定任务),而不是使用不存在的 GET /user-logs/{id}/;该路径仅支持 DELETE。completed 之前,result_file 和 completed_on 均为 null。若任务在 new 状态停滞超过 30 分钟,将被自动标记为 failed。
相关内容
- 触发用户活动日志导出 —— 开始新任务。
- 删除导出历史记录 —— 移除任务的跟踪记录。
- 管理 API 概述 —— 适用于此端点的身份验证方案和配额规则。
授权
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: 401f7ac837da42b97f613d789819ff93537bee6a. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
响应
200 - application/json
Paginated list of export jobs.
此页面对您有帮助吗?