---
title: "GET /api/automation-rules/workflow-templates"
method: GET
path: "/api/automation-rules/workflow-templates"
tags: ["Automation Rules"]
---

# GET /api/automation-rules/workflow-templates

`GET /api/automation-rules/workflow-templates`

The catalog of actions a rule can fire, with each step's configuration schema. Creating a rule from a template copies its steps, so a later change to the template never alters a rule that is already attached. Render the Action panel from `steps[].configSchema` rather than hard-coding it.

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object[], required
    - `id` string, required
    - `key` string, required
    - `name` string, required
    - `description` string, required
    - `status` string, required
    - `steps` object[], required
      - `id` string, required
      - `stepIndex` integer, required
      - `stepKey` string, required
      - `stepType` string, required
      - `dependsOn` string[], required
      - `defaultConfig` object, required
      - `configSchema` object, required
        - `fields` object[], required
          - `key` string, required
          - `label` string, required
          - `hint` string
          - `type` 'reference' | 'boolean' | 'text' | 'number', required
          - `source` string
          - `required` boolean, required
          - `default` unknown
      - `runIf` string, required
      - `isGate` boolean, required
    - `requirements` object[], required
      - `key` string, required
      - `label` string, required
      - `sortOrder` integer, required
      - `severity` 'required' | 'recommended', required

## Other responses

- `401` — Default Response
- `403` — Default Response

---

[API](https://skmtc.net/retraced/apis/api-reference.md) · [All operations](https://skmtc.net/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/60d6c901bc4e/schema)
