curl -X POST "https://api.helicone.ai/v1/prompt-2025/id/prompt_123/rename" \
-H "Authorization: Bearer $HELICONE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Customer Support Bot"
}'
const response = await fetch('https://api.helicone.ai/v1/prompt-2025/id/prompt_123/rename', {
method: 'POST',
headers: {
'Authorization': `Bearer ${HELICONE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: "Updated Customer Support Bot"
}),
});
null
Prompts
Rename Prompt
Rename an existing prompt
POST
/
v1
/
prompt-2025
/
id
/
{promptId}
/
rename
curl -X POST "https://api.helicone.ai/v1/prompt-2025/id/prompt_123/rename" \
-H "Authorization: Bearer $HELICONE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Customer Support Bot"
}'
const response = await fetch('https://api.helicone.ai/v1/prompt-2025/id/prompt_123/rename', {
method: 'POST',
headers: {
'Authorization': `Bearer ${HELICONE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: "Updated Customer Support Bot"
}),
});
null
Updates the name of an existing prompt.
Path Parameters
Request Body
Response
Returnsnull on successful rename.
curl -X POST "https://api.helicone.ai/v1/prompt-2025/id/prompt_123/rename" \
-H "Authorization: Bearer $HELICONE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Customer Support Bot"
}'
const response = await fetch('https://api.helicone.ai/v1/prompt-2025/id/prompt_123/rename', {
method: 'POST',
headers: {
'Authorization': `Bearer ${HELICONE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
name: "Updated Customer Support Bot"
}),
});
null
Was this page helpful?