prompts
prompts

Duplicate Prompt

Duplicate an existing prompt.

Can duplicate workspace's own prompt or system default (workspace_id=NULL). Use this to customize a system default for your workspace. When duplicating a system prompt, based_on_system_id is set to track the original.

post/api/prompts/{prompt_id}/duplicate

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/prompts/{prompt_id}/duplicate
  • Auth: none declared

Path parameters

prompt_idinteger required

Response

Successful Response

idinteger required
user_idinteger nullable required
namestring required
descriptionstring nullable required
categorystring required
context_typestring[] required
tagsstring[] required
prompt_textstring required
auto_reply_rulesstring nullable
modelstring required
cooldown_minutesinteger required
max_per_dayinteger required
advanced_settingsobject required
sort_orderinteger required
is_archivedboolean required
created_atstring required
updated_atstring required
is_systemboolean
is_customizedboolean
based_on_system_idinteger nullable
is_default_forstring[] nullable
assignment_countinteger

Changes

No recorded changes to this operation across all 5 revisions of this API.