POST
/
v1
/
prompt-2025
/
update
/
production-version
curl -X POST "https://api.helicone.ai/v1/prompt-2025/update/production-version" \
  -H "Authorization: Bearer $HELICONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "promptId": "prompt_123",
    "promptVersionId": "version_789"
  }'
null
Updates which version of a prompt is considered the production version. This affects which version is used when referencing the prompt without specifying a version.

Request Body

promptId
string
required
The unique identifier of the prompt
promptVersionId
string
required
The unique identifier of the prompt version to set as production

Response

Returns null on successful update.
curl -X POST "https://api.helicone.ai/v1/prompt-2025/update/production-version" \
  -H "Authorization: Bearer $HELICONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "promptId": "prompt_123",
    "promptVersionId": "version_789"
  }'
null