메인 콘텐츠로 건너뛰기

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.

GET /file/

지정한 사이트의 llms.txt 내용을 반환합니다. 공개 엔드포인트이며 인증이 필요 없어, 웹사이트에 파일 URL을 직접 넣을 수 있습니다.
응답에는 교차 출처 접근용 CORS 헤더(Access-Control-Allow-Origin: *)가 포함되며 5분간 캐시됩니다.

경로 매개변수

siteId
string
필수
파일을 가져올 사이트 ID입니다.

쿼리 매개변수

full
boolean
기본값:"false"
true이면 각 페이지 전체 텍스트가 포함된 버전을 반환합니다. AI 컨텍스트 창 등에 적합합니다.

응답

llms.txt의 순수 텍스트 본문이 반환되며 다음과 같습니다:
  • Content-Type: text/plain; charset=utf-8
  • Cache-Control: public, max-age=300
curl -X GET https://api.llmgenerator.com/api/v1/file/550e8400-e29b-41d4-a716-446655440000
# Example Domain
> An example domain for use in documentation and examples.

## Pages

- [Home](https://example.com/): The main landing page for Example Domain.
- [About](https://example.com/about): Learn more about Example Domain and its purpose.
- [Contact](https://example.com/contact): Get in touch with the Example Domain team.