Langfuse Prompt List
List all registered prompts and their label status.
Setup
Set the following environment variables before use:
| Variable | Required | Description |
|---|---|---|
LANGFUSE_PUBLIC_KEY | Yes | Langfuse public key |
LANGFUSE_SECRET_KEY | Yes | Langfuse secret key |
LANGFUSE_HOST or LANGFUSE_BASE_URL | No | Langfuse host URL (default: https://us.cloud.langfuse.com) |
When to Use
- Checking the prompt list
- Verifying label assignments
- "What prompts are available?"
Commands
Get Prompt List
npx tsx scripts/langfuse-prompt-list.ts
Output Example
Langfuse Prompts
================
Name Labels Version
-------------------------------------------------------------------------------------------------------------
answer-evaluation development v1
chat-system development, production v2
librarian-system development v1
thread-title (none) v1
Total: 16 prompts
Label Status
| Status | Description |
|---|---|
development only | In development, not released to production |
development, production | Released to production |
| No labels | Initial state, needs label assignment |