list_prompts
Retrieve and filter prompts from a Langfuse project to manage versions, labels, tags, and metadata with pagination support.
Instructions
List and filter prompts in the project.
Returns metadata about prompts including versions, labels, tags, and last updated time.
Args:
ctx: Context object containing lifespan context with Langfuse client
name: Optional filter by exact prompt name
label: Optional filter by label on any version
tag: Optional filter by tag
page: Page number for pagination (starts at 1)
limit: Maximum items per page (max 100)
Returns:
A dictionary containing:
- data: List of prompt metadata objects
- metadata: Pagination info (page, limit, total)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Filter by exact prompt name | |
| label | No | Filter by label (e.g., 'production', 'staging') | |
| tag | No | Filter by tag | |
| page | No | Page number for pagination (starts at 1) | |
| limit | No | Items per page (max 100) |