---
title: "List Prompt Template"
method: GET
path: "/prompt/template/list"
tags: ["Prompt Management"]
---

# List Prompt Template

`GET /prompt/template/list`

## Endpoint to List All Prompt Templates
This endpoint lists all prompt templates.

***
## Response Body
```json
{
    "<template_name>": [
        {
            "version": <int>,
            "prompt_template": <str>
        }
    ]
}
```

***
#### Errors

- **500 Internal Server Error**: If there is an unexpected error during the listing of prompt templates.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.net/aws-samples/apis/generative-ai-foundational-platform-api.md) · [All operations](https://skmtc.net/aws-samples/apis/generative-ai-foundational-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/generative-ai-foundational-platform-api/versions/8831d08902e9/schema)
