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

# List Templates

> List available workspace templates

<ParamField query="includeBuiltIn" type="boolean" default={true}>
  Include system built-in templates.
</ParamField>

<ParamField query="tags" type="string">
  Filter by tags (comma-separated).
</ParamField>

<ResponseField name="templates" type="array">
  Array of template objects.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://agentgate.mynewapi.com/v1/templates \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "templates": [
      {
        "id": "node-typescript-api",
        "name": "Node.js TypeScript API",
        "description": "Express API with TypeScript",
        "builtIn": true,
        "tags": ["node", "typescript", "api"]
      },
      {
        "id": "our-api-template",
        "name": "Our API Template",
        "description": "Standard API with our conventions",
        "builtIn": false,
        "tags": ["api", "internal"]
      }
    ]
  }
  ```
</ResponseExample>
