Prompts

Upsert a prompt

Create or update a prompt by external ID.

post/prompts

Request

  • Base URL: https://api.savanto.ai
  • URL: https://api.savanto.ai/prompts
  • Auth: HTTP bearer

Request body

idstring
promptstring required
titlestring
descriptionstring
cannedResponsestring
responseFormat'markdown' | 'text' | 'html'
overrideMode'override' | 'fallback'
postIdsstring[]
productIdsstring[]
followUpIdsstring[]
tagsstring[]
categoriesstring[]
statusstring
priorityinteger
iconstring
activeFromstring
activeTostring
metadataobject

Response

Prompt upserted successfully

object'prompt' required
requestIdstring required

Changes

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