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

# リクエストテンプレート変数

> api-kind テンプレート用プレースホルダ。

**`GET`** `https://api-datahub.octoparse.com/v1/data-apps/template-variables`

認証：不要。匿名で呼び出し可能。

api-kind リクエストテンプレートが各ステージ（`url`/`query`/`headers`/`body`）で使えるプレースホルダ一覧。各変数に短い説明、描画例、利用可能ステージ。

公開パイプラインが検証に使う語彙と同じ。エディタやコーディング支援がずれたリストをコピーせず正確に提示できる。

## リクエスト

### リクエスト例

```bash theme={null}
curl   "https://api-datahub.octoparse.com/v1/data-apps/template-variables"
```

## レスポンス

### 200 成功

```json theme={null}
{
  "data": {
    "syntax": "Single curly braces; a placeholder should be the whole string value ("{input.keyword}"), except inside url where it may be embedded.",
    "variables": [
      {
        "name": "input.<field>",
        "description": "A caller-supplied input value; <field> must be a top-level property of input.schema.",
        "example": "wireless charger",
        "stages": ["submit", "status", "fetch"]
      },
      {
        "name": "env.<alias>",
        "description": "Value of a platform-side environment entry declared in runtime.env under <alias>.",
        "example": "https://api.example-upstream.com",
        "stages": ["submit", "status", "fetch"]
      }
    ]
  }
}
```

`syntax` はプレースホルダ構文。`variables[]` は name・description・example・stages。

## クライアントライブラリ

Python / JavaScript SDK はまだこのエンドポイントをラップしていません。REST を直接呼び出してください。
