---
title: "Returns all labels in a template"
method: GET
path: "/label/templates/{name}"
tags: ["miscellaneous"]
---

# Returns all labels in a template

`GET /label/templates/{name}`

## Path parameters

- `name` string, required

## Response `200`

LabelTemplateInfo

- LabelTemplate[]
  - `color` string
  - `description` string — Description provides additional context about the label template's purpose
  - `exclusive` boolean
  - `name` string — Name is the display name of the label template

## Other responses

- `404` — APINotFound is a not found empty response

---

[API](https://skmtc.net/gitea/apis/gitea-api.md) · [All operations](https://skmtc.net/gitea/apis/gitea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitea/gitea-api/versions/350de506cefa/schema)
