Skip to main content

Delete a prompt fragment

POST 

/api/v1/prompt-fragments/delete

Deletes the fragment.

Profiles that still include it are not rewritten, and rendering fails soft rather than erroring the turn: the system prompt is sent unrendered, so the literal {{template "id" .}} text reaches the model. Check what references a fragment before removing it.

Request

Responses

Fragment deleted