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

# GET /api/automation-rules/workflows

`GET /api/automation-rules/workflows`

This company's configured workflows — each one a copy of a template plus the answers it was created with. A rule attaches one of these by id, and several rules can share the same workflow.

## Query parameters

- `templateKey` string

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object[], required
    - `id` string, required
    - `workflowTemplateId` 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
      - `config` object, required
      - `runIf` string, required
      - `isGate` boolean, required
    - `requirements` object[], required
      - `key` string, required
      - `label` string, required
      - `sortOrder` integer, required
      - `severity` 'required' | 'recommended', required
    - `createdAt` string, 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)
