Prompts
✨ Duplicate a prompt version
Changed onDuplicate an existing version, optionally overriding the model/connection.
post/api/prompts/{prompt_id}/versions/{version_id}/duplicate
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/api/prompts/{prompt_id}/versions/{version_id}/duplicate
- AuthAPI key in header Authorization
Path parameters
prompt_idinteger required
version_idinteger required
Request body
Response
Changes
- warning
removed the request property
(media type: application/json) - warning
removed the request property
(media type: application/x-www-form-urlencoded) - warning
removed the request property
(media type: multipart/form-data) - info
the response optional property
became read-only for the status - info
the response property
became required for the status
- warning
- breaking
the response property
/////became nullable for the status - breaking
the response property
became nullable for the status - breaking
the
response's property type changed fromstringtonumber, and format from no format todoublefor status
- breaking