model-hub

Create a draft version of the PromptTemplate and return its details.

post/model-hub/prompt-templates/create-draft/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/model-hub/prompt-templates/create-draft/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

idstring uuid
namestring required
descriptionstring nullable
variable_namesobject nullable
organizationstring uuid nullable
prompt_folderstring uuid nullable
placeholdersobject nullable
created_bystring uuid nullable

Response

Created

idstring uuid
namestring required
descriptionstring nullable
variable_namesobject nullable
organizationstring uuid nullable
prompt_folderstring uuid nullable
placeholdersobject nullable
created_bystring uuid nullable

Changes

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