Updates an existing prompt version
Parameter | Type | Description |
---|---|---|
id | string | The ID of the prompt version to update |
Parameter | Type | Description |
---|---|---|
title | string | The title of the prompt version (max 256 characters) |
content | string | Plain text content of the prompt |
markdownContent | string | Markdown content of the prompt |
configuration | object | Configuration settings for the prompt version |
variables | array | An array of variable objects used in the prompt |
promoted | boolean | Whether this version is promoted |
draft | boolean | Whether this version is a draft |
messages | array/object | Messages for chat-type prompts |
Prompt version updated successfully
The response is of type object
.