GET /generate/
返回指定生成任务的当前状态,可用于轮询进行中的任务或查看已完成任务的详情。
路径参数
当前状态:pending、processing、completed 或 failed。
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
}