Skip to main content

GET /generate/

This endpoint returns the current status of a generation job. Use this to check the progress of an ongoing generation or retrieve details of a completed job.

Path Parameters

jobId
string
required
The ID of the generation job to check.

Response

id
string
The unique identifier for the generation job.
siteId
string
The ID of the site being generated.
status
string
The current status: pending, processing, completed, or failed.
progress
number
The progress percentage (0-100).
url
string
The URL for which the file was generated.
options
object
The generation options used.
fileUrl
string
URL to access the generated file (when completed).
fullTextUrl
string
URL to access the full-text version (when completed).
error
string
Error message if the job failed.
createdAt
string
ISO 8601 timestamp of job creation.
completedAt
string
ISO 8601 timestamp of job completion.
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
}