---
title: "DEPRECATED Get automated recipe template detail"
method: GET
path: "/api/v3/automated-recipe-templates/{template_id}/"
tags: ["Recipes"]
deprecated: true
---

# DEPRECATED Get automated recipe template detail

`GET /api/v3/automated-recipe-templates/{template_id}/`

## Request

- Base URL: `https://embedded.improvado.io`
- URL: `https://embedded.improvado.io/api/v3/automated-recipe-templates/{template_id}/`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `dts_session_id`
- TypeScript: <https://skmtc.dev/improvado/apis/improvado-embedded-api-v3/docs/api/v3/automated-recipe-templates/:template_id/get.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Deprecated: use [`GET /api/v3.1/automated-recipe-templates/{template_id}/`](/api/automated-recipes#get-a-recipe-template). This version stays available until it is switched off; see [Moving recipes to v3.1](/recipes-migration).

When the recipes service fails, this version answers `500` with an HTML page, and an error in the `4xx` range can arrive with a body that is not JSON. It also repeats the request to the recipes service up to three times, create included, so a create can run twice. v3.1 does neither: every error is `{code, message, details}`, and a request is repeated only when it provably never reached the service.

Returns detailed information about a specific automated recipe template, including its tree structure and dependencies.

## Path parameters

- `template_id` integer, required

## Response `200`

Automated recipe template details

- AutomatedRecipeTemplateDetail: Detailed automated recipe template with tree structure
  - `id` integer: Template ID
  - `title` string: Template title
  - `description` string: Template description
  - `data_sources` AutomatedRecipeTemplateDataSource[]: List of data sources used by this template
    - `name` string: Data source identifier
    - `title` string: Data source display name
  - `level` integer: Depth of this template in its own tree; 0 for a template you can deploy
  - `children` AutomatedRecipeTemplateTreeNode[]: Templates this one depends on, nested recursively. A recipe created from this template builds every node in the tree.
    - `id` integer: Template ID
    - `title` string: Template title
    - `level` integer: Depth in the tree, 0 for the template you requested
    - `parent_id` integer: Parent template ID. Present on every node inside `children`; the root object of the detail response carries no `parent_id` key at all.
    - `children` AutomatedRecipeTemplateTreeNode[]: Direct children of this node, nested recursively to any depth
  - `output_columns` AutomatedRecipeTemplateOutputColumn[], nullable: Schema of the table this template produces, available before you deploy anything. `null` when the template's output schema cannot be read - treat it as "unknown", not as "no columns".
    - `name` string: Column name in the output table
    - `type` 'string' | 'number' | 'bool' | 'date' | 'datetime': Physical column type
    - `user_kind` 'dimension' | 'metric' | 'date_key': How the column is used in reporting. Derived from `type`: string and datetime are dimensions, number and bool are metrics, date is the date key.
  - `dependencies_count` integer: Number of dependencies in the template
  - `created_at` string, date-time: Template creation timestamp
  - `updated_at` string, date-time: Template last update timestamp

## Other responses

- `401`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/improvado/apis/improvado-embedded-api-v3.md) - [All operations](https://skmtc.dev/improvado/apis/improvado-embedded-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/improvado/apis/improvado-embedded-api-v3/revisions/a881099bd6c4?raw)
