> ## Documentation Index
> Fetch the complete documentation index at: https://docs.llmgenerator.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Websites auflisten

> Dieser Endpunkt liefert eine Liste aller Websites des authentifizierten Nutzers.

## GET /sites

Dieser Endpunkt gibt alle Websites zurück, die der authentifizierte Nutzer über Generierungsanfragen angelegt hat.

### Antwort

<ResponseField name="sites" type="array">
  Array von Website-Objekten.

  <Expandable title="Eigenschaften eines site-Eintrags">
    <ResponseField name="id" type="string">
      Eindeutige Kennung der Website.
    </ResponseField>

    <ResponseField name="url" type="string">
      Normalisierte URL der Website.
    </ResponseField>

    <ResponseField name="status" type="string">
      Aktueller Status: `pending`, `processing`, `completed` oder `failed`.
    </ResponseField>

    <ResponseField name="fileUrl" type="string">
      URL zur erzeugten llms.txt-Datei.
    </ResponseField>

    <ResponseField name="fullTextUrl" type="string">
      URL zur Volltextvariante (falls verfügbar).
    </ResponseField>

    <ResponseField name="createdAt" type="string">
      ISO-8601-Zeitstempel der Website-Erstellung.
    </ResponseField>

    <ResponseField name="updatedAt" type="string">
      ISO-8601-Zeitstempel der letzten Aktualisierung.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="total" type="number">
  Gesamtanzahl der Websites.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET https://api.llmgenerator.com/api/v1/sites \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const response = await fetch('https://api.llmgenerator.com/api/v1/sites', {
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY'
    }
  });

  const data = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://api.llmgenerator.com/api/v1/sites',
      headers={'Authorization': 'Bearer YOUR_API_KEY'}
  )

  data = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json Success (200) theme={null}
  {
    "sites": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "url": "https://example.com",
        "status": "completed",
        "fileUrl": "https://api.llmgenerator.com/api/v1/file/550e8400-e29b-41d4-a716-446655440000",
        "fullTextUrl": "https://api.llmgenerator.com/api/v1/file/550e8400-e29b-41d4-a716-446655440000?full=true",
        "createdAt": "2026-01-15T10:00:00.000Z",
        "updatedAt": "2026-01-20T14:30:00.000Z"
      },
      {
        "id": "660e8400-e29b-41d4-a716-446655440001",
        "url": "https://another-example.com",
        "status": "completed",
        "fileUrl": "https://api.llmgenerator.com/api/v1/file/660e8400-e29b-41d4-a716-446655440001",
        "fullTextUrl": null,
        "createdAt": "2026-01-10T08:00:00.000Z",
        "updatedAt": "2026-01-10T08:15:00.000Z"
      }
    ],
    "total": 2
  }
  ```
</ResponseExample>
