---
title: "List of dataset templates"
method: GET
path: "/connectors/youtube_analytics/templates"
tags: ["connectors.youtube_analytics"]
---

# List of dataset templates

`GET /connectors/youtube_analytics/templates`

## Request

- Base URL: `https://headless.dataddo.com/customer-api/v1`
- URL: `https://headless.dataddo.com/customer-api/v1/connectors/youtube_analytics/templates`
- Auth: none declared

## Response `200`

List of dataset templates

- ConnectorTemplateListResource: The dataset templates available for a connector. `connector_id` and `connectorId` were both already in the payload before this resource existed; the camelCase one is now formally deprecated rather than silently duplicated. `ui_type` is already snake_case there, so the name converter reproduces it exactly and it needs no alias. `sourceName` duplicates `label` and the loader marks it for removal once the UI stops reading it, so it keeps its camelCase spelling instead of gaining a snake_case one it would never outlive.
  - `connector_id` string
  - `sourceName` string: Deprecated duplicate of `label`.
  - `label` string
  - `templates` ConnectorTemplateListItemResource[]
    - `name` string
    - `description` string
    - `template_id` string
    - `attributes` ConnectorTemplateSchemaColumnResource[]: Dataset schema reduced to what the picker needs.
      - `key` string
      - `type` 'string' | 'date' | 'integer' | 'float' | 'boolean' | 'json' | 'timestamp_ms' | 'decimal' | 'timestamp_tz'
      - `label` string
      - `description` string
      - `sensitive` boolean
      - `in_dataddo_hash` boolean
      - `nullable` boolean
      - `foreign_key` string
      - `format` string, nullable
      - `inDataddoHash` boolean
      - `foreignKey` string
    - `image` string
    - `tags` string[]
    - `templateId` string
  - `ui_type` 'dataset' | 'carousel' | 'redirect'
  - `icon_url` string
  - `connectorId` string
  - `iconUrl` string

---

[API](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api.md) · [All operations](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataddo/apis/dataddo-headless-beta-api/revisions/dcfa2345bd10?raw)
