---
title: "GET /model-hub/prompt-labels/template-labels/"
method: GET
path: "/model-hub/prompt-labels/template-labels/"
tags: ["model-hub"]
---

# GET /model-hub/prompt-labels/template-labels/

`GET /model-hub/prompt-labels/template-labels/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/prompt-labels/template-labels/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

List versions with labels for a template by name or id.

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

OK

- object
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` PromptLabel[], required
    - `id` string, uuid
    - `organization` string, uuid
    - `name` string, required
    - `type` 'system' | 'custom', required
    - `metadata` object, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
