Skip to main content

GET /sites//urls

This endpoint returns a list of all URLs that were processed during generation for a specific site, along with their metadata.

Path Parameters

siteId
string
required
The ID of the site.

Query Parameters

page
number
default:"1"
Page number for pagination.
limit
number
default:"50"
Number of URLs per page (max 100).
status
string
Filter by status: pending, scraped, or failed.

Response

urls
array
An array of mapped URL objects.
total
number
Total number of mapped URLs.
page
number
Current page number.
totalPages
number
Total number of pages.
curl -X GET "https://api.llmgenerator.com/api/v1/sites/550e8400-e29b-41d4-a716-446655440000/urls?limit=20" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "urls": [
    {
      "id": "url_abc123",
      "siteId": "550e8400-e29b-41d4-a716-446655440000",
      "url": "https://example.com/",
      "title": "Example Domain - Home",
      "description": "Welcome to Example Domain, your comprehensive resource for...",
      "status": "scraped",
      "lastModified": "2026-01-15T00:00:00.000Z"
    },
    {
      "id": "url_def456",
      "siteId": "550e8400-e29b-41d4-a716-446655440000",
      "url": "https://example.com/about",
      "title": "About Us",
      "description": "Learn about our mission and team.",
      "status": "scraped",
      "lastModified": null
    }
  ],
  "total": 47,
  "page": 1,
  "totalPages": 3
}