apps
Approve a prompt template
Approves a proposed version (administrators only). Request guardrails then leave its constants unscored. Other approved versions of the same name are retired; an app has at most 10 approved templates. The body must carry the content_hash of the version reviewed, as GET returned it: a proposed version can change in place, and the approval is refused with 409 (title “Prompt Template Changed”) when it no longer matches. A request without it is a 400.
POST
Error
Authorizations
Body
application/json
The reviewed version's content_hash
Response
OK