Skip to main content

GET /discovery//urls

This endpoint returns the list of URLs that were discovered by a specific discovery job. The job should be completed before calling this endpoint.

Path Parameters

discoveryId
string
required
The ID of the discovery job.

Query Parameters

page
number
default:"1"
Page number for pagination.
limit
number
default:"50"
Number of URLs per page (max 100).

Response

urls
array
An array of discovered URL objects.
total
number
The total number of URLs discovered.
page
number
Current page number.
totalPages
number
Total number of pages.
curl -X GET "https://api.llmgenerator.com/api/v1/discovery/550e8400-e29b-41d4-a716-446655440000/urls?limit=20" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "urls": [
    {
      "url": "https://example.com/",
      "title": "Example Domain - Home",
      "lastModified": "2026-01-15T00:00:00.000Z"
    },
    {
      "url": "https://example.com/about",
      "title": "About Us",
      "lastModified": "2026-01-10T00:00:00.000Z"
    },
    {
      "url": "https://example.com/contact",
      "title": "Contact",
      "lastModified": null
    }
  ],
  "total": 47,
  "page": 1,
  "totalPages": 3
}