curl --request POST \
--url https://api.helicone.ai/v1/prompt/version/{promptVersionId}/edit-label \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"label": "<string>"
}'
{
"data": {
"metadata": {}
}
}
Modify the label of a specific prompt version
curl --request POST \
--url https://api.helicone.ai/v1/prompt/version/{promptVersionId}/edit-label \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--data '{
"label": "<string>"
}'
{
"data": {
"metadata": {}
}
}
Ok
The response is of type object
.
Was this page helpful?