---
title: "List automation templates"
method: GET
path: "/automation-templates"
tags: ["Automations"]
---

# List automation templates

`GET /automation-templates`

List the published Sazabi automation template catalog. Metadata only; template content (script bodies and prompts) is not exposed.

## Response `200`

OK

- object
  - `templates` object[], required — Published catalog entries, ordered by template group then id. The catalog is global Sazabi-owned data and small by design, so the list is unpaginated.
    - `id` string, required — Published template identifier, e.g. "status-page-github".
    - `templateGroup` string, required — Template group (catalog shelf) the entry sits on, independent of the entry's kind.
    - `kind` 'script' | 'signal', required — How an installed copy would run: script entries are bash checks on a cron schedule, signal entries fire an agent run when their match expression matches an ingested event.
    - `name` string, required — Template display name.
    - `description` string, required — Human-facing summary of what the template does.
    - `prerequisites` object[], required
      - `anyOf` object[], required
        - `kind` 'log_source' | 'mcp_connector' | 'sandbox_cli' | 'integration' | 'repository', required
        - `key` string, nullable, required
    - `inputSchema` object, required
    - `defaultCron` string, nullable, required — Default cron schedule the template ships with. Null for signal templates, which have no schedule.
    - `expression` string, nullable, required — Canonical match expression a signal template fires on. Null for script templates.
    - `version` integer, required — Catalog entry version, bumped when the content changes.
    - `publishedAt` string, date-time, required — When the entry was published to the catalog.

## Changes

- **2026-10-05** `b7c27d694271` — 2 info
  - added the required property `templates/items/inputSchema` to the response with the `200` status
  - added the required property `templates/items/prerequisites` to the response with the `200` status
- **2026-09-13** `8643734e7afb` — 1 breaking
  - removed the required property `templates/items/sourceKey` from the response with the `200` status
- **2026-09-12** `388b414baa87` — 3 info
  - removed the `investigate-source-events` enum value from the `templates/items/templateGroup` response property for the response status `200`
  - removed the `status-page-monitor` enum value from the `templates/items/templateGroup` response property for the response status `200`
  - the `templates/items/templateGroup` response's property pattern `^[a-z0-9]+(-[a-z0-9]+)*$` was added for the status `200`
- **2026-09-11** `228a2d74c294` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sazabi/apis/sazabi-public-api/changes/automation-templates/get.md)

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) · [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sazabi/apis/sazabi-public-api/revisions/88bb1e570de3?raw)
