跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt

Use this file to discover all available pages before exploring further.

GET /discovery

返回当前认证用户发起的所有 URL 发现任务。

查询参数

status
string
按状态筛选:pendingprocessingcompletedfailed
limit
number
默认值:"20"
每页条数(最大 100)。

响应

jobs
array
发现任务对象数组。
total
number
任务总数。
curl -X GET https://api.llmgenerator.com/api/v1/discovery \
  -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
}