---
title: "Fetch Workflow Catalog Template"
method: GET
path: "/workflows/catalog/templates/{template_key}"
tags: ["Workflows"]
---

# Fetch Workflow Catalog Template

`GET /workflows/catalog/templates/{template_key}`

Return a single workflow template by its key.

Returns `count=0` when the template is not found. Templates are global
metadata and are not scoped to a project.

See: [Workflows](/reference/api-guide/workflows).

## Path parameters

- `template_key` string, required

## Response `200`

Successful Response

- WorkflowCatalogTemplateResponse
  - `count` integer — `1` when the template is returned, `0` when not found.
  - `template` WorkflowCatalogTemplate
    - `name` string, nullable
    - `description` string, nullable
    - `key` string, required
    - `slug` string, nullable
    - `categories` string[], nullable
    - `flags` WorkflowCatalogFlags
      - `is_application` boolean
      - `is_evaluator` boolean
      - `is_snippet` boolean
      - `is_archived` boolean
      - `is_recommended` boolean
    - `data` WorkflowRevisionDataOutput
      - `uri` string, nullable
      - `url` string, nullable
      - `headers` object, nullable
      - `runtime` 'python' | 'typescript' | 'javascript', nullable
      - `script` string, nullable
      - `schemas` JsonSchemasOutput
        - `parameters` object, nullable
        - `inputs` object, nullable
        - `outputs` object, nullable
      - `parameters` object, nullable

## Other responses

- `422` — Validation Error

## Changes

> 359 revisions in range; 44 could not be searched.

- **2025-06-27** `e3e84db47198` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/workflows/catalog/templates/:template_key/get.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/713e4f3b7519/schema)
