跳转到主要内容

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 /sites//urls

返回指定站点在生成时处理的全部 URL 及其元数据。

路径参数

siteId
string
必填
站点 ID。

查询参数

page
number
默认值:"1"
分页页码。
limit
number
默认值:"50"
每页条数(最大 100)。
status
string
按状态筛选:pendingscrapedfailed

响应

urls
array
映射 URL 对象数组。
total
number
映射 URL 总数。
page
number
当前页码。
totalPages
number
总页数。
curl -X GET "https://api.llmgenerator.com/api/v1/sites/550e8400-e29b-41d4-a716-446655440000/urls?limit=20" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "urls": [
    {
      "id": "url_abc123",
      "siteId": "550e8400-e29b-41d4-a716-446655440000",
      "url": "https://example.com/",
      "title": "Example Domain - Home",
      "description": "Welcome to Example Domain, your comprehensive resource for...",
      "status": "scraped",
      "lastModified": "2026-01-15T00:00:00.000Z"
    },
    {
      "id": "url_def456",
      "siteId": "550e8400-e29b-41d4-a716-446655440000",
      "url": "https://example.com/about",
      "title": "About Us",
      "description": "Learn about our mission and team.",
      "status": "scraped",
      "lastModified": null
    }
  ],
  "total": 47,
  "page": 1,
  "totalPages": 3
}