prompts-ddd
Admin - Prompts

Update Prompt

Update an existing prompt.

put/api/v1/intelligence/prompts/{prompt_id}

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/intelligence/prompts/{prompt_id}
  • Auth: none declared

Path parameters

prompt_idstring required

Headers

Authorizationstring

Request body

namestring nullable
descriptionstring nullable
categorystring nullable
system_promptstring nullable
user_prompt_templatestring nullable
subcategorystring nullable
model_preferencesobject nullable
parametersobject nullable
input_variablesstring[] nullable
output_formatobject nullable
statusstring nullable
is_defaultboolean nullable
test_inputsobject nullable
expected_outputsobject nullable

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.