---
title: "List template categories"
method: GET
path: "/api/v1/templates/categories"
tags: ["Templates"]
deprecated: true
---

# List template categories

`GET /api/v1/templates/categories`

## Request

- Base URL: `https://agent.getaxonflow.com`
- URL: `https://agent.getaxonflow.com/api/v1/templates/categories`
- Auth: none declared. Required headers: `X-Tenant-ID`
- TypeScript: <https://skmtc.dev/getaxonflow/apis/axonflow-policy-management-api/docs/api/v1/templates/categories/get.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Retrieve all available template categories

## Headers

- `X-Tenant-ID` string, required

## Response `200`

List of categories

- object
  - `categories` string[]

## Other responses

- `401`: Missing or invalid tenant ID
- `500`: Internal server error

---

[API](https://skmtc.dev/getaxonflow/apis/axonflow-policy-management-api.md) - [All operations](https://skmtc.dev/getaxonflow/apis/axonflow-policy-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaxonflow/apis/axonflow-policy-management-api/revisions/302fbde24320?raw)
