Skip to main content

GET /discovery

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

Response

jobs
array
An array of discovery job objects.
id
string
The ID of the discovery job.
url
string
The target URL for the discovery.
status
string
The current status of the job.
createdAt
string
The timestamp for when the job was created.
curl -X GET https://api.llmgenerator.com/api/v1/discovery \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "jobs": [
    {
      "id": "disc_xxxxxxxxxxxxx",
      "url": "https://www.example.com",
      "status": "completed",
      "createdAt": "2023-10-27T10:00:00Z"
    },
    {
      "id": "disc_yyyyyyyyyyyyy",
      "url": "https://www.another-example.com",
      "status": "processing",
      "createdAt": "2023-10-27T11:00:00Z"
    }
  ]
}