Update this app's brain-generation config (structure/prompts/weights)
Partial update of the caller’s own generation config — whitelist only. Takes effect on the next brain generation; no Vault side-effects, no regen triggered.
Authorizations
API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Body
The self-serve subset of context-doc config an app may edit with its OWN credential. Excludes canonical_documents, demo/pretend, employee_domains, and digest flags — those are not customer-editable through this surface.
Per-tier document set — the custom prompt set. Mirrors the admin TreeStructureUpdate validation without coupling this router to the admin package.