Skip to content

Prompts

List prompts managed in Langfuse.

This example assumes using Langfuse; is in scope and apiKey contains your Langfuse API key.

1
2
3
4
5
using var client = new LangfuseClient(apiKey);

// List all prompts in your project.
var response = await client.Prompts.PromptsListAsync(
    limit: 10);