跳转到主要内容

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/

返回指定站点的详细信息,包含状态、文件地址及上次生成选项。

路径参数

siteId
string
必填
站点 ID。

响应

id
string
站点唯一标识。
url
string
规范化后的站点 URL。
userId
string
所有者用户 ID。
status
string
当前状态:pendingprocessingcompletedfailed
fileUrl
string
生成的 llms.txt 访问地址。
fullTextUrl
string
全文版地址(若有)。
lastGenerationOptions
object
上次生成使用的选项。
createdAt
string
创建时间(ISO 8601)。
updatedAt
string
最近更新时间(ISO 8601)。
curl -X GET https://api.llmgenerator.com/api/v1/sites/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "url": "https://example.com",
  "userId": "user_abc123",
  "status": "completed",
  "fileUrl": "https://api.llmgenerator.com/api/v1/file/550e8400-e29b-41d4-a716-446655440000",
  "fullTextUrl": "https://api.llmgenerator.com/api/v1/file/550e8400-e29b-41d4-a716-446655440000?full=true",
  "lastGenerationOptions": {
    "maxUrls": 50,
    "showFullText": true,
    "generationMethod": "enhanced"
  },
  "createdAt": "2026-01-15T10:00:00.000Z",
  "updatedAt": "2026-01-20T14:30:00.000Z"
}