Skip to main content

GET /discovery/

This endpoint returns the current status and details of a URL discovery job.

Path Parameters

discoveryId
string
required
The ID of the discovery job.

Response

id
string
The unique identifier for the discovery job.
url
string
The target URL for the discovery.
type
string
The discovery method used: full, sitemap, or crawl.
status
string
The current status: pending, processing, completed, or failed.
urlsFound
number
The number of URLs discovered so far.
createdAt
string
ISO 8601 timestamp of when the job was created.
completedAt
string
ISO 8601 timestamp of when the job completed (if applicable).
curl -X GET https://api.llmgenerator.com/api/v1/discovery/550e8400-e29b-41d4-a716-446655440000 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "url": "https://example.com",
  "type": "full",
  "status": "processing",
  "urlsFound": 23,
  "createdAt": "2026-01-20T10:00:00.000Z",
  "completedAt": null
}