メインコンテンツへスキップ

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

指定サイトの llms.txt をダウンロードできるよう返します。Content-Disposition を付与しブラウザで保存ダイアログを促します。公開エンドポイントで認証は不要です。

パスパラメーター

siteId
string
必須
サイトの ID。

クエリパラメーター

full
boolean
デフォルト:"false"
true の場合、各ページの全文を含んだ版をダウンロードします。

レスポンス

llms.txt と適切なヘッダーが返ります。
  • Content-Type: text/plain; charset=utf-8
  • Content-Disposition: attachment; filename="{hostname}-llms.txt"
  • Cache-Control: public, max-age=300
ファイル名はサイトのホスト名から自動生成されます(例: example-com-llms.txt、全文版は example-com-llms-full.txt)。
curl -X GET https://api.llmgenerator.com/api/v1/file/550e8400-e29b-41d4-a716-446655440000/download \
  -o llms.txt