메인 콘텐츠로 건너뛰기

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 /generate

llms.txt 생성을 시작합니다. 사용자 플랜에 따라 simpleenhanced 방식을 지원합니다.
Enhanced 방식은 AI로 제목·설명 품질을 높입니다. 크레딧은 Simple 대비 2배 소모됩니다.

요청 본문

url
string
필수
파일을 만들 웹사이트 URL입니다. http/https 프로토콜이 있는 유효한 URL이어야 합니다.
options
object
생성 옵션 객체입니다.

응답

jobId
string
생성 작업 고유 식별자입니다.
status
string
작업 상태: queued, processing, completed, 또는 failed입니다.
progress
number
진행률(0–100)입니다.
message
string
사람이 읽을 수 있는 상태 메시지입니다.
fileUrl
string
생성된 llms.txt에 접근할 수 있는 URL입니다.
fullTextUrl
string
전체 텍스트 버전 llms.txt URL입니다(showFullText 활성 시).
siteId
string
이번 생성으로 만들거나 갱신된 사이트 ID입니다.
creditsUsed
number
이번 생성에 차감된 크레딧 수입니다.
curl -X POST https://api.llmgenerator.com/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "url": "https://www.example.com",
        "options": {
          "maxUrls": 25,
          "generationMethod": "enhanced",
          "showFullText": true
        }
      }'
{
  "jobId": "550e8400-e29b-41d4-a716-446655440000",
  "status": "completed",
  "progress": 100,
  "message": "File generated successfully",
  "fileUrl": "https://api.llmgenerator.com/api/v1/file/site_xxxxx",
  "fullTextUrl": "https://api.llmgenerator.com/api/v1/file/site_xxxxx?full=true",
  "siteId": "site_xxxxx",
  "creditsUsed": 50
}