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"
  }'
null
Updates the name of an existing prompt.

Path Parameters

promptId
string
required
The unique identifier of the prompt to rename

Request Body

name
string
required
The new name for the prompt

Response

Returns null 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"
  }'
null