PromptTemplates

Create or update a prompt template override

Changed on
put/api/prompt-templates

Request

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/prompt-templates
  • Auth
    HTTP bearer

Request body

eventTypestring required
scope'global' | 'agent' | 'repo'
scopeIdstring
state'enabled' | 'default_prompt_fallback' | 'skip_event'
bodystring required
changedBystring
changeReasonstring

Response

Upserted template

Changes

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • info

      added subschema #2 to the response property allOf list for the response status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status