---
title: "List all registered event types with their available variables"
method: GET
path: "/api/prompt-templates/events"
tags: ["PromptTemplates"]
---

# List all registered event types with their available variables

`GET /api/prompt-templates/events`

## Response `200`

List of event template definitions

- object
  - `events` object[], required
    - `eventType` string, required
    - `header` string, required
    - `defaultBody` string, required
    - `variables` object[], required
      - `name` string, required
      - `description` string, required
      - `example` string
    - `category` 'event' | 'system' | 'common' | 'task_lifecycle' | 'session', required

## Changes

- **2026-08-07** `06cac6a7c5bc` — 1 info
  - added the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/changes/api/prompt-templates/events/get.md)

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/4d23bb3d853c?raw)
