> ## 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를 직접 호출하세요.
