Prompts
Set labels on a prompt version
Set (replace) all labels on a prompt version. This is an idempotent operation. If a label already exists on another version of the same prompt, it will be moved to this version.
Labels not included in the request will be removed from this version.
<Note>This endpoint is in beta, read more here.</Note>
put/v2/prompt-versions/{version_id}/labels
Path parameters
version_idstring required
A universally unique identifier (base64-encoded opaque string).
Example:RW50aXR5OjEyMzQ1
The unique prompt version identifier (base64)
Request body
Response
A prompt version object