Configuration

Get prompt template 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.

get/api/prompt-defaults

Request

  • Base URL
    /api/plugins/consensys-asko11y-app/resources (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    • API key in cookie grafana_session
    • or HTTP bearer

Response

Default prompt templates

defaultSystemPromptstring required

Default system prompt sent to the LLM for all conversations

investigationPromptstring required

Default template for alert investigation workflows (supports {{.AlertName}} variable)

performancePromptstring required

Default template for performance analysis workflows (supports {{.Target}} variable)

Changes

No recorded changes to this operation across all 12 revisions of this API.