Prompts
Restore prompt version
Changed onRestore a prompt version by creating a new version with the content from the specified version
post/v1/private/prompts/{promptId}/versions/{versionId}/restore
Request
- Base URLhttp://localhost:5173/api
- URLhttp://localhost:5173/api/v1/private/prompts/{promptId}/versions/{versionId}/restore
- Authnone declared
Path parameters
promptIdstring uuid required
versionIdstring uuid required
Response
OK
Changes
- info
added the optional property
to the response with the status
- info
- warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status
- warning