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

# List templates

> Retrieve all templates owned by your account via the Nedzo REST API. Filter by template type and visibility, with limit and offset pagination.

List templates owned by your account. Supports filtering by `templateType` and `visibility`, with pagination via `limit`/`offset`.

## Query Parameters

<ParamField query="templateType" type="string" optional>
  Filter by template type. One of `agent`, `workflow`, or `workspace`.
</ParamField>

<ParamField query="visibility" type="string" optional>
  Filter by visibility. One of `public` or `private`.
</ParamField>

<ParamField query="limit" type="integer" optional default="50">
  Maximum number of templates to return (1-100).
</ParamField>

<ParamField query="offset" type="integer" optional default="0">
  Number of templates to skip for pagination.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.nedzo.ai/v1/templates?templateType=agent&limit=10" \
      -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "Customer Onboarding Agent",
      "description": "A voice agent template for onboarding new customers",
      "templateType": "agent",
      "visibility": "private",
      "schemaVersion": "1.0.0",
      "snapshotSizeBytes": 15240,

      "createdAt": "2026-01-15T10:30:00Z",
      "updatedAt": "2026-01-15T10:30:00Z"
    }
  ]
  ```
</ResponseExample>
