> ## 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.

# Request template variables

> List placeholders available to api-kind app request templates.

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

Authentication: none. Anonymous access allowed.

Lists placeholders that api-kind request templates may use in each stage (`url` / `query` / `headers` / `body`). Every variable includes a short description, a render example, and the stages where it is available.

This is the same vocabulary the publish pipeline validates against, so editors and coding assistants can prompt accurately without copying a list that drifts.

## Request

### Example request

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

## Response

### 200 success

```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` describes placeholder syntax. `variables[]` lists each name, description, example value, and available stages.

## Client libraries

The Python and JavaScript SDKs do not wrap this endpoint yet. Call REST directly.
