PromptTemplates

Create or update a prompt template override

put/api/prompt-templates

Request body

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

Response

Upserted template

Changes

Changed in 2 of the 104 revisions of this API.123

  • d06bca6c3ff5121See the full diff
    • the response's property type changed from object to no type for status

      response-property-type-changed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

    • removed the required property / from the response with the status

      response-required-property-removed

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

      response-property-all-of-added

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

      response-media-type-added

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

      response-media-type-added