prompts
prompts

Create Prompt

Create a new prompt in the workspace.

post/api/prompts

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
  • Auth: none declared

Request body

namestring required
descriptionstring nullable
categorystring required
context_typestring[]
tagsstring[]
prompt_textstring required
auto_reply_rulesstring nullable
modelstring
cooldown_minutesinteger
max_per_dayinteger

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.