跳转到主要内容

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 /generate/

返回指定生成任务的当前状态,可用于轮询进行中的任务或查看已完成任务的详情。

路径参数

jobId
string
必填
要查询的生成任务 ID。

响应

id
string
生成任务唯一标识。
siteId
string
关联站点 ID。
status
string
当前状态:pendingprocessingcompletedfailed
progress
number
进度百分比(0–100)。
url
string
生成所针对的 URL。
options
object
使用的生成选项。
fileUrl
string
生成文件的访问地址(完成时)。
fullTextUrl
string
全文版地址(完成时)。
error
string
失败时的错误信息。
createdAt
string
创建时间(ISO 8601)。
completedAt
string
完成时间(ISO 8601)。
curl -X GET https://api.llmgenerator.com/api/v1/generate/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "siteId": "site_abc123",
  "status": "processing",
  "progress": 45,
  "url": "https://example.com",
  "options": {
    "maxUrls": 50,
    "showFullText": true,
    "generationMethod": "enhanced"
  },
  "fileUrl": null,
  "fullTextUrl": null,
  "error": null,
  "createdAt": "2026-01-20T10:00:00.000Z",
  "completedAt": null
}