> ## Documentation Index
> Fetch the complete documentation index at: https://docs.windsurf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics API（アナリティクス API）

> Windsurf の利用データ（Autocomplete、Chat、Command、Cascade の各種メトリクスを含む）を照会するための Enterprise 向け Analytics API

<div id="overview">
  ## 概要
</div>

Windsurf Analytics API は、Enterprise のお客様がチームの詳細な利用状況アナリティクスにプログラムからアクセスできるようにします。Autocomplete、Chat、Command、および Cascade のデータを、柔軟なフィルタリング、グルーピング、集計オプションでクエリできます。

<Info>API データは 3 時間ごとに更新されます</Info>

<div id="common-parameters">
  ## 共通パラメータ
</div>

ほとんどの Analytics API (アナリティクス API) エンドポイントは、次の共通パラメータに対応しています:

| Parameter         | Type   | Required | Description                                  |
| ----------------- | ------ | -------- | -------------------------------------------- |
| `service_key`     | string | Yes      | 認証に使用するサービスキー                                |
| `group_name`      | string | No       | 結果を特定のグループに絞り込む                              |
| `start_timestamp` | string | Varies   | RFC 3339 形式の開始時刻 (例: `2023-01-01T00:00:00Z`) |
| `end_timestamp`   | string | Varies   | RFC 3339 形式の終了時刻 (例: `2023-12-31T23:59:59Z`) |

<div id="available-endpoints">
  ## 利用可能なエンドポイント
</div>

Analytics API (アナリティクス API) は、主に次の 3 つのエンドポイントを提供します。

1. **[User Page Analytics](/ja/windsurf/accounts/api-reference/user-page-analytics)** - Teams ページからユーザーのアクティビティデータを取得します
2. **[Cascade Analytics](/ja/windsurf/accounts/api-reference/cascade-analytics)** - Cascade 固有の利用状況メトリクスを照会します
3. **[Custom Analytics](/ja/windsurf/accounts/api-reference/custom-analytics)** - カスタム `selections`、フィルター、および集計を使った柔軟なクエリを実行します
