update_prompt_labels
Replace labels on a specific prompt version in Langfuse to organize and categorize prompts for better management and tracking.
Instructions
Replaces the labels on a specific prompt version. newLabels completely replaces the existing label set on that version. The 'latest' label is reserved and managed by Langfuse — do not include it. Both promptName and version are required. newLabels is required — supply an empty string to remove all labels from this version.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| promptName | Yes | Prompt name (exact match). Required. | |
| version | Yes | Version number to update. Required. | |
| newLabels | Yes | Comma-separated new labels, e.g. production,staging. Supply empty string to remove all labels. |