Skip to main content

Update a prompt fragment

POST 

/api/v1/prompt-fragments/update

Partial update via update_mask, same semantics as profile update. The change is visible to every profile that includes this fragment on their next turn, and bumps the project-wide fragment-set version.

Request

Responses

Fragment updated; the new stored record is echoed back