---
title: "Fetch Application Catalog Template"
method: GET
path: "/applications/catalog/templates/{template_key}"
tags: ["Applications"]
---

# Fetch Application Catalog Template

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

Fetch one application template by key.

Use this to inspect the exact `uri`, `data`, and JSON Schemas for a
template before creating an application from it. `template_key` comes
from the `key` field of a template returned by the list endpoint
(for example `completion`, `chat`, `hook`).

## Path parameters

- `template_key` string, required

## Response `200`

Successful Response

- ApplicationCatalogTemplateResponse — Single template response envelope.
  - `count` integer — `1` when found, `0` otherwise.
  - `template` ApplicationCatalogTemplate
    - `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

---

[API](https://skmtc.net/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.net/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/versions/2e1079696f45/schema)
