Update a prompt fragment
POST/api/v1/prompt-fragments/update
Partially updates a fragment via updateMask,
using the mask semantics of profile update.
The change reaches every profile that includes this fragment on its next turn and increments the project-wide fragment-set version. There is no per-profile rollout.
Request
Responses
- 200
Fragment updated; the new stored record is echoed back
Document ID: DOC-MA-profiles-prompts-api-updatePromptFragment. Section identities and revisions.
| Section | Stable reference |
|---|---|
| Overview | DOC-MA-profiles-prompts-api-updatePromptFragment#overview |
| Request | DOC-MA-profiles-prompts-api-updatePromptFragment#request |
| Responses | DOC-MA-profiles-prompts-api-updatePromptFragment#responses |