GET /sites
This endpoint returns a list of all sites that the authenticated user has added to their account.
Response
An array of site objects.The unique identifier for the site.
The current status of the site.
The timestamp for when the site was last updated.
The total number of sites.
curl -X GET https://api.llmgenerator.com/api/v1/sites \
-H "Authorization: Bearer YOUR_API_KEY"
{
"sites": [
{
"id": "site_xxxxxxxxxxxxx",
"url": "https://www.example.com",
"status": "active",
"lastUpdated": "2023-10-27T10:01:00Z"
},
{
"id": "site_yyyyyyyyyyyyy",
"url": "https://www.another-example.com",
"status": "active",
"lastUpdated": "2023-10-26T15:30:00Z"
}
],
"total": 2
}