Set which version of a prompt should be the default in get_prompt (latest).
POST/v1/prompts/:prompt_id/set-default-version
Set which version of a prompt should be the default in get_prompt (latest).
Request​
Responses​
- 200
- 400
- 429
- 500
- default
The prompt with the specified version now set as default.
The request was invalid or malformed
The client has sent too many requests in a given amount of time
The server encountered an unexpected error
An unexpected error occurred