Skip to main content

GET /discovery

This endpoint returns a list of all URL discovery jobs that have been initiated by the authenticated user.

Query Parameters

status
string
Filter by status: pending, processing, completed, or failed.
limit
number
default:"20"
Number of results per page (max 100).

Response

jobs
array
An array of discovery job objects.
total
number
Total number of discovery jobs.
curl -X GET https://api.llmgenerator.com/api/v1/discovery \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "jobs": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "url": "https://example.com",
      "type": "full",
      "status": "completed",
      "urlsFound": 47,
      "createdAt": "2026-01-20T10:00:00.000Z"
    },
    {
      "id": "660e8400-e29b-41d4-a716-446655440001",
      "url": "https://another-example.com",
      "type": "sitemap",
      "status": "processing",
      "urlsFound": 12,
      "createdAt": "2026-01-21T11:00:00.000Z"
    }
  ],
  "total": 2
}