curl --request GET \
--url https://zeus-api.agentspro.cn/scheduled-task/jobs \
--header 'X-Internal-Secret: your-secret'
{
"jobs": [
{
"id": "task_123",
"name": "每日邮件摘要",
"next_run_time": "2025-06-16T09:00:00+08:00"
}
],
"total": 1
}
定时任务 API
获取调度任务列表
获取所有调度中的任务(调试用)
GET
/
scheduled-task
/
jobs
curl --request GET \
--url https://zeus-api.agentspro.cn/scheduled-task/jobs \
--header 'X-Internal-Secret: your-secret'
{
"jobs": [
{
"id": "task_123",
"name": "每日邮件摘要",
"next_run_time": "2025-06-16T09:00:00+08:00"
}
],
"total": 1
}
这是内部调试 API,需要
X-Internal-Secret 认证。string
必填
内部 API 密钥
array
调度任务列表
number
任务总数
curl --request GET \
--url https://zeus-api.agentspro.cn/scheduled-task/jobs \
--header 'X-Internal-Secret: your-secret'
{
"jobs": [
{
"id": "task_123",
"name": "每日邮件摘要",
"next_run_time": "2025-06-16T09:00:00+08:00"
}
],
"total": 1
}
⌘I