Skip to main content

GET /file//download

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

パスパラメーター

string
必須
サイトの ID。

クエリパラメーター

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)。