prompts

Api Generate Prompt

post/v1/prompts/{application_id}/{prompt_id}/generate

Request

  • Base URL: https://api.branchly.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.branchly.io/v1/prompts/{application_id}/{prompt_id}/generate
  • Auth: HTTP bearer

Path parameters

application_idstring uuid required
prompt_idstring uuid required

Request body

promptstring required

The base prompt to build upon

Example request

{
  "prompt": "\nMy Company is: {{company description}}\n\nMy company's website: {{company website URL}}\n\nThe use case for the AI is: {{use case}}\n\nTopics the AI should be able to handle and reply to: {{topics to include}}\n\nTopics the AI should not answer: {{topics to exclude}}\n\nThe AI should reply in this format: {{output format instructions}}\n\nOther special Instructions: {{special instructions}}\n"
}

Response

Successful Response

updated_promptstring required

The updated prompt with instructions.

previous_promptstring required

The previous prompt before updating.

Changes

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