> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/adaptive-content.md).

# 適応型コンテンツ

誰が読むかに応じて、最適化されたドキュメント体験を提供します

ユーザーがサイトにアクセスすると、そのユーザーが誰なのか、どのプランに登録しているのか、どの機能を利用できるのかなど、すでに把握している情報があるかもしれません。

アダプティブコンテンツを使うと、読者に合わせたドキュメント体験を提供できます。

<figure><img src="https://4217681718-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-29b88328c4adfeb8987d74332a207d513bf1bdbc%2F25_08_20_adaptive_content.webp?alt=media" alt="A GitBook screenshot showing adaptive content controls"><figcaption><p>アダプティブコンテンツでユーザーに合わせたドキュメント体験を提供する</p></figcaption></figure>

{% hint style="info" %}
アダプティブコンテンツは、 [認証済みアクセス](https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/site-audience/authenticated-access.md)とは少し異なりますが、組み合わせて利用できます。

認証済みアクセスではログインによってドキュメントを保護できます。一方、アダプティブコンテンツでは、認証済みアクセスや独自アプリによる認証など、さまざまな認証方法に基づいて公開コンテンツをカスタマイズします。
{% endhint %}

### 仕組み

アダプティブコンテンツの仕組みは、次の2通りです。

1. アプリからGitBookにデータを渡す
2. 認証済みアクセスからデータを渡す

ユーザーがサイトにアクセスするときに持ち込むデータを、GitBookでは「クレーム」と呼びます。これは基本的に、ユーザーの特定に役立つデータです。サイトの作成者であるあなたがクレームを管理でき、GitBookエディターから利用して、ドキュメント内のページ、バリアント、セクションを表示または非表示にできます。

条件を使って、人間の訪問者やAIエージェントを対象にすることもできます。詳しくは、 [人間の訪問者とAIエージェントを対象にする](https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/adaptive-content/adapting-your-content.md#target-human-visitors-and-ai-agents).

アダプティブコンテンツの設定を始めるには、 [アダプティブコンテンツを有効にする](https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/adaptive-content/enabling-adaptive-content.md) についてのページをご覧ください。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gitbook.com/docs/documentation/ja-gitbook-documentation/publish/adaptive-content.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
