---
title: "List function templates"
method: GET
path: "/templates"
tags: ["Templates"]
---

# List function templates

`GET /templates`

List approved Function templates available for browsing and installation. Results are cacheable and paginated with `data.next_cursor`.

## Query parameters

- `q` string
- `tag` string
- `cursor` string
- `limit` integer

## Response `200`

Paginated template registry summaries.

- object
  - `success` true, required
  - `data` object, required
    - `items` object[], required
      - `id` string, uuid, required
      - `slug` string, required — Stable template slug used in template URLs and install commands.
      - `title` string, required
      - `summary` string, required
      - `author` object, required
        - `id` string, required
        - `name` string, required
        - `url` string, uri
      - `tags` string[], required
      - `verified` boolean, required
      - `install_count` integer, required
      - `github_repo` string, required — GitHub repository in owner/repo form.
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
    - `next_cursor` string, nullable, required — Cursor to pass as the next `cursor` query value, or null when there are no more templates.

## Other responses

- `400` — Invalid request parameters
- `429` — Rate limit exceeded

---

[API](https://skmtc.dev/primitive/apis/primitive-api.md) · [All operations](https://skmtc.dev/primitive/apis/primitive-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/primitive/primitive-api/revisions/c2299d28022c/schema)
