Zum Hauptinhalt springen

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.

POST /discovery

Dieser Endpunkt startet einen URL-Discovery-Job für eine Website. Er liefert eine discoveryId, mit der Sie den Fortschritt verfolgen und entdeckte URLs abrufen können.

Anfragetext

url
string
erforderlich
URL der zu durchsuchenden Website. Muss eine gültige URL mit http/https sein.
maxUrls
number
Standard:"50"
Maximale Anzahl zu entdeckender URLs. Bereich: 1–1000.
discoveryType
string
Standard:"full"
Methode für die Discovery:
  • full: Kombiniert Sitemap-Parsing und Crawling für umfassende Discovery
  • sitemap: Parst nur sitemap.xml-Dateien
  • crawl: Crawlt nur durch Folgen von Links

Antwort

id
string
Eindeutige Kennung des Discovery-Jobs.
url
string
URL, die durchsucht wird.
status
string
Jobstatus: started, processing, completed oder failed.
discoveryType
string
Verwendete Discovery-Methode.
maxUrls
number
Maximale Anzahl zu entdeckender URLs.
progress
string
Fortschritt in Prozent.
totalUrlsFound
number
Bisher entdeckte URLs.
createdAt
string
ISO-8601-Zeitstempel der Job-Erstellung.
estimatedCompletion
string
Geschätzter Abschlusszeitpunkt.
curl -X POST https://api.llmgenerator.com/api/v1/discovery \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "url": "https://www.example.com",
        "maxUrls": 100,
        "discoveryType": "full"
      }'
{
  "id": "disc_1706540000_abc123xyz",
  "url": "https://www.example.com",
  "status": "started",
  "discoveryType": "full",
  "maxUrls": 100,
  "progress": "0",
  "totalUrlsFound": 0,
  "createdAt": "2026-01-29T12:00:00.000Z",
  "estimatedCompletion": "2026-01-29T12:05:00.000Z"
}