GET /discovery/:discoveryId/urls
This endpoint returns the list of URLs that were discovered by a specific discovery job. This should be called after the job has been completed.
Path Parameters
The ID of the discovery job.
Response
An array of objects, where each object represents a discovered URL.
The total number of URLs discovered.
The method used for the discovery.
The timestamp for when the job was completed.
curl -X GET https://api.llmgenerator.com/api/v1/discovery/disc_xxxxxxxxxxxxx/urls \
-H "Authorization: Bearer YOUR_API_KEY"
{
"urls": [
{
"url": "https://www.example.com/",
"title": "Example Domain"
},
{
"url": "https://www.example.com/about",
"title": "About Us"
}
],
"total": 2,
"discoveryMethod": "full",
"completedAt": "2023-10-27T10:00:00Z"
}