Athena
Templates

List available pipeline templates

Returns named pipeline templates merged from boot YAML and database-backed runtime templates.

GET
/pipelines/templates

Header Parameters

X-Athena-Client*string

Response Body

application/json

curl -X GET "https://athena-cluster.com/pipelines/templates" \  -H "X-Athena-Client: string"
{
  "templates": [
    {
      "name": "string",
      "source_table": "string",
      "sink_table": "string",
      "has_transform": true,
      "source": "yaml",
      "mutable": true,
      "source_client": "string",
      "sink_client": "string",
      "definition": {
        "source": {
          "table_name": "string",
          "view_name": "string",
          "columns": [
            "string"
          ],
          "conditions": [
            {
              "eq_column": "string",
              "eq_value": "string"
            }
          ],
          "limit": 0,
          "client": "string"
        },
        "transform": {
          "group_by": "string",
          "time_granularity": "day",
          "aggregation_column": "string",
          "aggregation_strategy": "string",
          "aggregation_dedup": true,
          "column_aliases": {
            "property1": "string",
            "property2": "string"
          }
        },
        "sink": {
          "table_name": "string",
          "client": "string"
        }
      }
    }
  ]
}
Empty