---
title: "Get prompt template defaults"
method: GET
path: "/api/prompt-defaults"
tags: ["Configuration"]
---

# Get prompt template defaults

`GET /api/prompt-defaults`

Returns the built-in default prompt templates from the Go backend. Used by the frontend settings UI to populate prompt editors and power the 'Reset to Default' button. The Go backend is the single source of truth for prompt defaults.

## Response `200`

Default prompt templates

- PromptDefaults — Built-in default prompt templates from the Go backend
  - `defaultSystemPrompt` string, required — Default system prompt sent to the LLM for all conversations
  - `investigationPrompt` string, required — Default template for alert investigation workflows (supports {{.AlertName}} variable)
  - `performancePrompt` string, required — Default template for performance analysis workflows (supports {{.Target}} variable)

## Other responses

- `405` — Method not allowed (only GET is supported)

---

[API](https://skmtc.net/consensys/apis/ask-o11y-ai-powered-observability-assistant-api.md) · [All operations](https://skmtc.net/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/consensys/ask-o11y-ai-powered-observability-assistant-api/versions/3ccc03eccaef/schema)
