---
title: "List task templates ('To start' bucket)"
method: GET
path: "/api/task-templates"
tags: ["Task Templates"]
---

# List task templates ('To start' bucket)

`GET /api/task-templates`

## Query parameters

- `category` string
- `kind` 'task' | 'workflow' | 'schedule'
- `query` string

## Response `200`

Task template list

- object
  - `templates` TaskTemplate[], required
    - `id` string, required
    - `title` string, required
    - `description` string, required
    - `prompt` string, required
    - `kind` 'task' | 'workflow' | 'schedule'
    - `payload` object
    - `category` string
    - `tags` string[]
    - `createdAt` string, required

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.net/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/desplega-ai/agent-swarm-api/versions/0375890be8c4/schema)
