Prompts
Set Version Environment
Set the environment for a specific prompt version
POST
Updates the environment for a specific prompt version. Environments can be “production”, “staging”, “development”, or any custom environment name.
Request Body
string
required
The unique identifier of the prompt
string
required
The unique identifier of the prompt version to update
string
required
The environment to set for this version (e.g., “production”, “staging”, “development”)
Response
Returnsnull on successful update.