GET /discovery
返回当前认证用户发起的所有 URL 发现任务。查询参数
string
按状态筛选:
pending、processing、completed 或 failed。number
默认值:"20"
每页条数(最大 100)。
响应
array
发现任务对象数组。
number
任务总数。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X GET https://api.llmgenerator.com/api/v1/discovery \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X GET "https://api.llmgenerator.com/api/v1/discovery?status=completed&limit=10" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"jobs": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"url": "https://example.com",
"type": "full",
"status": "completed",
"urlsFound": 47,
"createdAt": "2026-01-20T10:00:00.000Z"
},
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"url": "https://another-example.com",
"type": "sitemap",
"status": "processing",
"urlsFound": 12,
"createdAt": "2026-01-21T11:00:00.000Z"
}
],
"total": 2
}
列出当前用户的全部 URL 发现任务。
pending、processing、completed 或 failed。curl -X GET https://api.llmgenerator.com/api/v1/discovery \
-H "Authorization: Bearer YOUR_API_KEY"
curl -X GET "https://api.llmgenerator.com/api/v1/discovery?status=completed&limit=10" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"jobs": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"url": "https://example.com",
"type": "full",
"status": "completed",
"urlsFound": 47,
"createdAt": "2026-01-20T10:00:00.000Z"
},
{
"id": "660e8400-e29b-41d4-a716-446655440001",
"url": "https://another-example.com",
"type": "sitemap",
"status": "processing",
"urlsFound": 12,
"createdAt": "2026-01-21T11:00:00.000Z"
}
],
"total": 2
}
此页面对您有帮助吗?