Skip to main content

GET /sites/

This endpoint returns detailed information about a single site, including its status, file URLs, and last generation options.

Path Parameters

siteId
string
required
The ID of the site to retrieve.

Response

id
string
The unique identifier for the site.
url
string
The normalized URL of the site.
userId
string
The ID of the user who owns the site.
status
string
The current status: pending, processing, completed, or failed.
fileUrl
string
URL to access the generated llms.txt file.
fullTextUrl
string
URL to access the full-text version (if available).
lastGenerationOptions
object
The options used for the last generation.
createdAt
string
ISO 8601 timestamp of site creation.
updatedAt
string
ISO 8601 timestamp of last update.
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"
}