Skip to content

Prompt Lab

scarecr0w12 edited this page Jun 19, 2026 · 1 revision

Prompt Lab

Design, version, test, and iterate on prompt templates. The Prompt Lab page provides a workspace for prompt engineering with version tracking and run recording.

Features

  • Template CRUD — create, edit, and save prompt templates with tags
  • Version tracking — auto-incremented version numbers on each save
  • Test runs — record prompt runs with model, input, output, and score
  • Run history — browse past runs filtered by template

API Endpoints

Method Path Description
GET /api/prompts?templateId= List templates and runs
POST /api/prompts Create template or record a run

Web UI

The Prompt Lab page has a two-panel layout:

  • Left panel — template list with name, version, and tags
  • Right panel — template editor with save/test buttons and recent run history

Navigate to Prompt Lab from the sidebar (🧪 icon).

Clone this wiki locally