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

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 を直接埋め込めます。
レスポンスにはクロスオリジン用ヘッダー(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.