update_prompt_labels
Add labels to specific prompt versions in Langfuse to organize and track different iterations of your LLM prompts.
Instructions
Update labels for a specific prompt version.
This is the only supported mutation for existing prompts. Provided labels are added to the version (existing labels are preserved). Labels are unique across versions, and the 'latest' label is managed by Langfuse.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the prompt to update | |
| version | Yes | The prompt version to update | |
| labels | Yes | Labels to add to this version (can be empty to add none). Existing labels are preserved; labels are unique across versions. |