> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/dast-sfesu/api-scanning/add-additional-headers-in-api-scanning.md).

# API スキャンに追加ヘッダーを追加

Aikido が API スキャン中のすべてのリクエストに含めるカスタムヘッダーを追加します。これは、認証トークン、テナント ID、またはサービスがトラフィックを受け入れる前に必要とする任意のヘッダーに便利です。

Aikido は、定義した各ヘッダーをすべてのスキャンリクエストに付与して送信します。スキャナーは不足しているヘッダーを自動では検出しないため、API に必要なものをすべて含めてください。私たちのものとは異なり、 [認証](/docs/docs-ja/dast-sfesu/api-scanning/authenticated-api-scanning-for-rest-graphql.md) これらのヘッダーはスキャン中に含まれます。

<figure><img src="/files/2baf256a84eaa60f16b9e231f04c65d4cc021483" alt=""><figcaption></figcaption></figure>

### 一般的なユースケース

* ステージングまたはテスト環境向けの静的認証トークン
* X API キーヘッダー
* バージョンまたはテナントのセレクター
* API の前段にあるゲートウェイや WAF をバイパスするために必要なヘッダー

## ヘッダーを追加

1. API 設定ページで［ヘッダーを編集］をクリックします。

<figure><img src="/files/1104d5346d25d311b6e1e69b307843b4c0ee837b" alt=""><figcaption></figcaption></figure>

1. ヘッダー名を入力します。
2. 値を入力します。
3. 必要に応じて、さらにヘッダーを追加します。
4. 変更を保存します。


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/dast-sfesu/api-scanning/add-additional-headers-in-api-scanning.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
